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 CL_WER_CONST Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 IF_FDT_AND_OR Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_FDT_BOOLEAN 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 MR_BOOLEAN Instance attribute Private Object reference (TYPE REF TO) IF_FDT_BOOLEAN FDT: Boolean Logic 20100111
2 MT_EXPRESSIONS 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 ADD_RULE_ELEMENT_BY_ID Instance method Public Method Insert a rule element (expression or condition) 20061005
2 ADD_RULE_ELEMENT_BY_REFERENCE Instance method Public Method Insert and expression 20061024
3 CHECK_RULE_ELEMENT Instance method Public Method Verify if a rule element can be added to the condition 20061005
4 CHECK_RULE_ELEMENT_TYPE Static method Public Method Check if a type can be used in a condition 20061023
5 CONSTRUCTOR Instance method Public Constructor 20060920
6 DELETE_RULE_ELEMENT Instance method Public Method Delete a sub rule element 20061005
7 GET_EXPRESSIONS Instance method Public Method Returns the expressions 20060920
8 GET_OPERATOR Instance method Public Method Returns the operator 20060920
9 INVERT_RESULT Instance method Public Method Sets the inversion flag for a rule element 20061006
10 IS_RESULT_INVERTED Instance method Public Method Returns true if the rule element is inverted 20061006
11 LOAD_EXPRESSIONS Instance method Private Method get the condition expressions (FDT) 20060920
12 MOVE_RULE_ELEMENT_DOWN Instance method Public Method Move a rule element down a rank 20070219
13 MOVE_RULE_ELEMENT_FIRST Instance method Public Method Move a rule element first 20070219
14 MOVE_RULE_ELEMENT_LAST Instance method Public Method Move a rule element last 20070219
15 MOVE_RULE_ELEMENT_UP Instance method Public Method Move a rule element up a rank 20070219
16 SET_OPERATOR Instance method Public Method Sets the condtion operator (FDT) 20060920
17 UPDATE_FDT_PARAMETERS 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 Importing I_INVERT Call by reference Type reference (TYPE) WER_BOOL CL_WER_CONST=>C_FALSE Expression name used as key field 20061005
2 Importing I_REFERENCE Call by reference Type reference (TYPE) WER_RULE_ELEMENT_ID Rule element id 20061005
3 Returning RR_REF_CLONE Value transfer Object reference (TYPE REF TO) IF_WER_RULE_ELEMENT Rule element 20061005
# Exception Resumable Description Created on
1 CX_WER_AUTHORIZATION Authorization error 20061006
2 CX_WER_DATA_INVALID Invalid data supplied 20061005
3 CX_WER_DATA_NOT_FOUND Unique identifier exists 20061005
4 CX_WER_OPERATION_FAILED 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 Importing IR_REFERENCE Call by reference Object reference (TYPE REF TO) IF_WER_RULE_ELEMENT Reference rule element 20061024
2 Importing I_INVERT Call by reference Type reference (TYPE) WER_BOOL Result of the rule element is inverted if flag is true 20061024
3 Returning 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 CX_WER_AUTHORIZATION Authorization error 20061024
2 CX_WER_DATA_INVALID Invalid data supplied 20061024
3 CX_WER_DATA_NOT_FOUND Unique identifier exists 20061024
4 CX_WER_OPERATION_FAILED Operation failed exception 20061024

Method CHECK_RULE_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_RULE_ELEMENT Call by reference Object reference (TYPE REF TO) IF_WER_RULE_ELEMENT Rule element 20061005
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20061005
2 CX_WER_DATA_NOT_FOUND 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 Importing I_NAME Call by reference Type reference (TYPE) WER_ELEMENT_NAME Element name 20061023
2 Importing I_TYPE Call by reference Type reference (TYPE) WER_ELEMENT_TYPE Element type 20061023
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20061023

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_BOOLEAN Call by reference Object reference (TYPE REF TO) IF_FDT_BOOLEAN FDT: Boolean Logic 20100111
2 Importing 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 Importing I_RULE_ELEMENT Call by reference Type reference (TYPE) WER_RULE_ELEMENT_ID Rule element id 20061006
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20061006
2 CX_WER_OPERATION_FAILED Operation failed exception 20061006

Method GET_EXPRESSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning 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 Returning 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 Importing I_INVERT Call by reference Type reference (TYPE) WER_BOOL Boolean: true = X and false = SPACE 20061006
2 Importing I_RULE_ELEMENT Call by reference Type reference (TYPE) WER_RULE_ELEMENT_ID Rule element id 20061006
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20061006
2 CX_WER_DATA_NOT_FOUND 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 Importing I_RULE_ELEMENT Call by reference Type reference (TYPE) WER_RULE_ELEMENT_ID Rule element id 20061006
2 Returning R_INVERTED Value transfer Type reference (TYPE) WER_BOOL Boolean: true = X and false = SPACE 20061006
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND 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 Importing I_ID Call by reference Type reference (TYPE) WER_RULE_ELEMENT_ID Rule element id 20070219
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND 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 Importing I_ID Call by reference Type reference (TYPE) WER_RULE_ELEMENT_ID Rule element id 20070219
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND 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 Importing I_ID Call by reference Type reference (TYPE) WER_RULE_ELEMENT_ID Rule element id 20070219
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND 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 Importing I_ID Call by reference Type reference (TYPE) WER_RULE_ELEMENT_ID Rule element id 20070219
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070219

Method SET_OPERATOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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