SAP ABAP Class CL_GHO_ALLOC_CONTROLLER (Controller Class for Allocation)
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_CONTROLLER  
Short Description Controller Class for Allocation    
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 20090729   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_GHO_ALLOC_CONTROLLER has no forward declaration.
Interfaces
Class CL_GHO_ALLOC_CONTROLLER has no interface implemented.
Friends
Class CL_GHO_ALLOC_CONTROLLER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_ALLOC_CONTROLLER Static Attribute Public Object reference (TYPE REF TO) CL_GHO_ALLOC_CONTROLLER Controller Class for Allocation 20091107
Methods
# Method Level Visibility Method type Description Created on
1 GET_INSTANCE Static method Public Method Gets the singleton instance of the controller 20091103
2 PERFORM_ALLOCATION_ASYNC Instance method Public Method Perform allocation process in asynchronous mode 20091103
3 PERFORM_ALLOCATION_SYNC Instance method Public Method Performs allocation in syncrhonous mode 20091103
4 TRIGGER_ENGINE Instance method Private Method Trigger engine processing 20091022
5 TRIGGER_POSTPROCESSING Instance method Private Method Trigger post processing steps 20091022
6 TRIGGER_PREPROCESSING Instance method Private Method Trigger preprocessing steps 20091022
7 TRIGGER_RUN Instance method Public Method Trigger allocation run 20091127
Events
Class CL_GHO_ALLOC_CONTROLLER has no event.
Types
Class CL_GHO_ALLOC_CONTROLLER has no local type.
Method Signatures

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_CL_GHO_ALLOC_CONTROLLER Call by reference Object reference (TYPE REF TO) CL_GHO_ALLOC_CONTROLLER Controller Class for Allocation 20091103

Method GET_INSTANCE on class CL_GHO_ALLOC_CONTROLLER has no exception.

Method PERFORM_ALLOCATION_ASYNC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ALLOC_RUN_ID Call by reference Type reference (TYPE) GHO_ALLOC_RUN_ID Identifier for an instance of the allocation engine run 20091113
2 Exporting EV_BATCH_RUN_ID Call by reference Type reference (TYPE) GHO_ALLOC_RUN_ID Identifier for an instance of the allocation engine run 20091113
3 Importing IV_ALLOC_DIRECTION Call by reference Type reference (TYPE) GHO_ALLOC_DIRECTION GHO: Allocation Direction. 20091113
4 Importing IV_ALLOC_FREQUENCY Call by reference Type reference (TYPE) GHO_ALLOC_FREQUENCY Allocation Frequency 20091113
5 Importing IV_ALLOC_PURPOSE Call by reference Type reference (TYPE) GHO_ALLOC_PURPOSE Allocation Purpose 20091113
6 Importing IV_ALLOC_TYPE Call by reference Type reference (TYPE) GHO_ALLOC_TYPE Allocation Type 20091113
7 Importing IV_FINAL_IND Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20091118
8 Importing IV_MEDIUM Call by reference Type reference (TYPE) MEDIU Medium 20091113
9 Importing IV_NETID Call by reference Type reference (TYPE) GHO_NETOBJ_ID Id of the Production Flow Network 20091113
10 Importing IV_PLANNING_HORIZON Call by reference Type reference (TYPE) GHO_ALLOC_FREQUENCY Allocation Frequency 20091113
11 Importing IV_PROD_START_TS Call by reference Type reference (TYPE) TIMESTAMP Start timestamp of the allocation frequency period 20091113
12 Importing IV_RUN_OWNERSHIP Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20101014

Method PERFORM_ALLOCATION_ASYNC on class CL_GHO_ALLOC_CONTROLLER has no exception.

Method PERFORM_ALLOCATION_SYNC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120109
2 Exporting EV_ALLOC_RUN_ID Call by reference Type reference (TYPE) GHO_ALLOC_RUN_ID Identifier for an instance of the allocation engine run 20091117
3 Exporting EV_BATCH_RUN_ID Call by reference Type reference (TYPE) GHO_ALLOC_RUN_ID Identifier for an instance of the allocation engine run 20091117
4 Importing IO_PREPROCESSING Call by reference Object reference (TYPE REF TO) CL_GHO_ALLOC_PREPROCESSING Pre-Processing steps for allocation Engine 20110602
5 Importing IV_ALLOC_DIRECTION Call by reference Type reference (TYPE) GHO_ALLOC_DIRECTION GHO: Allocation Direction. 20091117
6 Importing IV_ALLOC_FREQUENCY Call by reference Type reference (TYPE) GHO_ALLOC_FREQUENCY Allocation Frequency 20091117
7 Importing IV_ALLOC_PURPOSE Call by reference Type reference (TYPE) GHO_ALLOC_PURPOSE Allocation Purpose 20091117
8 Importing IV_ALLOC_TYPE Call by reference Type reference (TYPE) GHO_ALLOC_TYPE Allocation Type 20091117
9 Importing IV_FINAL_IND Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20091118
10 Importing IV_MEDIUM Call by reference Type reference (TYPE) MEDIU Medium 20091117
11 Importing IV_NETID Call by reference Type reference (TYPE) GHO_NETOBJ_ID Id of the Production Flow Network 20091117
12 Importing IV_PLANNING_HORIZON Call by reference Type reference (TYPE) GHO_ALLOC_FREQUENCY Allocation Frequency 20091117
13 Importing IV_PROD_START_TS Call by reference Type reference (TYPE) TIMESTAMP Start timestamp of the allocation frequency period 20091117
14 Importing IV_RUN_OWNERSHIP Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20101014

Method PERFORM_ALLOCATION_SYNC on class CL_GHO_ALLOC_CONTROLLER has no exception.

Method TRIGGER_ENGINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ALLOC_FACTOR Call by reference Type reference (TYPE) GHO_T_ALLOC_FACTOR Table type for allocation factor 20110215
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20100928
3 Exporting ET_RESULTS Call by reference Type reference (TYPE) GHO_T_ALLOC_RES_I_ITEMIZED Table type for structure GHO_S_ALLOC_RES_I_ITEMIZED 20091104
4 Exporting ET_RESULTS_PP Call by reference Type reference (TYPE) GHO_T_ALLOC_RES_I Table type for structure GHO_S_ALLOC_RES_I 20091104
5 Importing IS_ALLOC_HEADER Call by reference Type reference (TYPE) GHO_S_ALLOC_HEADER Header for Allocation 20091104
6 Importing IT_ALLOC_RES_H Call by reference Type reference (TYPE) GHO_T_ALLOC_RESULT_H Table type to hold allocation result header information 20100910
7 Importing IT_ALLOC_RES_I Call by reference Type reference (TYPE) GHO_T_ALLOC_RESULT Table type for table that stores allocation results 20100910
8 Importing IT_COMPONENT_QUANTITY Call by reference Type reference (TYPE) GHO_T_COMPONENT_QUANTITY Table type for components quantity 20101014
9 Importing IT_NODE_DS_SPLIT Call by reference Type reference (TYPE) GHO_T_NODE_DS_SPLITS Table Type for Downstream Splits 20100603
10 Importing IT_NODE_RULE Call by reference Type reference (TYPE) GHO_T_NODE_RULE Rules for nodes in a network 20091104
11 Importing IT_NW_PROFILE Call by reference Type reference (TYPE) GHO_T_NW_RULE_I_DB Network Rules Item 20091104
12 Importing IT_NW_STR Call by reference Type reference (TYPE) GHO_T_NW_STR Network Table used for allocation 20091104
13 Importing IT_QUANTITY Call by reference Type reference (TYPE) GHO_T_NODE_QUANTITY Table Type for Node Quanities 20091104
14 Importing IT_RESULT_PRE Call by reference Type reference (TYPE) GHO_T_ALLOC_RES_I_ITEMIZED Table type for structure GHO_S_ALLOC_RES_I_ITEMIZED 20100602
15 Importing IT_STATUS_CHECK Call by reference Type reference (TYPE) GHO_T_DEP_MAT_CHECK Table type for Status Check of dependent material 20100914
16 Importing IT_WC_PROD_QTY Call by reference Type reference (TYPE) OPM_T_GLG Table type for gas lift gas 20101018
17 Importing IV_ALLOC_RUN_ID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20110215
18 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20091201

Method TRIGGER_ENGINE on class CL_GHO_ALLOC_CONTROLLER has no exception.

Method TRIGGER_POSTPROCESSING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ALLOC_HEADER Call by reference Type reference (TYPE) GHO_S_ALLOC_HEADER Header for Allocation 20091104
2 Importing IT_ALLOC_FACTOR Call by reference Type reference (TYPE) GHO_T_ALLOC_FACTOR Table type for allocation factor 20110215
3 Importing IT_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20091112
4 Importing IT_RESULTS Call by reference Type reference (TYPE) GHO_T_ALLOC_RES_I_ITEMIZED Table type for structure GHO_S_ALLOC_RES_I_ITEMIZED 20091104
5 Importing IT_RESULTS_PP Call by reference Type reference (TYPE) GHO_T_ALLOC_RES_I Table type for structure GHO_S_ALLOC_RES_I 20091104
6 Importing IV_ALLOC_RUN_ID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20091113
7 Importing IV_BATCH_RUN_ID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20091113
8 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20091124

Method TRIGGER_POSTPROCESSING on class CL_GHO_ALLOC_CONTROLLER has no exception.

Method TRIGGER_PREPROCESSING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ALLOC_RES_H Call by reference Type reference (TYPE) GHO_T_ALLOC_RESULT_H Table type to hold allocation result header information 20100910
2 Exporting ET_ALLOC_RES_I Call by reference Type reference (TYPE) GHO_T_ALLOC_RESULT Table type for table that stores allocation results 20100910
3 Exporting ET_CHECK_STATUS Call by reference Type reference (TYPE) GHO_T_DEP_MAT_CHECK Table type for Status Check of dependent material 20100914
4 Exporting ET_COMPONENT_QUANTITY Call by reference Type reference (TYPE) GHO_T_COMPONENT_QUANTITY Table type for components quantity 20101014
5 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20091112
6 Exporting ET_NODE_DS_SPLIT Call by reference Type reference (TYPE) GHO_T_NODE_DS_SPLITS Table Type for Downstream Splits 20100603
7 Exporting ET_NODE_RULE Call by reference Type reference (TYPE) GHO_T_NODE_RULE Rules for nodes in a network 20091104
8 Exporting ET_NW_PROFILE Call by reference Type reference (TYPE) GHO_T_NW_RULE_I_DB Network Rules Item 20091104
9 Exporting ET_NW_STR Call by reference Type reference (TYPE) GHO_T_NW_STR Network Table used for allocation 20091104
10 Exporting ET_QUANTITY Call by reference Type reference (TYPE) GHO_T_NODE_QUANTITY Table Type for Node Quanities 20091104
11 Exporting ET_RESULT Call by reference Type reference (TYPE) GHO_T_ALLOC_RES_I_ITEMIZED Table type for structure GHO_S_ALLOC_RES_I_ITEMIZED 20091119
12 Exporting ET_WC_PROD_QTY Call by reference Type reference (TYPE) OPM_T_GLG Table type for gas lift gas 20101018
13 Importing IT_INTRA_MONTH_DATA Call by reference Type reference (TYPE) GHO_T_ALLOC_INTRMNTH_NW_CHANGE Intra month changes for production network 20110124
14 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20091124
15 Importing IV_OWN_CHECK Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20101029
16 Changing XS_ALLOC_HEADER Call by reference Type reference (TYPE) GHO_S_ALLOC_HEADER Header for Allocation 20091111

Method TRIGGER_PREPROCESSING on class CL_GHO_ALLOC_CONTROLLER has no exception.

Method TRIGGER_RUN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_MESSAGES Value transfer Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120110
2 Importing IS_ALLOC_HEADER Call by reference Type reference (TYPE) GHO_S_ALLOC_HEADER Header for Allocation 20091127
3 Importing IV_ALLOC_RUN_ID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20091127
4 Importing IV_BATCH_RUN_ID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20091127
5 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20091127
6 Importing IV_RUN_OWNERSHIP Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20101014

Method TRIGGER_RUN on class CL_GHO_ALLOC_CONTROLLER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 605