SAP ABAP Class CL_RULE_FACTORY_MM (Set of Rules)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷
SRM-EBP (Application Component) Enterprise Buyer
⤷
BBP_APPLICATION (Package) Structure Package EBP
⤷
ME (Package) Application development R/3 Purchasing
⤷
⤷
⤷
Properties
| Class | CL_RULE_FACTORY_MM | |
| Short Description | Set of Rules | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ME | Application development R/3 Purchasing |
| Created | 20041110 | SAP |
| Last change | 20050219 | 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) |
Interfaces
Class CL_RULE_FACTORY_MM has no interface implemented.
Friends
Class CL_RULE_FACTORY_MM has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | STRING | 20041221 | ||||
| 2 | Instance attribute | Private | Type reference (TYPE) | TY_MASK | 20041112 | ||||
| 3 | Instance attribute | Public | Type reference (TYPE) | TY_MASK | 20041112 | ||||
| 4 | Instance attribute | Private | Type reference (TYPE) | I | 20041112 | ||||
| 5 | Instance attribute | Private | See coding | 20041112 | |||||
| 6 | Instance attribute | Private | Type reference (TYPE) | TY_T_RULEDEP_BY_ORIG | 20041112 | ||||
| 7 | Instance attribute | Private | See coding | 20041112 | |||||
| 8 | Instance attribute | Private | Type reference (TYPE) | LTY_T_FIELD_RULES | 20041112 | ||||
| 9 | Instance attribute | Private | Type reference (TYPE) | LTY_T_SCOPERULES_TABLE | 20041112 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 20041112 | |
| 2 | Instance method | Public | Method | Deliver All Rules | 20041112 | |
| 3 | Instance method | Private | Method | Get Next Free Offset | 20041112 | |
| 4 | Instance method | Public | Method | Deliver Rule | 20041110 | |
| 5 | Instance method | Public | Method | Deliver Rules for a Bit Mask | 20041112 | |
| 6 | Instance method | Public | Method | Deliver Rules for Scope | 20041112 | |
| 7 | Instance method | Public | Method | Deliver All Bit Masks | 20041112 | |
| 8 | Instance method | Public | Method | Deliver Offset for a Rule | 20041112 | |
| 9 | Instance method | Public | Method | Deliver Rules for a Field | 20041112 | |
| 10 | Instance method | Public | Method | Deliver Rule Dependency | 20041112 | |
| 11 | Instance method | Public | Method | Registration of an Assigned Offset | 20041112 | |
| 12 | Instance method | Public | Method | Register Rule on Field or Delete Registration | 20041112 | |
| 13 | Instance method | Public | Method | Set Rule Dependency | 20041112 | |
| 14 | Instance method | Public | Method | Register Rule on Scope or Delete Registration | 20041112 |
Events
Class CL_RULE_FACTORY_MM has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_MASK | Public | Type reference (TYPE) | XSTRING | 20041112 | |
|
| 2 | TY_S_RULE_DEPENDENCIES | Private | See coding | 20041112 | begin of TY_S_RULE_DEPENDENCIES,
ORIGINATOR type ref to IF_RULE_MM,
DEPENDANT type ref to IF_RULE_MM,
DEPENDENCY type MMPUR_TY_RULE_DEPENDENCY,
end of TY_S_RULE_DEPENDENCIES
|
||
| 3 | TY_T_RULEDEP_BY_DEP | Private | See coding | 20041112 | TY_T_RULEDEP_BY_DEP type sorted table
of TY_S_RULE_DEPENDENCIES with unique key
DEPENDANT ORIGINATOR initial size 0
|
||
| 4 | TY_T_RULEDEP_BY_ORIG | Private | See coding | 20041112 | TY_T_RULEDEP_BY_ORIG type sorted table
of TY_S_RULE_DEPENDENCIES with unique key
ORIGINATOR DEPENDANT initial size 0
|
||
| 5 | TY_T_RULES_TABLE | Public | See coding | 20041112 | TY_T_RULES_TABLE type standard table of ref to IF_RULE_MM
initial size 0
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_INITIATOR | Call by reference | Type reference (TYPE) | STRING | 20041221 |
Method CONSTRUCTOR on class CL_RULE_FACTORY_MM has no exception.
Method GET_ALL_RULES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_RULES | Call by reference | Type reference (TYPE) | TY_T_RULES_TABLE | 20041112 |
Method GET_ALL_RULES on class CL_RULE_FACTORY_MM has no exception.
Method GET_NEXT_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_NUMBER | Value transfer | Type reference (TYPE) | I | 20041112 |
Method GET_NEXT_NUMBER on class CL_RULE_FACTORY_MM has no exception.
Method GET_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CLASSNAME | Call by reference | Type reference (TYPE) | STRING | 20041220 | ||||
| 2 | RE_RULE | Value transfer | Object reference (TYPE REF TO) | IF_RULE_MM | Sicht auf MM-Regel | 20041220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041112 |
Method GET_RULES_BY_MASK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_RULES | Call by reference | Type reference (TYPE) | TY_T_RULES_TABLE | 20041112 | ||||
| 2 | IM_MASK | Call by reference | Type reference (TYPE) | TY_MASK | 20041112 |
Method GET_RULES_BY_MASK on class CL_RULE_FACTORY_MM has no exception.
Method GET_RULES_BY_SCOPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_MASK | Call by reference | Type reference (TYPE) | TY_MASK | 20041112 | ||||
| 2 | EX_MASK_MINUS | Call by reference | Type reference (TYPE) | TY_MASK | 20041112 | ||||
| 3 | EX_RULES | Call by reference | Type reference (TYPE) | TY_T_RULES_TABLE | 20041112 | ||||
| 4 | IM_MINUS | Call by reference | Type reference (TYPE) | MMPUR_TY_RULE_SCOPE | 20041112 | ||||
| 5 | IM_SCOPE | Call by reference | Type reference (TYPE) | MMPUR_TY_RULE_SCOPE | 20041112 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Scope nicht vorhanden | 20041112 |
Method GET_RULE_BIT_MASK_ALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_MASK | Value transfer | Type reference (TYPE) | TY_MASK | 20041112 |
Method GET_RULE_BIT_MASK_ALL on class CL_RULE_FACTORY_MM has no exception.
Method GET_RULE_BIT_OFFSET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_RULE | Call by reference | Object reference (TYPE REF TO) | IF_RULE_MM | Sicht auf MM-Regel | 20041112 | |||
| 2 | RE_OFFSET | Value transfer | Type reference (TYPE) | I | 20041112 |
Method GET_RULE_BIT_OFFSET on class CL_RULE_FACTORY_MM has no exception.
Method GET_RULE_BY_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_FIELDNAME | Call by reference | Type reference (TYPE) | STRING | 20041112 | ||||
| 2 | RE_RULE | Value transfer | Object reference (TYPE REF TO) | IF_RULE_MM | Sicht auf MM-Regel | 20041112 |
Method GET_RULE_BY_FIELD on class CL_RULE_FACTORY_MM has no exception.
Method GET_RULE_DEPENDENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DEPENDANT | Call by reference | Object reference (TYPE REF TO) | IF_RULE_MM | Sicht auf MM-Regel | 20041112 | |||
| 2 | IM_ORIGINATOR | Call by reference | Object reference (TYPE REF TO) | IF_RULE_MM | Sicht auf MM-Regel | 20041112 | |||
| 3 | RE_DEPENDENCY | Value transfer | Type reference (TYPE) | MMPUR_TY_RULE_DEPENDENCY | 20041112 |
Method GET_RULE_DEPENDENCY on class CL_RULE_FACTORY_MM has no exception.
Method PROTECT_OFFSET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_OFFSET | Call by reference | Type reference (TYPE) | I | 20041112 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041112 |
Method REGISTER_RULE_FOR_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ACTIVATION | Call by reference | Type reference (TYPE) | MMPUR_BOOL | MMPUR_YES | Boolscher Typ | 20041112 | ||
| 2 | IM_FIELDNAME | Call by reference | Type reference (TYPE) | STRING | 20041112 | ||||
| 3 | IM_RULE | Call by reference | Object reference (TYPE REF TO) | IF_RULE_MM | Sicht auf MM-Regel | 20041112 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041112 |
Method SET_RULE_DEPENDENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DEPENDANT | Call by reference | Object reference (TYPE REF TO) | IF_RULE_MM | Sicht auf MM-Regel | 20041112 | |||
| 2 | IM_DEPENDENCY | Call by reference | Type reference (TYPE) | MMPUR_TY_RULE_DEPENDENCY | 20041112 | ||||
| 3 | IM_ORIGINATOR | Call by reference | Object reference (TYPE REF TO) | IF_RULE_MM | Sicht auf MM-Regel | 20041112 |
Method SET_RULE_DEPENDENCY on class CL_RULE_FACTORY_MM has no exception.
Method SET_SCOPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ON | Call by reference | Type reference (TYPE) | MMPUR_BOOL | MMPUR_YES | Boolscher Typ | 20041112 | ||
| 2 | IM_RULE | Call by reference | Object reference (TYPE REF TO) | IF_RULE_MM | Sicht auf MM-Regel | 20041112 | |||
| 3 | IM_SCOPE | Call by reference | Type reference (TYPE) | MMPUR_TY_RULE_SCOPE | 20041112 |
Method SET_SCOPE on class CL_RULE_FACTORY_MM has no exception.
History
| Last changed by/on | SAP | 20050219 |
| SAP Release Created in | 600 |