SAP ABAP Class CL_WER_CONDITION (Adapter for IF_FDT_AND_OR implementors)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-MD-MM (Application Component) Material Master
⤷
WER_BUSINESS (Package) Business Layer
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_WER_RULE_ELEMENT | Rule Engine rule element | 20060920 |
Properties
| Class | CL_WER_CONDITION | |
| Short Description | Adapter for IF_FDT_AND_OR implementors | |
| Super Class | CL_WER_RULE_ELEMENT | Rule Engine rule element |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WER_BUSINESS | Business Layer |
| Created | 20060920 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_WER_CONDITION has no interface implemented.
Friends
Class CL_WER_CONDITION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_FDT_BOOLEAN | FDT: Boolean Logic | 20100111 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | WER_CONDITION_EXPRESSION_TTY | List of condition expressions | 20060920 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Insert a rule element (expression or condition) | 20061005 | |
| 2 | Instance method | Public | Method | Insert and expression | 20061024 | |
| 3 | Instance method | Public | Method | Verify if a rule element can be added to the condition | 20061005 | |
| 4 | Static method | Public | Method | Check if a type can be used in a condition | 20061023 | |
| 5 | Instance method | Public | Constructor | 20060920 | ||
| 6 | Instance method | Public | Method | Delete a sub rule element | 20061005 | |
| 7 | Instance method | Public | Method | Returns the expressions | 20060920 | |
| 8 | Instance method | Public | Method | Returns the operator | 20060920 | |
| 9 | Instance method | Public | Method | Sets the inversion flag for a rule element | 20061006 | |
| 10 | Instance method | Public | Method | Returns true if the rule element is inverted | 20061006 | |
| 11 | Instance method | Private | Method | get the condition expressions (FDT) | 20060920 | |
| 12 | Instance method | Public | Method | Move a rule element down a rank | 20070219 | |
| 13 | Instance method | Public | Method | Move a rule element first | 20070219 | |
| 14 | Instance method | Public | Method | Move a rule element last | 20070219 | |
| 15 | Instance method | Public | Method | Move a rule element up a rank | 20070219 | |
| 16 | Instance method | Public | Method | Sets the condtion operator (FDT) | 20060920 | |
| 17 | Instance method | Private | Method | Validate and save the condition expressions (FDT) | 20061006 |
Events
Class CL_WER_CONDITION has no event.
Types
Class CL_WER_CONDITION has no local type.
Method Signatures
Method ADD_RULE_ELEMENT_BY_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_INVERT | Call by reference | Type reference (TYPE) | WER_BOOL | CL_WER_CONST=>C_FALSE | Expression name used as key field | 20061005 | ||
| 2 | I_REFERENCE | Call by reference | Type reference (TYPE) | WER_RULE_ELEMENT_ID | Rule element id | 20061005 | |||
| 3 | RR_REF_CLONE | Value transfer | Object reference (TYPE REF TO) | IF_WER_RULE_ELEMENT | Rule element | 20061005 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authorization error | 20061006 | ||
| 2 | Invalid data supplied | 20061005 | ||
| 3 | Unique identifier exists | 20061005 | ||
| 4 | Operation failed exception | 20061006 |
Method ADD_RULE_ELEMENT_BY_REFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_REFERENCE | Call by reference | Object reference (TYPE REF TO) | IF_WER_RULE_ELEMENT | Reference rule element | 20061024 | |||
| 2 | I_INVERT | Call by reference | Type reference (TYPE) | WER_BOOL | Result of the rule element is inverted if flag is true | 20061024 | |||
| 3 | RR_REF_CLONE | Value transfer | Object reference (TYPE REF TO) | IF_WER_RULE_ELEMENT | Copy of the reference rule element | 20061024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authorization error | 20061024 | ||
| 2 | Invalid data supplied | 20061024 | ||
| 3 | Unique identifier exists | 20061024 | ||
| 4 | Operation failed exception | 20061024 |
Method CHECK_RULE_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_RULE_ELEMENT | Call by reference | Object reference (TYPE REF TO) | IF_WER_RULE_ELEMENT | Rule element | 20061005 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20061005 | ||
| 2 | Value does not exist | 20061005 |
Method CHECK_RULE_ELEMENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | WER_ELEMENT_NAME | Element name | 20061023 | |||
| 2 | I_TYPE | Call by reference | Type reference (TYPE) | WER_ELEMENT_TYPE | Element type | 20061023 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20061023 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_BOOLEAN | Call by reference | Object reference (TYPE REF TO) | IF_FDT_BOOLEAN | FDT: Boolean Logic | 20100111 | |||
| 2 | I_TEMPLATE | Call by reference | Type reference (TYPE) | WER_BOOL | Boolean: true = X and false = SPACE | 20060920 |
Method CONSTRUCTOR on class CL_WER_CONDITION has no exception.
Method DELETE_RULE_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_RULE_ELEMENT | Call by reference | Type reference (TYPE) | WER_RULE_ELEMENT_ID | Rule element id | 20061006 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20061006 | ||
| 2 | Operation failed exception | 20061006 |
Method GET_EXPRESSIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_EXPRESSIONS | Value transfer | Object reference (TYPE REF TO) | WER_CONDITION_EXPRESSION_TTY | List of condition expressions | 20060920 |
Method GET_EXPRESSIONS on class CL_WER_CONDITION has no exception.
Method GET_OPERATOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_OPERATOR | Value transfer | Type reference (TYPE) | IF_FDT_BOOLEAN=>OPERATION | Boolean Operation | 20060920 |
Method GET_OPERATOR on class CL_WER_CONDITION has no exception.
Method INVERT_RESULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_INVERT | Call by reference | Type reference (TYPE) | WER_BOOL | Boolean: true = X and false = SPACE | 20061006 | |||
| 2 | I_RULE_ELEMENT | Call by reference | Type reference (TYPE) | WER_RULE_ELEMENT_ID | Rule element id | 20061006 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20061006 | ||
| 2 | Value does not exist | 20061006 |
Method IS_RESULT_INVERTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_RULE_ELEMENT | Call by reference | Type reference (TYPE) | WER_RULE_ELEMENT_ID | Rule element id | 20061006 | |||
| 2 | R_INVERTED | Value transfer | Type reference (TYPE) | WER_BOOL | Boolean: true = X and false = SPACE | 20061006 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20061006 |
Method LOAD_EXPRESSIONS Signature
Method LOAD_EXPRESSIONS on class CL_WER_CONDITION has no parameter.
Method LOAD_EXPRESSIONS on class CL_WER_CONDITION has no exception.
Method MOVE_RULE_ELEMENT_DOWN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | WER_RULE_ELEMENT_ID | Rule element id | 20070219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20070219 |
Method MOVE_RULE_ELEMENT_FIRST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | WER_RULE_ELEMENT_ID | Rule element id | 20070219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20070219 |
Method MOVE_RULE_ELEMENT_LAST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | WER_RULE_ELEMENT_ID | Rule element id | 20070219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20070219 |
Method MOVE_RULE_ELEMENT_UP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | WER_RULE_ELEMENT_ID | Rule element id | 20070219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20070219 |
Method SET_OPERATOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OPERATOR | Call by reference | Type reference (TYPE) | IF_FDT_BOOLEAN=>OPERATION | Boolean Operation | 20061005 |
Method SET_OPERATOR on class CL_WER_CONDITION has no exception.
Method UPDATE_FDT_PARAMETERS Signature
Method UPDATE_FDT_PARAMETERS on class CL_WER_CONDITION has no parameter.
Method UPDATE_FDT_PARAMETERS on class CL_WER_CONDITION has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 700 |