SAP ABAP Class CL_GHO_ALLOC_MRH_ENGINE (MRH Engine for rules processing)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PP-PN-ALN (Application Component) Production Allocation
     APPL_GHO_ALLOC_BE (Package) Backend Logic for Allocation
Properties
Class CL_GHO_ALLOC_MRH_ENGINE  
Short Description MRH Engine for rules processing    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package APPL_GHO_ALLOC_BE   Backend Logic for Allocation 
Created 20100812   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_FDT_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_GHO_ALLOC_MRH_ENGINE has no interface implemented.
Friends
Class CL_GHO_ALLOC_MRH_ENGINE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MS_MRH_ITEM Static Attribute Private Type reference (TYPE) GHO_S_MRH_RULE_I MRH Rules Item 20110103
2 MT_MRH_ITEM Static Attribute Private Type reference (TYPE) GHO_T_MRH_RULE_I Table type for MRH Rules Item 20110106
3 MV_END_DATE Instance attribute Private Type reference (TYPE) SY-DATUM Current Date of Application Server 20100812
4 MV_END_TIME Instance attribute Private Type reference (TYPE) SY-TIMLO Local Time of Current User 20100812
5 MV_HRS Instance attribute Private Type reference (TYPE) FLOAT Field of type FLTP 20100812
6 MV_LOG_HANDLE Instance attribute Private Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20100812
7 MV_START_DATE Instance attribute Private Type reference (TYPE) SY-DATUM Current Date of Application Server 20100812
8 MV_START_TIME Instance attribute Private Type reference (TYPE) SY-TIMLO Local Time of Current User 20100812
9 MV_UOM Instance attribute Private Type reference (TYPE) GHO_FREQ_PERIOD_UNIT Unit of Frequency Period 20100812
Methods
# Method Level Visibility Method type Description Created on
1 CLEAR_BRF_MRH_ITEMS Static method Public Method 20110106
2 CREATE_MEASUREMNTS Instance method Private Method Creating measurements once the MRH item has been fetched 20110211
3 FETCH_NODE_VOLUME Instance method Private Method method to fetch node volumes 20100812
4 FETCH_NODE_VOLUMES Instance method Public Method method to fetch node volumes 20110211
5 GET_APPLICATION Instance method Public Method Get the application Id 20110427
6 GET_BRF_MRH_ITEMS Static method Public Method Retrieve BRF plus created MRH items 20110106
7 GET_DATA_STATUS Instance method Private Method get the status of whether data is present 20110201
8 GET_MRH_ITEM Static method Public Method Retrieve MRH item 20110103
9 GET_OBJECT_ID Instance method Private Method Get the existing object ID from BRF 20110427
10 GET_RESULT_OBJECT Instance method Public Method Get the result object for BRF 20110427
11 PERFORM_MRH_ASYNC Instance method Public Method Peform MRH in a job 20100819
12 PERFORM_MRH_PROCESS Instance method Public Method Method to perform mrh processing 20100812
13 PERFORM_MRH_SYNC Instance method Public Method Peform MRH in a job 20100820
14 PREPARE_MRH_DATA Instance method Private Method Method for preparing mrh data as well as validation of input 20100812
15 SAVE_CLASS_ATTRIBUTES Instance method Private Method Method to save the variables provided to the class 20100812
16 SET_MRH_ITEM Static method Public Method Set the MRH item 20110103
Events
Class CL_GHO_ALLOC_MRH_ENGINE has no event.
Types
Class CL_GHO_ALLOC_MRH_ENGINE has no local type.
Method Signatures

Method CLEAR_BRF_MRH_ITEMS Signature

Method CLEAR_BRF_MRH_ITEMS on class CL_GHO_ALLOC_MRH_ENGINE has no parameter.
Method CLEAR_BRF_MRH_ITEMS on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method CREATE_MEASUREMNTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20110211
2 Exporting EV_SUCCESS Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20110429
3 Importing IS_ALLOC_HEADER Call by reference Type reference (TYPE) GHO_S_ALLOC_HEADER Header for Allocation 20110211
4 Importing IS_BUS_KEY Call by reference Type reference (TYPE) GHO_S_BUS_KEY Business Key for Tank Silo Integration 20110211
5 Importing IS_MP_DET Call by reference Type reference (TYPE) GHO_IMPTT_EXT Data Capture Header 20110211
6 Importing IS_MRH_RULE_H Call by reference Type reference (TYPE) GHO_S_MRH_RULE_H MRH Rules Header 20110211
7 Importing IT_MEAS_DOC Call by reference Type reference (TYPE) GHO_T_MEAS_DOC_INPUT Table Type Measurement Docu. 20110211
8 Importing IV_GHO_OBJ_ID Call by reference Type reference (TYPE) GHO_NETOBJ_ID Network Object ID 20110211
9 Importing IV_MEDIUM Call by reference Type reference (TYPE) MEDIU Medium 20110211
10 Importing IV_NETWORK_ID Call by reference Type reference (TYPE) GHO_NETOBJ_ID Network Object ID 20110211
11 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TZONREF-TSTAMPS UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20110211

Method CREATE_MEASUREMNTS on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method FETCH_NODE_VOLUME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20100812
2 Exporting ET_QUANTITY Call by reference Type reference (TYPE) GHO_T_NODE_QUANTITY Table Type for Node Quanities 20100812
3 Importing IS_ALLOC_HEADER Call by reference Type reference (TYPE) GHO_S_ALLOC_HEADER Header for Allocation 20100812
4 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20100825
5 Importing IV_PROD_TS Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100816
6 Importing IV_STD_UOM Call by reference Type reference (TYPE) MSEHI Unit of Measurement 20100914

Method FETCH_NODE_VOLUME on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method FETCH_NODE_VOLUMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110211
2 Exporting ET_QUANTITY Call by reference Type reference (TYPE) GHO_T_NODE_QUANTITY Table Type for Node Quanities 20110211
3 Importing IS_ALLOC_HEADER Call by reference Type reference (TYPE) GHO_S_ALLOC_HEADER Header for Allocation 20110211
4 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20110211
5 Importing IV_MEAS_POINT Call by reference Type reference (TYPE) IMRC_POINT Measuring Point 20110213
6 Importing IV_PROD_TS Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20110211
7 Importing IV_STD_UOM Call by reference Type reference (TYPE) MSEHI Unit of Measurement 20110211

Method FETCH_NODE_VOLUMES on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method GET_APPLICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_APPL_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20110427

Method GET_APPLICATION on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method GET_BRF_MRH_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BRF_MRH__ITEMS Call by reference Type reference (TYPE) GHO_T_MRH_RULE_I Table type for MRH Rules Item 20110106

Method GET_BRF_MRH_ITEMS on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method GET_DATA_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_STATUS Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20110201
2 Importing IS_MRH_RULE_H Call by reference Type reference (TYPE) GHO_S_MRH_RULE_H Node Allocation Rules Header 20110201
3 Importing IV_PROD_TS Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20110201
4 Importing IV_STD_UOM Call by reference Type reference (TYPE) MSEHI Unit of Measurement 20110201

Method GET_DATA_STATUS on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method GET_MRH_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MRH_ITEM Call by reference Type reference (TYPE) GHO_S_MRH_RULE_I MRH Rules Item 20110103

Method GET_MRH_ITEM on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method GET_OBJECT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20110427
2 Importing IV_APPL_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20110427
3 Importing IV_NAME Call by reference Type reference (TYPE) IF_FDT_TYPES=>NAME Beschreibung 20110427
4 Importing IV_OBJ_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>OBJECT_TYPE Objekttyp 20110427

Method GET_OBJECT_ID on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method GET_RESULT_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TABLE_RES_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20110427
2 Importing IV_APPL_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20110427

Method GET_RESULT_OBJECT on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method PERFORM_MRH_ASYNC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ALLOC_DIRECTION Call by reference Type reference (TYPE) GHO_ALLOC_DIRECTION Allocation Direction 20100819
2 Importing IV_ALLOC_FREQUENCY Call by reference Type reference (TYPE) GHO_ALLOC_FREQUENCY Allocation Frequency 20100819
3 Importing IV_ALLOC_PURPOSE Call by reference Type reference (TYPE) GHO_ALLOC_PURPOSE Allocation Purpose 20100819
4 Importing IV_ALLOC_TYPE Call by reference Type reference (TYPE) GHO_ALLOC_TYPE Allocation Type 20100819
5 Importing IV_MEDIUM Call by reference Type reference (TYPE) MEDIU Medium 20100819
6 Importing IV_NETID Call by reference Type reference (TYPE) GHO_NETOBJ_ID Network Object ID 20100819
7 Importing IV_PROD_START_TS Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100819

Method PERFORM_MRH_ASYNC on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method PERFORM_MRH_PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20100812
2 Exporting ET_QUANTITY Call by reference Type reference (TYPE) GHO_T_NODE_QUANTITY Table Type for Node Quanities 20100812
3 Importing IS_ALLOC_HEADER Call by reference Type reference (TYPE) GHO_S_ALLOC_HEADER Header for Allocation 20100812
4 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20100812

Method PERFORM_MRH_PROCESS on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method PERFORM_MRH_SYNC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ALLOC_DIRECTION Call by reference Type reference (TYPE) GHO_ALLOC_DIRECTION Allocation Direction 20100820
2 Importing IV_ALLOC_FREQUENCY Call by reference Type reference (TYPE) GHO_ALLOC_FREQUENCY Allocation Frequency 20100820
3 Importing IV_ALLOC_PURPOSE Call by reference Type reference (TYPE) GHO_ALLOC_PURPOSE Allocation Purpose 20100820
4 Importing IV_ALLOC_TYPE Call by reference Type reference (TYPE) GHO_ALLOC_TYPE Allocation Type 20100820
5 Importing IV_MEDIUM Call by reference Type reference (TYPE) MEDIU Medium 20100820
6 Importing IV_NETID Call by reference Type reference (TYPE) GHO_NETOBJ_ID Network Object ID 20100820
7 Importing IV_PROD_START_TS Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100820

Method PERFORM_MRH_SYNC on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method PREPARE_MRH_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB 20100812
2 Exporting ET_QUANTITY Call by reference Type reference (TYPE) GHO_T_NODE_QUANTITY 20100812
3 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL 20100812
4 Changing XS_ALLOC_HEADER Call by reference Type reference (TYPE) GHO_S_ALLOC_HEADER 20100812

Method PREPARE_MRH_DATA on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method SAVE_CLASS_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FREQ Call by reference Type reference (TYPE) GHO_ALLOC_FREQUENCY Allocation Frequency 20100812
2 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20100812
3 Importing IV_PROD_DATE Call by reference Type reference (TYPE) SY-DATUM Current Date of Application Server 20100812
4 Importing IV_PROD_TIME Call by reference Type reference (TYPE) SY-TIMLO Local Time of Current User 20100812

Method SAVE_CLASS_ATTRIBUTES on class CL_GHO_ALLOC_MRH_ENGINE has no exception.

Method SET_MRH_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MRH_ITEM Call by reference Type reference (TYPE) GHO_S_MRH_RULE_I MRH Rules Item 20110103

Method SET_MRH_ITEM on class CL_GHO_ALLOC_MRH_ENGINE has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 606