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 | Constant | Public | Type reference (TYPE) | DDOBJNAME | 'GHO_PP_NETVER_CHKRES' | Name of ABAP Dictionary Object | 20091222 | ||
| 2 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_GHO_PP_CONSTANTS | Class for global PP constants | 20091026 | |||
| 3 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_GHO_PP_NETVER | GHO Production Network Versions | 20091026 | |||
| 4 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_GHO_PP_ALLOCATION_IF | Interface PP - Allocation | 20091029 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | GHO_S_NETVER_HDR | Header Data of a Production Network Version | 20091026 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | GHO_T_ALLOC_RESULT_PP | Table allocation results | 20091126 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | GHO_T_ALLOC_RESULT_H | Table type to hold allocation result header information | 20091204 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | GHO_T_MEDIUM | Mediums used in a Production Network | 20091204 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | GHO_ALLOC_DIRECTION | GHO: Allocation Direction. | 20091204 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | GHO_ALLOC_PURPOSE | Allocation Purpose | 20091204 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | GHO_ALLOC_TYPE | Value for Capacity Allocation | 20091029 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | D | Capacity Allocation Start Date | 20091029 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | C | Indicator Daylight Saving Time | 20091029 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | GHO_PP_CAPALLOC_EXEC | Capacity Allocation Execution Code | 20091026 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | GHO_ALLOC_RUN_ID | Identifier for an instance of the allocation engine run | 20091113 | |||
| 16 | Instance attribute | Public | Type reference (TYPE) | T | Capacity Allocatiton Start Time | 20091029 | |||
| 17 | Instance attribute | Public | Type reference (TYPE) | SYUNAME | User Name | 20091126 | |||
| 18 | Instance attribute | Public | Type reference (TYPE) | GHO_NETID | GHO Production Network identification | 20091023 | |||
| 19 | Instance attribute | Public | Type reference (TYPE) | GHO_PP_NETVER_CHKRES | Consistency Check Result of a Production Network Version | 20091026 | |||
| 20 | Instance attribute | Public | Type reference (TYPE) | GHO_PP_NETVERID | GHO Production Network Version Identification | 20091029 | |||
| 21 | Instance attribute | Public | Type reference (TYPE) | GHO_ALLOC_FREQUENCY | Allocation Frequency | 20091026 | |||
| 22 | Instance attribute | Public | Type reference (TYPE) | TIMEZONE | Time Zone Network | 20091029 | |||
| 23 | Instance attribute | Public | Type reference (TYPE) | GHO_NETOBJ_ID | GHO: Network Object ID of the Production Network | 20091214 | |||
| 24 | 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 | Instance method | Public | Constructor | 20091023 | ||
| 2 | Instance method | Private | Method | Determine all necessary data for capacity allocation | 20091029 | |
| 3 | Instance method | Private | Method | Determine time stamp for the capacity allocation start date | 20091029 | |
| 4 | Instance method | Private | Method | Determine all necessary data from the version | 20091026 | |
| 5 | Instance method | Private | Method | Evaluate allocation status | 20091124 | |
| 6 | Instance method | Private | Method | Read structure domain fixed value text | 20091029 | |
| 7 | Instance method | Public | Method | Read netwerk version object header data | 20091029 | |
| 8 | Instance method | Public | Method | Returns production network version object reference | 20091026 | |
| 9 | Instance method | Private | Method | Read allocation status | 20100125 | |
| 10 | Instance method | Private | Method | Read allocation results | 20091127 | |
| 11 | Instance method | Private | Method | Retrieve production network general data | 20100120 | |
| 12 | Instance method | Public | Method | Start reading allocation status via RFC function | 20100125 | |
| 13 | 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 | IO_NETVER | Call by reference | Object reference (TYPE REF TO) | CL_GHO_PP_NETVER | GHO Production Network Versions | 20091026 | |||
| 2 | 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 | 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 | 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 | 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 | IT_ALLOCATION_STATUS | Call by reference | Type reference (TYPE) | GHO_T_ALLOC_RESULT_H | Table type to hold allocation result header information | 20091124 | |||
| 2 | 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 | 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 | IV_DOMAIN_NAME | Call by reference | Type reference (TYPE) | DDOBJNAME | Name of ABAP Dictionary Object | 20091029 | |||
| 2 | IV_DOMAIN_VALUE | Call by reference | Type reference (TYPE) | DOMVALUE_L | Values for Domains: Single Value / Upper Limit | 20091029 | |||
| 3 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | Language Key of Current Text Environment | 20091029 | ||
| 4 | RS_DD07V | Value transfer | Type reference (TYPE) | DD07V | Structure domain fixed value text | 20091029 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IR_NETVER | Call by reference | Object reference (TYPE REF TO) | CL_GHO_PP_NETVER | GHO Production Network Versions | 20091029 | |||
| 2 | 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 | 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 | 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 | 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 | IV_EVT_RESULTS_RETRIEVED | Call by reference | Type reference (TYPE) | FLAG | SPACE | Indicator for raise evt results retrieved | 20091127 | ||
| 3 | RT_ALLOC_RESULTS | Value transfer | Type reference (TYPE) | GHO_T_ALLOC_RESULT_PP | Table Allocation Results | 20091127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | 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 | EV_CAPALLOC_DATE | Value transfer | Type reference (TYPE) | D | 20091126 | ||||
| 2 | EV_CAPALLOC_EXEC_CODE | Value transfer | Type reference (TYPE) | GHO_PP_CAPALLOC_EXEC | Capacity Allocation Execution Code | 20091126 | |||
| 3 | EV_CAPALLOC_RUN_ID | Value transfer | Type reference (TYPE) | GHO_ALLOC_RUN_ID | Capacity Allocation Run ID | 20091126 | |||
| 4 | EV_CAPALLOC_START_TS | Value transfer | Type reference (TYPE) | TIMESTAMP | Time Stamp Capacity Allocation Run | 20091126 | |||
| 5 | EV_CAPALLOC_TIME | Value transfer | Type reference (TYPE) | T | 20091126 | ||||
| 6 | EV_CAPALLOC_USER | Value transfer | Type reference (TYPE) | SYUNAME | User Name | 20091126 | |||
| 7 | EV_PN_NETOBJ_ID | Value transfer | Type reference (TYPE) | GHO_NETOBJ_ID | GHO: Network Object ID of the Production Network | 20091214 | |||
| 8 | 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 | Exceptions GHO API PP - Allocation | 20091123 | ||
| 2 | OTE Capacity Allocation Exceptions | 20091029 | ||
| 3 | DB exceptions | 20091123 | ||
| 4 | Import parameter exceptions | 20091123 | ||
| 5 | 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 |