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 | 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_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 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_FDT_FUNCTION | FDT: Function | 20060928 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_FDT_DATA_OBJECT | Return data object for rule set | 20061010 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_FDT_RULESET | FDT: Ruleset | 20060914 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | WER_RS_LINE_TTY | Rules assigned to rule sets | 20061005 | |||
| 5 | 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 | Instance method | Public | Method | Add rule to rule set | 20060804 | |
| 2 | Instance method | Public | Method | Checks if new rule to add to rule set is valid | 20060918 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20060914 | |
| 4 | Instance method | Public | Method | Enriches rule set data | 20061018 | |
| 5 | Instance method | Private | Method | Returns fdt rule structure from a wer rule structure | 20060915 | |
| 6 | Instance method | Public | Method | Returns rule set's work item | 20060918 | |
| 7 | Instance method | Public | Method | Sets rules table of the rule set | 20061005 | |
| 8 | Instance method | Public | Method | Returns the rule processor instance | 20061024 | |
| 9 | Instance method | Public | Method | Returns the id off all data objects used by the rules | 20061025 | |
| 10 | Instance method | Private | Method | Initializes the Rule Set function to which rules are linked | 20061002 | |
| 11 | Instance method | Private | Method | Inserts a rule at the given rank and updates all ranks | 20061109 | |
| 12 | Instance method | Private | Method | Loads rules from FDT rule sets | 20061005 | |
| 13 | Instance method | Public | Method | Moves the rule one position down (rank) | 20070110 | |
| 14 | Instance method | Public | Method | Moves the rule to the first position (rank) | 20070110 | |
| 15 | Instance method | Public | Method | Moves the rule to the last position (rank) | 20070110 | |
| 16 | Instance method | Public | Method | Moves the rule one position up | 20070109 | |
| 17 | Instance method | Public | Method | Process the rule set | 20061013 | |
| 18 | Instance method | Private | Method | Refreshes the ranks of the rules according to their position | 20061109 | |
| 19 | Instance method | Public | Method | Remove rule from rule set | 20060804 | |
| 20 | Instance method | Private | Method | Add/remove rules to rule sets | 20061005 | |
| 21 | Instance method | Public | Method | Sets rule set's work item | 20060918 | |
| 22 | Instance method | Public | Method | Sets rules table of the rule set | 20061004 | |
| 23 | 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 | 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 | Unique identifier exists | 20060804 | ||
| 2 | Invalid data supplied | 20060804 |
Method CHECK_NEW_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_RULE | Call by reference | Type reference (TYPE) | WER_RS_LINE_STY | Structure containing the rules within a rule set | 20060918 | |||
| 2 | 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 | Unique identifier exists | 20060918 | ||
| 2 | Invalid data supplied | 20060918 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | 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 | IS_RS_LINE | Call by reference | Type reference (TYPE) | WER_RS_LINE_STY | Structure containing the rules within a rule set | 20060915 | |||
| 2 | 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 | 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 | 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 | RR_PROCESSOR | Value transfer | Object reference (TYPE REF TO) | IF_FDT_PROCESSOR | FDT: Processor | 20061024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | IS_RULE | Call by reference | Type reference (TYPE) | WER_RS_LINE_STY | Structure containing the rules within a rule set | 20061109 | |||
| 2 | I_RANK | Call by reference | Type reference (TYPE) | INT1 | Byte Value | 20061109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_NAME | Call by reference | Type reference (TYPE) | WER_ELEMENT_NAME | Element unique identifier | 20070110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_NAME | Call by reference | Type reference (TYPE) | WER_ELEMENT_NAME | Element unique identifier | 20070110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_NAME | Call by reference | Type reference (TYPE) | WER_ELEMENT_NAME | Element unique identifier | 20070110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_NAME | Call by reference | Type reference (TYPE) | WER_ELEMENT_NAME | Element unique identifier | 20070110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | 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 | I_ITEM | Call by reference | Type reference (TYPE) | WER_ITEM_ID | Unique work item identifier (GUID) | 20060918 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20060918 | ||
| 2 | Value does not exist | 20060918 |
Method SET_RULES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | Unique identifier exists | 20070109 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 700 |