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 MMPUR 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 MY_INITIATOR Instance attribute Private Type reference (TYPE) STRING 20041221
2 MY_MASK Instance attribute Private Type reference (TYPE) TY_MASK 20041112
3 MY_MASK_NULL Instance attribute Public Type reference (TYPE) TY_MASK 20041112
4 MY_OFFSET Instance attribute Private Type reference (TYPE) I 20041112
5 MY_OFFSET_PROTECTION Instance attribute Private See coding 20041112
6 MY_RULEDEP_BY_ORIG Instance attribute Private Type reference (TYPE) TY_T_RULEDEP_BY_ORIG 20041112
7 MY_RULES Instance attribute Private See coding 20041112
8 MY_RULES_PER_FIELD Instance attribute Private Type reference (TYPE) LTY_T_FIELD_RULES 20041112
9 MY_RULES_PER_SCOPE Instance attribute Private Type reference (TYPE) LTY_T_SCOPERULES_TABLE 20041112
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20041112
2 GET_ALL_RULES Instance method Public Method Deliver All Rules 20041112
3 GET_NEXT_NUMBER Instance method Private Method Get Next Free Offset 20041112
4 GET_RULE Instance method Public Method Deliver Rule 20041110
5 GET_RULES_BY_MASK Instance method Public Method Deliver Rules for a Bit Mask 20041112
6 GET_RULES_BY_SCOPE Instance method Public Method Deliver Rules for Scope 20041112
7 GET_RULE_BIT_MASK_ALL Instance method Public Method Deliver All Bit Masks 20041112
8 GET_RULE_BIT_OFFSET Instance method Public Method Deliver Offset for a Rule 20041112
9 GET_RULE_BY_FIELD Instance method Public Method Deliver Rules for a Field 20041112
10 GET_RULE_DEPENDENCY Instance method Public Method Deliver Rule Dependency 20041112
11 PROTECT_OFFSET Instance method Public Method Registration of an Assigned Offset 20041112
12 REGISTER_RULE_FOR_FIELD Instance method Public Method Register Rule on Field or Delete Registration 20041112
13 SET_RULE_DEPENDENCY Instance method Public Method Set Rule Dependency 20041112
14 SET_SCOPE 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 Importing 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 Exporting 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 Returning 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 Importing IM_CLASSNAME Call by reference Type reference (TYPE) STRING 20041220
2 Returning RE_RULE Value transfer Object reference (TYPE REF TO) IF_RULE_MM Sicht auf MM-Regel 20041220
# Exception Resumable Description Created on
1 BITMASKOVERFLOW 20041112

Method GET_RULES_BY_MASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_RULES Call by reference Type reference (TYPE) TY_T_RULES_TABLE 20041112
2 Importing 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 Exporting EX_MASK Call by reference Type reference (TYPE) TY_MASK 20041112
2 Exporting EX_MASK_MINUS Call by reference Type reference (TYPE) TY_MASK 20041112
3 Exporting EX_RULES Call by reference Type reference (TYPE) TY_T_RULES_TABLE 20041112
4 Importing IM_MINUS Call by reference Type reference (TYPE) MMPUR_TY_RULE_SCOPE 20041112
5 Importing IM_SCOPE Call by reference Type reference (TYPE) MMPUR_TY_RULE_SCOPE 20041112
# Exception Resumable Description Created on
1 NO_SUCH_SCOPE 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 Returning 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 Importing IM_RULE Call by reference Object reference (TYPE REF TO) IF_RULE_MM Sicht auf MM-Regel 20041112
2 Returning 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 Importing IM_FIELDNAME Call by reference Type reference (TYPE) STRING 20041112
2 Returning 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 Importing IM_DEPENDANT Call by reference Object reference (TYPE REF TO) IF_RULE_MM Sicht auf MM-Regel 20041112
2 Importing IM_ORIGINATOR Call by reference Object reference (TYPE REF TO) IF_RULE_MM Sicht auf MM-Regel 20041112
3 Returning 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 Importing IM_OFFSET Call by reference Type reference (TYPE) I 20041112
# Exception Resumable Description Created on
1 ALREADY_ASSIGNED 20041112

Method REGISTER_RULE_FOR_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACTIVATION Call by reference Type reference (TYPE) MMPUR_BOOL MMPUR_YES Boolscher Typ 20041112
2 Importing IM_FIELDNAME Call by reference Type reference (TYPE) STRING 20041112
3 Importing IM_RULE Call by reference Object reference (TYPE REF TO) IF_RULE_MM Sicht auf MM-Regel 20041112
# Exception Resumable Description Created on
1 FAILED 20041112

Method SET_RULE_DEPENDENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DEPENDANT Call by reference Object reference (TYPE REF TO) IF_RULE_MM Sicht auf MM-Regel 20041112
2 Importing IM_DEPENDENCY Call by reference Type reference (TYPE) MMPUR_TY_RULE_DEPENDENCY 20041112
3 Importing 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 Importing IM_ON Call by reference Type reference (TYPE) MMPUR_BOOL MMPUR_YES Boolscher Typ 20041112
2 Importing IM_RULE Call by reference Object reference (TYPE REF TO) IF_RULE_MM Sicht auf MM-Regel 20041112
3 Importing 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