SAP ABAP Class CL_SWF_BRR_RULE_PERSISTENCE (Loading and Saving of Rules)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-XI-IS-BPE (Application Component) Business Process Engine
⤷
SWF_BRR (Package) Business Rule Repository

⤷

⤷

Properties
Class | CL_SWF_BRR_RULE_PERSISTENCE | |
Short Description | Loading and Saving of Rules | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SWF_BRR | Business Rule Repository |
Created | 20030722 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SWF_BRR_RULE_PERSISTENCE has no interface implemented.
Friends
Class CL_SWF_BRR_RULE_PERSISTENCE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | 'C' | Cascaded: Initially Dependent, then Independent | 20051108 | |
2 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR1 | 'D' | Operation: 'Delete' | 20030723 | |
3 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR1 | 'I' | Operation: 'Insert' | 20030723 | |
4 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'SWF_BRR_001' | Name of Separate Message Class | 20030723 | |
5 | ![]() |
Static Attribute | Private | Type reference (TYPE) | LOGSYS | Logical System Name | 20030723 | ||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_HASHED_OPERATIONS | Regel-ID and Operation to Be Executed | 20030722 | ||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_RULE_BUFFER_TAB | Rules to be Inserted/Changed | 20030723 | ||
8 | ![]() |
Static Attribute | Private | Type reference (TYPE) | SWF_T100MS | T-100 Message (Use in Error Macros) | 20030723 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | Insert Rule Data in DB Format in Buffer | 20030723 |
2 | ![]() |
Instance method | Public | Method | Reject Buffered SAVE/DELETE Operations | 20030723 |
3 | ![]() |
Instance method | Private | Method | Insert Rule Data in DB Format in Buffer | 20030723 |
4 | ![]() |
Instance method | Private | Method | Insert Rule Data in DB Format in Buffer | 20030723 |
5 | ![]() |
Instance method | Public | Method | Executed Buffered SAVE/DELETE Operation on DB | 20030723 |
6 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20030723 |
7 | ![]() |
Instance method | Public | Constructor | Constructor | 20030722 |
8 | ![]() |
Instance method | Public | Method | Delete Rule (System) with All Components in BRR | 20030722 |
9 | ![]() |
Instance method | Public | Method | Delete Multiple Rules | 20030722 |
10 | ![]() |
Instance method | Public | Method | Get Number of Buffered Operations | 20030722 |
11 | ![]() |
Static method | Private | Method | Set Change Data | 20030723 |
12 | ![]() |
Static method | Private | Method | Set Change Data for Generation | 20030723 |
13 | ![]() |
Instance method | Public | Method | Load Rule (System) Using BRR ID | 20030722 |
14 | ![]() |
Instance method | Public | Method | Load Multiple Rules | 20030722 |
15 | ![]() |
Instance method | Private | Method | Construct Rule Object from Database Structures | 20030722 |
16 | ![]() |
Instance method | Private | Method | Transfer Rule Object to Database Structures | 20030722 |
17 | ![]() |
Instance method | Public | Method | Save Rule (System) in BRR | 20030722 |
18 | ![]() |
Instance method | Public | Method | Save Multiple Rules | 20030722 |
Events
Class CL_SWF_BRR_RULE_PERSISTENCE has no event.
Types
Class CL_SWF_BRR_RULE_PERSISTENCE has no local type.
Method Signatures
Method BUFFER_DELETE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RULE_ID | Call by reference | Type reference (TYPE) | SWFRULEID | Eindeutige physikalische Kennung der Regel | 20030723 |
Method BUFFER_DELETE on class CL_SWF_BRR_RULE_PERSISTENCE has no exception.
Method BUFFER_DISCARD Signature
Method BUFFER_DISCARD on class CL_SWF_BRR_RULE_PERSISTENCE has no parameter.
Method BUFFER_DISCARD on class CL_SWF_BRR_RULE_PERSISTENCE has no exception.
Method BUFFER_INSERT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CLIENT_DEPENDENT | Call by reference | Type reference (TYPE) | XFLAG | 'X' - Mandantenabhängig (aktueller Mandant) | 20051108 | ||
2 | ![]() |
RULE_HEADER | Call by reference | Type reference (TYPE) | BRR_HEADER | Kopfdaten der Regel | 20030723 |
Method BUFFER_INSERT on class CL_SWF_BRR_RULE_PERSISTENCE has no exception.
Method BUFFER_READ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CLIENT_STRATEGY | Call by reference | Type reference (TYPE) | CHAR1 | MC_CASCADED | Kaskadiert / mandantenabhängig / mandantenunabhängig | 20051108 | |
2 | ![]() |
RULE_HEADER | Call by reference | Type reference (TYPE) | BRR_HEADER | Kopfdaten der Regel | 20030723 | ||
3 | ![]() |
RULE_ID | Call by reference | Type reference (TYPE) | SWFRULEID | Physikalische ID der Regel | 20030723 |
Method BUFFER_READ on class CL_SWF_BRR_RULE_PERSISTENCE has no exception.
Method BUFFER_TO_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IN_UPDATE_TASK | Call by reference | Type reference (TYPE) | XFLAG | SPACE | ' ' - Schreibt synchron, 'X' - Schreibt in der Verbuchung | 20030723 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler bei BRR-Datenbankoperation | 20030723 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_SWF_BRR_RULE_PERSISTENCE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SWF_BRR_RULE_PERSISTENCE has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SWF_BRR_RULE_PERSISTENCE has no parameter.
Method CONSTRUCTOR on class CL_SWF_BRR_RULE_PERSISTENCE has no exception.
Method DELETE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CLIENT_STRATEGY | Call by reference | Type reference (TYPE) | CHAR1 | MC_CASCADED | Kaskadiert / mandantenabhängig / mandantenunabhängig | 20051108 | |
2 | ![]() |
RULE | Call by reference | Object reference (TYPE REF TO) | IF_SWF_RLS_RULE | Regelobjekt | 20030722 | ||
3 | ![]() |
VIA_BUFFER | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 'X' - puffern, DB-operation erst bei 'commit_buffer' | 20030722 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler bei BRR-Datenbankoperation | 20030722 |
Method DELETE_MANY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ERROR_IDS | Call by reference | Type reference (TYPE) | SWFRULEIDS | ID's der nicht speicherbaren Regeln | 20030722 | ||
2 | ![]() |
FAULT_TOLERANT | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 'X' - kein Raise bei Fehler, ' ' - Abbruch bei Fehler | 20030722 | |
3 | ![]() |
RULE_IDS | Call by reference | Type reference (TYPE) | SWFRULEIDS | Physikalische IDs der Regeln | 20030722 | ||
4 | ![]() |
VIA_BUFFER | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 'X' - puffern, DB-operation erst bei 'commit_buffer' | 20030722 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler bei BRR-Datenbankoperation | 20030722 |
Method GET_BUFFER_COUNT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
NUM_DELETES | Call by reference | Type reference (TYPE) | INT4 | Anzahl Lösch-Operationen | 20030722 | ||
2 | ![]() |
NUM_INSERTS | Call by reference | Type reference (TYPE) | INT4 | Anzahl Einfüge-Operationen | 20030722 | ||
3 | ![]() |
NUM_OPERATIONS | Call by reference | Type reference (TYPE) | INT4 | Anzahl gepufferter Operationen | 20030722 |
Method GET_BUFFER_COUNT on class CL_SWF_BRR_RULE_PERSISTENCE has no exception.
Method INITIALIZE_CHANGE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HEADER | Call by reference | Type reference (TYPE) | BRR_HEADER | Header, dessen Erzeugungsdaten gesetzt werden sollen | 20030723 |
Method INITIALIZE_CHANGE_DATA on class CL_SWF_BRR_RULE_PERSISTENCE has no exception.
Method INITIALIZE_CREATION_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HEADER | Call by reference | Type reference (TYPE) | BRR_HEADER | Header, dessen Erzeugungsdaten gesetzt werden sollen | 20030723 |
Method INITIALIZE_CREATION_DATA on class CL_SWF_BRR_RULE_PERSISTENCE has no exception.
Method LOAD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CLIENT_STRATEGY | Call by reference | Type reference (TYPE) | CHAR1 | MC_CASCADED | Kaskadiert / mandantenabhängig / mandantenunabhängig | 20051108 | |
2 | ![]() |
RULE | Call by reference | Object reference (TYPE REF TO) | IF_SWF_RLS_RULE | Regelobjekt | 20030722 | ||
3 | ![]() |
RULE_ID | Call by reference | Type reference (TYPE) | SWFRULEID | Physikalische ID der Regel | 20030722 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler bei BRR-Datenbankoperation | 20030722 |
Method LOAD_MANY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ERROR_IDS | Call by reference | Type reference (TYPE) | SWFRULEIDS | ID's der nicht ladbaren Regeln | 20030722 | ||
2 | ![]() |
FAULT_TOLERANT | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 'X' - kein Raise bei Fehler, ' ' - Abbruch bei Fehler | 20030722 | |
3 | ![]() |
RULES | Call by reference | Type reference (TYPE) | SWFRULETAB | Tabelle mit Regelinstanzen | 20030722 | ||
4 | ![]() |
RULE_IDS | Call by reference | Type reference (TYPE) | SWFRULEIDS | Physikalische IDs der Regeln | 20030722 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler bei BRR-Datenbankoperation | 20030722 |
Method RULE_FROM_DB_FORMAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HEADER | Call by reference | Type reference (TYPE) | BRR_HEADER | Regel-Headerdaten | 20030722 | ||
2 | ![]() |
RULE | Call by reference | Object reference (TYPE REF TO) | IF_SWF_RLS_RULE | Regelobjekt | 20030722 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Regel kann nicht instanziert werden | 20030722 |
Method RULE_TO_DB_FORMAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HEADER | Call by reference | Type reference (TYPE) | BRR_HEADER | Regel-Headerdaten | 20030722 | ||
2 | ![]() |
RULE | Call by reference | Object reference (TYPE REF TO) | IF_SWF_RLS_RULE | Regelobjekt | 20030722 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler bei BRR-Datenbankoperation | 20030723 |
Method SAVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CLIENT_DEPENDENT | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 'X' - mandantenabhängig (aktueller Mantant) speichern | 20051108 | |
2 | ![]() |
RULE | Call by reference | Object reference (TYPE REF TO) | IF_SWF_RLS_RULE | Regelobjekt | 20030722 | ||
3 | ![]() |
VIA_BUFFER | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 'X' - puffern, DB-operation erst bei 'commit_buffer' | 20030722 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler bei BRR-Datenbankoperation | 20030722 |
Method SAVE_MANY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CLIENT_DEPENDENT | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 'X' - mandantenabhängig (aktueller Mantant) speichern | 20051108 | |
2 | ![]() |
ERROR_IDS | Call by reference | Type reference (TYPE) | SWFRULEIDS | ID's der nicht speicherbaren Regeln | 20030722 | ||
3 | ![]() |
FAULT_TOLERANT | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 'X' - kein Raise bei Fehler, ' ' - Abbruch bei Fehler | 20030722 | |
4 | ![]() |
RULES | Call by reference | Type reference (TYPE) | SWFRULETAB | Tabelle mit Regelinstanzen | 20030722 | ||
5 | ![]() |
VIA_BUFFER | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 'X' - puffern, DB-operation erst bei 'commit_buffer' | 20030722 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler bei BRR-Datenbankoperation | 20030722 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 640 |