SAP ABAP Class CL_WER_RULE_SET (Adapter for IF_FDT_RULE_SET 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_ELEMENT Implementation base for FDT adapters 20060719
Properties
Class CL_WER_RULE_SET  
Short Description Adapter for IF_FDT_RULE_SET implementors    
Super Class CL_WER_ELEMENT Implementation base for FDT adapters 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WER_BUSINESS   Business Layer 
Created 20060719   SAP 
Last change 20130531   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_RULESET Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_FDT_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_WER_RULE_SET has no interface implemented.
Friends
Class CL_WER_RULE_SET has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MR_FUNCTION Instance attribute Private Object reference (TYPE REF TO) IF_FDT_FUNCTION FDT: Function 20060928
2 MR_RETURN_DO Instance attribute Private Object reference (TYPE REF TO) IF_FDT_DATA_OBJECT Return data object for rule set 20061010
3 MR_RULESET Instance attribute Private Object reference (TYPE REF TO) IF_FDT_RULESET FDT: Ruleset 20060914
4 MT_RULES Instance attribute Private Type reference (TYPE) WER_RS_LINE_TTY Rules assigned to rule sets 20061005
5 M_WORKITEM Instance attribute Private Type reference (TYPE) WER_ITEM_ID Unique workItem used in Rule Set 20060918
Methods
# Method Level Visibility Method type Description Created on
1 ADD_RULE Instance method Public Method Add rule to rule set 20060804
2 CHECK_NEW_RULE Instance method Public Method Checks if new rule to add to rule set is valid 20060918
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20060914
4 ENRICH Instance method Public Method Enriches rule set data 20061018
5 GET_FDT_RS_LINE Instance method Private Method Returns fdt rule structure from a wer rule structure 20060915
6 GET_ITEM Instance method Public Method Returns rule set's work item 20060918
7 GET_RULES Instance method Public Method Sets rules table of the rule set 20061005
8 GET_RULE_PROCESSOR Instance method Public Method Returns the rule processor instance 20061024
9 GET_USED_DATA_OBJECTS Instance method Public Method Returns the id off all data objects used by the rules 20061025
10 INIT_FUNCTION Instance method Private Method Initializes the Rule Set function to which rules are linked 20061002
11 INSERT_RULE Instance method Private Method Inserts a rule at the given rank and updates all ranks 20061109
12 LOAD_RULES Instance method Private Method Loads rules from FDT rule sets 20061005
13 MOVE_RULE_DOWN Instance method Public Method Moves the rule one position down (rank) 20070110
14 MOVE_RULE_FIRST Instance method Public Method Moves the rule to the first position (rank) 20070110
15 MOVE_RULE_LAST Instance method Public Method Moves the rule to the last position (rank) 20070110
16 MOVE_RULE_UP Instance method Public Method Moves the rule one position up 20070109
17 PROCESS Instance method Public Method Process the rule set 20061013
18 REFRESH_RANKS Instance method Private Method Refreshes the ranks of the rules according to their position 20061109
19 REMOVE_RULE Instance method Public Method Remove rule from rule set 20060804
20 SAVE_RULES Instance method Private Method Add/remove rules to rule sets 20061005
21 SET_ITEM Instance method Public Method Sets rule set's work item 20060918
22 SET_RULES Instance method Public Method Sets rules table of the rule set 20061004
23 UPDATE_RULE_OBS Instance method Public Method Add rule to rule set 20070109
Events
Class CL_WER_RULE_SET has no event.
Types
Class CL_WER_RULE_SET has no local type.
Method Signatures

Method ADD_RULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RULE Call by reference Type reference (TYPE) WER_RS_LINE_STY Structure containing the rules within a rule set 20060804
# Exception Resumable Description Created on
1 CX_WER_DATA_EXISTS Unique identifier exists 20060804
2 CX_WER_DATA_INVALID Invalid data supplied 20060804

Method CHECK_NEW_RULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RULE Call by reference Type reference (TYPE) WER_RS_LINE_STY Structure containing the rules within a rule set 20060918
2 Importing I_CHECK_ITEM Call by reference Type reference (TYPE) WER_BOOL CL_WER_CONST=>C_TRUE Boolean: true = X and false = SPACE 20070109
# Exception Resumable Description Created on
1 CX_WER_DATA_EXISTS Unique identifier exists 20060918
2 CX_WER_DATA_INVALID Invalid data supplied 20060918

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_RULESET Call by reference Object reference (TYPE REF TO) IF_FDT_RULESET FDT: Ruleset 20061002

Method CONSTRUCTOR on class CL_WER_RULE_SET has no exception.

Method ENRICH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing XS_RULE Call by reference Type reference (TYPE) WER_RS_LINE_STY Rule sets assigned to an event 20061018
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20061018

Method GET_FDT_RS_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RS_LINE Call by reference Type reference (TYPE) WER_RS_LINE_STY Structure containing the rules within a rule set 20060915
2 Returning RS_FDT_RS_LINE Value transfer Type reference (TYPE) IF_FDT_RULESET=>S_RULE 20060915

Method GET_FDT_RS_LINE on class CL_WER_RULE_SET has no exception.

Method GET_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_ITEM Value transfer Type reference (TYPE) WER_ITEM_ID Unique work item identifier (GUID) 20060918

Method GET_ITEM on class CL_WER_RULE_SET has no exception.

Method GET_RULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_RULES Value transfer Object reference (TYPE REF TO) WER_RS_LINE_TTY Rules assigned to rule set 20061005

Method GET_RULES on class CL_WER_RULE_SET has no exception.

Method GET_RULE_PROCESSOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_PROCESSOR Value transfer Object reference (TYPE REF TO) IF_FDT_PROCESSOR FDT: Processor 20061024
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20061024

Method GET_USED_DATA_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_DATA_OBJECTS Value transfer Object reference (TYPE REF TO) IF_FDT_TYPES=>TS_OBJECT_ID List of element identificators 20061025

Method GET_USED_DATA_OBJECTS on class CL_WER_RULE_SET has no exception.

Method INIT_FUNCTION Signature

Method INIT_FUNCTION on class CL_WER_RULE_SET has no parameter.
Method INIT_FUNCTION on class CL_WER_RULE_SET has no exception.

Method INSERT_RULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RULE Call by reference Type reference (TYPE) WER_RS_LINE_STY Structure containing the rules within a rule set 20061109
2 Importing I_RANK Call by reference Type reference (TYPE) INT1 Byte Value 20061109
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20070924

Method LOAD_RULES Signature

Method LOAD_RULES on class CL_WER_RULE_SET has no parameter.
Method LOAD_RULES on class CL_WER_RULE_SET has no exception.

Method MOVE_RULE_DOWN 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 unique identifier 20070110
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070110

Method MOVE_RULE_FIRST 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 unique identifier 20070110
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070110

Method MOVE_RULE_LAST 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 unique identifier 20070110
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070110

Method MOVE_RULE_UP 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 unique identifier 20070110
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20070110

Method PROCESS Signature

Method PROCESS on class CL_WER_RULE_SET has no parameter.
Method PROCESS on class CL_WER_RULE_SET has no exception.

Method REFRESH_RANKS Signature

Method REFRESH_RANKS on class CL_WER_RULE_SET has no parameter.
Method REFRESH_RANKS on class CL_WER_RULE_SET has no exception.

Method REMOVE_RULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RULE Call by reference Type reference (TYPE) WER_RS_LINE_STY Structure containing the rules within a rule set 20060804
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Value does not exist 20060804

Method SAVE_RULES Signature

Method SAVE_RULES on class CL_WER_RULE_SET has no parameter.
Method SAVE_RULES on class CL_WER_RULE_SET has no exception.

Method SET_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ITEM Call by reference Type reference (TYPE) WER_ITEM_ID Unique work item identifier (GUID) 20060918
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20060918
2 CX_WER_DATA_NOT_FOUND Value does not exist 20060918

Method SET_RULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_RULES Call by reference Type reference (TYPE) WER_RS_LINE_TTY Rule set line 20061004

Method SET_RULES on class CL_WER_RULE_SET has no exception.

Method UPDATE_RULE_OBS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RULE Call by reference Type reference (TYPE) WER_RS_LINE_STY Structure containing the rules within a rule set 20070109
# Exception Resumable Description Created on
1 CX_WER_DATA_NOT_FOUND Unique identifier exists 20070109
History
Last changed by/on SAP  20130531 
SAP Release Created in 700