SAP ABAP Class CL_GHO_ALLOC_EXT_API (Wrappers for external APIs)
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_EXT_API | |
| Short Description | Wrappers for external APIs | |
| 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 | 20090923 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_GHO_ALLOC_EXT_API has no forward declaration.
Interfaces
Class CL_GHO_ALLOC_EXT_API has no interface implemented.
Friends
Class CL_GHO_ALLOC_EXT_API has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_GHO_ALLOC_DB | DB layer | 20100811 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | GHO_T_PLANNED_OFR | Table Type for OFR for Planned | 20110608 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | GHO_T_WELLTEST | Table type for well test data | 20110601 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Gets the downtime records for given well completion/well | 20090923 | |
| 2 | Static method | Public | Method | Get measurement over a time horizon | 20101004 | |
| 3 | Static method | Public | Method | Get the node operating flow rate | 20091103 | |
| 4 | Static method | Public | Method | Get the planned downtime for the functional location | 20100719 | |
| 5 | Static method | Public | Method | Get the Simulation downtime for the functional location | 20110201 | |
| 6 | Static method | Public | Method | Get the simulation operating flow rate | 20110201 | |
| 7 | Static method | Public | Method | Gets the well completions attached to given well | 20091001 | |
| 8 | Static method | Public | Method | Gets the well test records for given well completions | 20090923 |
Events
Class CL_GHO_ALLOC_EXT_API has no event.
Types
Class CL_GHO_ALLOC_EXT_API has no local type.
Method Signatures
Method GET_DOWNTIMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DOWNTIME | Call by reference | Type reference (TYPE) | GHO_S_DOWNTIME | Downtime for nodes | 20091007 | |||
| 2 | ET_DOWNTIME | Call by reference | Type reference (TYPE) | GHO_T_DOWNTIME | Downtime for nodes | 20090925 | |||
| 3 | EV_DOWNTIME_DURATION | Call by reference | Type reference (TYPE) | AUSZT | Breakdown Duration | 20100826 | |||
| 4 | EV_DOWNTIME_DURATION_UOM | Call by reference | Type reference (TYPE) | MAUEH | Unit for Breakdown Duration | 20100826 | |||
| 5 | IV_FROM_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20091015 | |||
| 6 | IV_FROM_TIME | Call by reference | Type reference (TYPE) | SY-TIMLO | Local Time of Current User | 20091015 | |||
| 7 | IV_FUNC_LOCATION | Call by reference | Type reference (TYPE) | TPLNR | Functional Location | 20090925 | |||
| 8 | IV_NOTIFICATION_NR | Call by reference | Type reference (TYPE) | QMNUM | Notification No | 20091007 | |||
| 9 | IV_TO_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20091015 | |||
| 10 | IV_TO_TIME | Call by reference | Type reference (TYPE) | SY-TIMLO | Local Time of Current User | 20091015 |
Method GET_DOWNTIMES on class CL_GHO_ALLOC_EXT_API has no exception.
Method GET_MEASUREMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MD_EXT | Call by reference | Type reference (TYPE) | GHO_T_IMRG_EXT | Table Measurement Document Ext table | 20101007 | |||
| 2 | ET_MD_ITEM | Call by reference | Type reference (TYPE) | GHO_T_IMRG_ITEM | Table type GHO Measurement Document Items | 20101007 | |||
| 3 | ET_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20101007 | |||
| 4 | IT_FREQUENCY | Call by reference | Type reference (TYPE) | GHO_T_SEL_CRIT | Frequencies | 20101007 | |||
| 5 | IT_MEDIUM | Call by reference | Type reference (TYPE) | GHO_T_SEL_CRIT | Media Used in a Production Network | 20101007 | |||
| 6 | IT_MP_IDS | Call by reference | Type reference (TYPE) | GHO_T_SEL_CRIT | Table Type for Measurment Point IDs | 20101007 | |||
| 7 | IT_OBJ_IDS | Call by reference | Type reference (TYPE) | GHO_T_NETOBJ_ID_EXT | Table Type for External Network Object IDs | 20101007 | |||
| 8 | IT_QTY_TYPE | Call by reference | Type reference (TYPE) | GHO_T_SEL_CRIT | Table Type for Quantity Types | 20101007 | |||
| 9 | IV_DATE_FROM | Call by reference | Type reference (TYPE) | IMRC_IDATE | Date of the Measurement | 20101007 | |||
| 10 | IV_DATE_TO | Call by reference | Type reference (TYPE) | IMRC_IDATE | Date of the Measurement | 20101007 | |||
| 11 | IV_TIME_FROM | Call by reference | Type reference (TYPE) | IMRC_ITIME | Time of Measurement | 20101007 | |||
| 12 | IV_TIME_TO | Call by reference | Type reference (TYPE) | IMRC_ITIME | Time of Measurement | 20101007 |
Method GET_MEASUREMENTS on class CL_GHO_ALLOC_EXT_API has no exception.
Method GET_NODE_OFR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_NODE_OFR | Call by reference | Type reference (TYPE) | GHO_T_PLANNED_OFR | Table Type for OFR for Planned | 20091103 | |||
| 2 | IV_MEDIUM | Call by reference | Type reference (TYPE) | GHO_PRODUCT | Product on which allocation is performed (Oil, Gas, Water..) | 20091103 | |||
| 3 | IV_NODE | Call by reference | Type reference (TYPE) | TPLNR | Functional Location | 20091103 | |||
| 4 | IV_STD_UOM | Call by reference | Type reference (TYPE) | MSEHI | Unit of Measurement | 20091204 |
Method GET_NODE_OFR on class CL_GHO_ALLOC_EXT_API has no exception.
Method GET_PLND_DOWNTIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DOWNTIME | Call by reference | Type reference (TYPE) | GHO_T_PLAN_DOWNTIME | Table type for planned downtime records | 20100826 | |||
| 2 | EV_DOWNTIME_DURATION | Call by reference | Type reference (TYPE) | AUSZT | Downtime for nodes | 20100720 | |||
| 3 | EV_DOWNTIME_DURATION_UOM | Call by reference | Type reference (TYPE) | MAUEH | Unit of downtime for nodes | 20100720 | |||
| 4 | IV_FROM_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20100719 | |||
| 5 | IV_FROM_TIME | Value transfer | Type reference (TYPE) | SY-TIMLO | Local Time of Current User | 20100719 | |||
| 6 | IV_FUNC_LOCATION | Call by reference | Type reference (TYPE) | TPLNR | Functional Location | 20100719 | |||
| 7 | IV_TO_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20100719 | |||
| 8 | IV_TO_TIME | Value transfer | Type reference (TYPE) | SY-TIMLO | Local Time of Current User | 20100719 |
Method GET_PLND_DOWNTIME on class CL_GHO_ALLOC_EXT_API has no exception.
Method GET_SIMU_DOWNTIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DOWNTIME | Call by reference | Type reference (TYPE) | GHO_T_PLAN_DOWNTIME | Table type for planned downtime records | 20110201 | |||
| 2 | EV_DOWNTIME_DURATION | Call by reference | Type reference (TYPE) | AUSZT | Breakdown Duration | 20110201 | |||
| 3 | EV_DOWNTIME_DURATION_UOM | Call by reference | Type reference (TYPE) | MAUEH | Unit for Breakdown Duration | 20110201 | |||
| 4 | IV_FROM_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20110201 | |||
| 5 | IV_FROM_TIME | Value transfer | Type reference (TYPE) | SY-TIMLO | Local Time of Current User | 20110201 | |||
| 6 | IV_FUNC_LOCATION | Call by reference | Type reference (TYPE) | TPLNR | Functional Location | 20110201 | |||
| 7 | IV_NETWORK_ID | Call by reference | Type reference (TYPE) | GHO_NETOBJ_ID | Network Object ID | 20110201 | |||
| 8 | IV_SIMU_ID | Call by reference | Type reference (TYPE) | GHO_SIMU_ID | Simulation ID | 20110201 | |||
| 9 | IV_TO_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20110201 | |||
| 10 | IV_TO_TIME | Value transfer | Type reference (TYPE) | SY-TIMLO | Local Time of Current User | 20110201 |
Method GET_SIMU_DOWNTIME on class CL_GHO_ALLOC_EXT_API has no exception.
Method GET_SIMU_NODE_OFR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_NODE_OFR | Call by reference | Type reference (TYPE) | GHO_T_PLANNED_OFR | Table Type for OFR for Planned | 20110201 | |||
| 2 | IV_MEDIUM | Call by reference | Type reference (TYPE) | GHO_PRODUCT | Product on which Allocation is Performed (Oil, Gas, Water) | 20110201 | |||
| 3 | IV_NETWORK_ID | Call by reference | Type reference (TYPE) | GHO_NETOBJ_ID | Network Object ID | 20110201 | |||
| 4 | IV_NODE | Call by reference | Type reference (TYPE) | TPLNR | Functional Location | 20110201 | |||
| 5 | IV_SIMU_ID | Call by reference | Type reference (TYPE) | GHO_SIMU_ID | Simulation ID | 20110201 | |||
| 6 | IV_STD_UOM | Call by reference | Type reference (TYPE) | MSEHI | Unit of Measurement | 20110201 |
Method GET_SIMU_NODE_OFR on class CL_GHO_ALLOC_EXT_API has no exception.
Method GET_WCS_FOR_WELL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WC | Call by reference | Type reference (TYPE) | GHO_T_WC | Well Completions | 20091006 | |||
| 2 | IV_WELL_ID | Call by reference | Type reference (TYPE) | TPLNR | Functional Location | 20091006 |
Method GET_WCS_FOR_WELL on class CL_GHO_ALLOC_EXT_API has no exception.
Method GET_WELLTESTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WELL_TEST | Call by reference | Type reference (TYPE) | GHO_T_WELLTEST | Table type for well test data | 20091001 | |||
| 2 | IT_WELL_COMPLETION | Call by reference | Type reference (TYPE) | GHO_T_WC | Well Completions | 20090929 | |||
| 3 | IV_ENGINE_FLAG | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20110609 | |||
| 4 | IV_INSPLOT_NO | Call by reference | Type reference (TYPE) | QIBPLOSNR | Inspection Lot Number | 20101004 | |||
| 5 | IV_NUM_OF_TESTS | Call by reference | Type reference (TYPE) | GHO_NUM_OF_TESTS | Number of tests for Thoeretical Calculation Methods | 20110601 | |||
| 6 | IV_TCM_EX_REC_FLAG | Call by reference | Type reference (TYPE) | FLAG | General Flag | 20110617 | |||
| 7 | IV_VALID_FROM | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20101004 | |||
| 8 | IV_VALID_FROM_TIME | Call by reference | Type reference (TYPE) | TIMS | Field of type TIMS | 20101006 | |||
| 9 | IV_VALID_TO | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20101004 | |||
| 10 | IV_VALID_TO_TIME | Call by reference | Type reference (TYPE) | TIMS | Field of type TIMS | 20101006 | |||
| 11 | IV_WELL_ID | Call by reference | Type reference (TYPE) | TPLNR | Functional Location | 20091001 |
Method GET_WELLTESTS on class CL_GHO_ALLOC_EXT_API has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 605 |