SAP ABAP Class CL_GHO_PP_CAPALLOC (GHO OTE Capacity Allocation)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PP-PN-NOP (Application Component) Network Operations
     APPL_GHO_PP_OTE_SC (Package) GHO PP Source Code: Order Template Engine
Properties
Class CL_GHO_PP_CAPALLOC  
Short Description GHO OTE Capacity Allocation    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package APPL_GHO_PP_OTE_SC   GHO PP Source Code: Order Template Engine 
Created 20091023   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_GHO_PP_CAPALLOC has no forward declaration.
Interfaces
Class CL_GHO_PP_CAPALLOC has no interface implemented.
Friends
Class CL_GHO_PP_CAPALLOC has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_DOMAIN_NAME_NETVER_CHKRES Constant Public Type reference (TYPE) DDOBJNAME 'GHO_PP_NETVER_CHKRES' Name of ABAP Dictionary Object 20091222
2 MO_C Instance attribute Public Object reference (TYPE REF TO) CL_GHO_PP_CONSTANTS Class for global PP constants 20091026
3 MO_NETVER Instance attribute Public Object reference (TYPE REF TO) CL_GHO_PP_NETVER GHO Production Network Versions 20091026
4 MO_PP_ALLOC_IF Instance attribute Public Object reference (TYPE REF TO) CL_GHO_PP_ALLOCATION_IF Interface PP - Allocation 20091029
5 MS_NETVERSION Instance attribute Public Type reference (TYPE) GHO_S_NETVER_HDR Header Data of a Production Network Version 20091026
6 MT_ALLOC_RESULTS Instance attribute Public Type reference (TYPE) GHO_T_ALLOC_RESULT_PP Table allocation results 20091126
7 MT_ALLOC_STATUS Instance attribute Public Type reference (TYPE) GHO_T_ALLOC_RESULT_H Table type to hold allocation result header information 20091204
8 MT_MEDIUMS Instance attribute Public Type reference (TYPE) GHO_T_MEDIUM Mediums used in a Production Network 20091204
9 MV_ALLOC_DIRECTION Instance attribute Public Type reference (TYPE) GHO_ALLOC_DIRECTION GHO: Allocation Direction. 20091204
10 MV_ALLOC_PURPOSE Instance attribute Public Type reference (TYPE) GHO_ALLOC_PURPOSE Allocation Purpose 20091204
11 MV_ALLOC_TYPE_CAPACITY Instance attribute Public Type reference (TYPE) GHO_ALLOC_TYPE Value for Capacity Allocation 20091029
12 MV_CAPALLOC_DATE Instance attribute Public Type reference (TYPE) D Capacity Allocation Start Date 20091029
13 MV_CAPALLOC_DST Instance attribute Public Type reference (TYPE) C Indicator Daylight Saving Time 20091029
14 MV_CAPALLOC_EXEC_CODE Instance attribute Public Type reference (TYPE) GHO_PP_CAPALLOC_EXEC Capacity Allocation Execution Code 20091026
15 MV_CAPALLOC_RUN_ID Instance attribute Public Type reference (TYPE) GHO_ALLOC_RUN_ID Identifier for an instance of the allocation engine run 20091113
16 MV_CAPALLOC_TIME Instance attribute Public Type reference (TYPE) T Capacity Allocatiton Start Time 20091029
17 MV_CAPALLOC_USER Instance attribute Public Type reference (TYPE) SYUNAME User Name 20091126
18 MV_NETID Instance attribute Public Type reference (TYPE) GHO_NETID GHO Production Network identification 20091023
19 MV_NETVER_CHECKRESULT Instance attribute Public Type reference (TYPE) GHO_PP_NETVER_CHKRES Consistency Check Result of a Production Network Version 20091026
20 MV_NETVER_ID Instance attribute Public Type reference (TYPE) GHO_PP_NETVERID GHO Production Network Version Identification 20091029
21 MV_NETVER_PERIOD Instance attribute Public Type reference (TYPE) GHO_ALLOC_FREQUENCY Allocation Frequency 20091026
22 MV_NETWORK_TIME_ZONE Instance attribute Public Type reference (TYPE) TIMEZONE Time Zone Network 20091029
23 MV_PN_NETOBJ_ID Instance attribute Public Type reference (TYPE) GHO_NETOBJ_ID GHO: Network Object ID of the Production Network 20091214
24 MV_TS_CAPALLOC_START_DATE Instance attribute Public Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091029
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20091023
2 DETERMINE_CAPALLOC_DATA Instance method Private Method Determine all necessary data for capacity allocation 20091029
3 DETERMINE_CAPALLOC_START_DATE Instance method Private Method Determine time stamp for the capacity allocation start date 20091029
4 DETERMINE_NETVER_DATA Instance method Private Method Determine all necessary data from the version 20091026
5 EVALUATE_ALLOCATION_STATUS Instance method Private Method Evaluate allocation status 20091124
6 GET_DOMAIN_VALUE_TEXT Instance method Private Method Read structure domain fixed value text 20091029
7 GET_NETVER_HEADER_DATA Instance method Public Method Read netwerk version object header data 20091029
8 GET_NETWORK_VERSION Instance method Public Method Returns production network version object reference 20091026
9 READ_ALLOCATION_STATUS Instance method Private Method Read allocation status 20100125
10 RETRIEVE_ALLOCATION_RESULTS Instance method Private Method Read allocation results 20091127
11 RETRIEVE_PN_GENERAL_DATA Instance method Private Method Retrieve production network general data 20100120
12 START_READ_ALLOC_STATUS Instance method Public Method Start reading allocation status via RFC function 20100125
13 TRIGGER_CAPACITY_ALLOCATION Instance method Public Method Trigger Capacity Allocation Run 20091023
Events
# Event Type Visibility Description Created on
1 EVT_CAPALLOC_RESULTS_RETRIEVED Instance Event
(0)
Public
(2)
Event after retrieving allocation results 20091127
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTYS_BO_PROD_NW_GD Public See coding line type for production network general data 20100118 BEGIN OF LTYS_BO_PROD_NW_GD, GHO_NETOBJ_TYPE TYPE GHO_NETOBJ_TYPE, TPLNR TYPE TPLNR, GHO_PN_DESC TYPE PLTXT, SYSTEM_ID TYPE GHO_MII_INSTANCE, GHO_PN_TZ TYPE GHO_PN_TZ, GHO_PN_SBD TYPE GHO_PN_START_BUS_DAY, GHO_PN_NW_ALLOC TYPE BOOLE_D, NETID TYPE NETID, END OF LTYS_BO_PROD_NW_GD
2 LTYS_TASK_CAPALLOC Public See coding line type for RFC task definition read alloc status 20091119 BEGIN OF LTYS_TASK_CAPALLOC , task(4) TYPE c, netid TYPE gho_netid, id TYPE gho_pp_netverid, capalloc TYPE REF TO CL_GHO_PP_CAPALLOC, END OF ltys_task_capalloc
3 LTYT_BO_PROD_NW_GD Public See coding table type for production network general data 20100118 LTYT_BO_PROD_NW_GD TYPE SORTED TABLE OF LTYS_BO_PROD_NW_GD WITH UNIQUE KEY tplnr
4 LTYT_TASK_CAPALLOC Public See coding table type RFC task definiton read alloc status 20091119 LTYT_TASK_CAPALLOC TYPE SORTED TABLE OF LTYS_TASK_CAPALLOC WITH UNIQUE KEY netid id
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_NETVER Call by reference Object reference (TYPE REF TO) CL_GHO_PP_NETVER GHO Production Network Versions 20091026
2 Importing IV_PN_NETOBJ_ID Value transfer Type reference (TYPE) GHO_NETOBJ_ID GHO: Network Object ID of the Production Network 20091214
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_IMPORT_PARAMS 20091026

Method DETERMINE_CAPALLOC_DATA Signature

Method DETERMINE_CAPALLOC_DATA on class CL_GHO_PP_CAPALLOC has no parameter.
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_CAPALLOC OTE Capacity Allocation Exceptions 20091222

Method DETERMINE_CAPALLOC_START_DATE Signature

Method DETERMINE_CAPALLOC_START_DATE on class CL_GHO_PP_CAPALLOC has no parameter.
Method DETERMINE_CAPALLOC_START_DATE on class CL_GHO_PP_CAPALLOC has no exception.

Method DETERMINE_NETVER_DATA Signature

Method DETERMINE_NETVER_DATA on class CL_GHO_PP_CAPALLOC has no parameter.
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_CAPALLOC OTE Capacity Allocation Exceptions 20091026

Method EVALUATE_ALLOCATION_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ALLOCATION_STATUS Call by reference Type reference (TYPE) GHO_T_ALLOC_RESULT_H Table type to hold allocation result header information 20091124
2 Importing IV_ALLOCATION_RUN_ID Call by reference Type reference (TYPE) GHO_ALLOC_RUN_ID Identifier for an instance of the allocation engine run 20091124
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_CAPALLOC OTE Capacity Allocation Exceptions 20091124

Method GET_DOMAIN_VALUE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOMAIN_NAME Call by reference Type reference (TYPE) DDOBJNAME Name of ABAP Dictionary Object 20091029
2 Importing IV_DOMAIN_VALUE Call by reference Type reference (TYPE) DOMVALUE_L Values for Domains: Single Value / Upper Limit 20091029
3 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SYLANGU SY-LANGU Language Key of Current Text Environment 20091029
4 Returning RS_DD07V Value transfer Type reference (TYPE) DD07V Structure domain fixed value text 20091029
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_CAPALLOC OTE Capacity Allocation Exceptions 20091029

Method GET_NETVER_HEADER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_NETVER Call by reference Object reference (TYPE REF TO) CL_GHO_PP_NETVER GHO Production Network Versions 20091029
2 Returning RS_NETVERSION Value transfer Type reference (TYPE) GHO_S_NETVER_HDR Header Data of a Production Network Version 20091029

Method GET_NETVER_HEADER_DATA on class CL_GHO_PP_CAPALLOC has no exception.

Method GET_NETWORK_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_NETVER Value transfer Object reference (TYPE REF TO) CL_GHO_PP_NETVER GHO Production Network Versions 20091026

Method GET_NETWORK_VERSION on class CL_GHO_PP_CAPALLOC has no exception.

Method READ_ALLOCATION_STATUS Signature

Method READ_ALLOCATION_STATUS on class CL_GHO_PP_CAPALLOC has no parameter.
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_CAPALLOC OTE Capacity Allocation Exceptions 20100125

Method RETRIEVE_ALLOCATION_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ALLOCATION_RUN_ID Call by reference Type reference (TYPE) GHO_ALLOC_RUN_ID Identifier for an instance of the allocation engine run 20091127
2 Importing IV_EVT_RESULTS_RETRIEVED Call by reference Type reference (TYPE) FLAG SPACE Indicator for raise evt results retrieved 20091127
3 Returning RT_ALLOC_RESULTS Value transfer Type reference (TYPE) GHO_T_ALLOC_RESULT_PP Table Allocation Results 20091127
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_CAPALLOC OTE Capacity Allocation Exceptions 20091127

Method RETRIEVE_PN_GENERAL_DATA Signature

Method RETRIEVE_PN_GENERAL_DATA on class CL_GHO_PP_CAPALLOC has no parameter.
Method RETRIEVE_PN_GENERAL_DATA on class CL_GHO_PP_CAPALLOC has no exception.

Method START_READ_ALLOC_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NETVER_HEADER Call by reference Type reference (TYPE) GHO_S_NETVER_HDR Header Data of a Production Network Version 20100125
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_CAPALLOC OTE Capacity Allocation Exceptions 20100125

Method TRIGGER_CAPACITY_ALLOCATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CAPALLOC_DATE Value transfer Type reference (TYPE) D 20091126
2 Exporting EV_CAPALLOC_EXEC_CODE Value transfer Type reference (TYPE) GHO_PP_CAPALLOC_EXEC Capacity Allocation Execution Code 20091126
3 Exporting EV_CAPALLOC_RUN_ID Value transfer Type reference (TYPE) GHO_ALLOC_RUN_ID Capacity Allocation Run ID 20091126
4 Exporting EV_CAPALLOC_START_TS Value transfer Type reference (TYPE) TIMESTAMP Time Stamp Capacity Allocation Run 20091126
5 Exporting EV_CAPALLOC_TIME Value transfer Type reference (TYPE) T 20091126
6 Exporting EV_CAPALLOC_USER Value transfer Type reference (TYPE) SYUNAME User Name 20091126
7 Exporting EV_PN_NETOBJ_ID Value transfer Type reference (TYPE) GHO_NETOBJ_ID GHO: Network Object ID of the Production Network 20091214
8 Importing IV_CC_RESULT Value transfer Type reference (TYPE) GHO_PP_NETVER_CHKRES Actual Consistency Check Result Production Network Version 20091221
# Exception Resumable Description Created on
1 CX_GHO_PP_ALLOCATION_IF Exceptions GHO API PP - Allocation 20091123
2 CX_GHO_PP_OTE_CAPALLOC OTE Capacity Allocation Exceptions 20091029
3 CX_GHO_PP_OTE_DB DB exceptions 20091123
4 CX_GHO_PP_OTE_IMPORT_PARAMS Import parameter exceptions 20091123
5 CX_GHO_PP_OTE_LOCKS Lock exceptions 20091123
Event Signatures

Event EVT_CAPALLOC_RESULTS_RETRIEVED Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 ALLOCATION_RESULTS Exporting Value transfer Type reference (TYPE) GHO_T_ALLOC_RESULT_PP Table type to store PP related allocation result 20091201
2 NETID Exporting Value transfer Type reference (TYPE) GHO_NETID GHO Production Network identification 20091201
3 NETVERID Exporting Value transfer Type reference (TYPE) GHO_PP_NETVERID GHO Production Network Version Identification 20091201
History
Last changed by/on SAP  20110908 
SAP Release Created in 605