SAP ABAP Class CL_GHO_FORMULA_CALCULATOR (Formula Calculator)
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_FORMULA_CALCULATOR | |
Short Description | Formula Calculator | |
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 | 20130924 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_GHO_FORMULA_CALCULATOR has no interface implemented.
Friends
Class CL_GHO_FORMULA_CALCULATOR has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_GHO_ALLOC_DB | DB Layer | 20131108 | ||
2 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_GHO_DB_FACTORS_UTIL | DB Class for CRUD on Oil and Gas Entities | 20131108 | ||
3 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_GHO_DB_PE | DB Class for CRUD on Oil and Gas Entities | 20131108 | ||
4 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_T_ONG_FACT_HEADER_DB | Table type for object Factors header in database | 20131108 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_T_ONG_FIELD_FACT_ITEM_DB | Table type for Oil Field factor items in database | 20131108 | ||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | CL_GHO_FDT_CM_FACTOR_TL=>TT_DATA_OBJ_NAME_VALUE | 20131108 | |||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20131108 | ||
8 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_T_ALLOC_NET_LIST_DET | Table Type for Network Lists | 20131108 | ||
9 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_T_ONG_FACT_HEADER_DB | Table type for object Factors header in database | 20131108 | ||
10 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_T_ONG_FIELD_FACT_ITEM_DB | Table type for Oil Field factor items in database | 20131108 | ||
11 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_ALLOC_MATERIAL | Material relevant for allocation | 20131108 | ||
12 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_ALLOC_TYPE | Allocation Type | 20131108 | ||
13 | ![]() |
Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20131108 | |||
14 | ![]() |
Instance attribute | Private | Type reference (TYPE) | FDT_UUID | FDT: Universal Unique Identifier | 20131108 | ||
15 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_ALLOC_FREQUENCY | Allocation Frequency | 20131108 | ||
16 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20131108 | ||
17 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SYUZEIT | Current Time of Application Server | 20131108 | ||
18 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_NETOBJ_ID_EXT | External ID for Network Object | 20131108 | ||
19 | ![]() |
Instance attribute | Private | Type reference (TYPE) | MEDIU | Medium | 20131108 | ||
20 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_PFN_ID | ID of the Production Flow Network | 20131108 | ||
21 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_NODE_ID | ID of the Node in the Network | 20131108 | ||
22 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_PE_ID | Oil and Gas Entity ID | 20131108 | ||
23 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TPLNR | Functional Location | 20131108 | ||
24 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TZNTSTMPS | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20131108 | ||
25 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TZNTSTMPS | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20131108 | ||
26 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_QUANTITY | Quantity Measured/Planned against the Node:Vol,Mass,Energy | 20131108 | ||
27 | ![]() |
Instance attribute | Private | Type reference (TYPE) | GHO_QTY_TYPE | Quantity Type | 20131108 | ||
28 | ![]() |
Instance attribute | Private | Type reference (TYPE) | MSEHI | Unit of Measurement | 20131108 | ||
29 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20131108 | ||
30 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SYUZEIT | Current Time of Application Server | 20131108 |
Methods
Events
Class CL_GHO_FORMULA_CALCULATOR has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TS_QUANTITY | Private | See coding | 20131108 | BEGIN OF ts_quantity,
quantity_type TYPE gho_qty_type,
quantity TYPE gho_quantity,
END OF ts_quantity
|
||
2 | TT_QUANTITY | Private | See coding | 20131108 | tt_quantity TYPE STANDARD TABLE OF ts_quantity WITH KEY quantity_type
|
Method Signatures
Method BUILD_NODE_QUANTITY_MAP Signature
Method BUILD_NODE_QUANTITY_MAP on class CL_GHO_FORMULA_CALCULATOR has no parameter.
Method BUILD_NODE_QUANTITY_MAP on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method CALC_FORMULA_BASED_QUANTITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20131108 | ||
2 | ![]() |
EV_QUANTITY | Call by reference | Type reference (TYPE) | GHO_QUANTITY | Quantity Measured/Planned against the Node:Vol,Mass,Energy | 20131108 |
Method CALC_FORMULA_BASED_QUANTITY on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ALLOC_MATERIAL | Call by reference | Type reference (TYPE) | GHO_ALLOC_MATERIAL | Material relevant for allocation | 20131108 | ||
2 | ![]() |
IV_ALLOC_TYPE | Call by reference | Type reference (TYPE) | GHO_ALLOC_TYPE | Allocation Type | 20131108 | ||
3 | ![]() |
IV_FREQUENCY | Call by reference | Type reference (TYPE) | GHO_ALLOC_FREQUENCY | Allocation Frequency | 20131108 | ||
4 | ![]() |
IV_MEDIUM | Call by reference | Type reference (TYPE) | MEDIU | Medium | 20131108 | ||
5 | ![]() |
IV_NET_ID | Call by reference | Type reference (TYPE) | GHO_PFN_ID | ID of the Production Flow Network | 20131108 | ||
6 | ![]() |
IV_OBJ_ID | Call by reference | Type reference (TYPE) | GHO_NODE_ID | ID of the Node in the Network | 20131108 | ||
7 | ![]() |
IV_PROD_TIMESTAMP_FROM | Call by reference | Type reference (TYPE) | TZNTSTMPS | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20131108 | ||
8 | ![]() |
IV_PROD_TIMESTAMP_TO | Call by reference | Type reference (TYPE) | TZNTSTMPS | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20131108 | ||
9 | ![]() |
IV_QUANTITY_TYPE | Call by reference | Type reference (TYPE) | GHO_QTY_TYPE | Quantity Type | 20131108 | ||
10 | ![]() |
IV_STD_UOM | Call by reference | Type reference (TYPE) | MSEHI | Unit of Measurement | 20131108 |
Method CONSTRUCTOR on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method CONVERT_QUANTITY_FOR_UOM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_ERROR | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20131108 | |||
2 | ![]() |
EV_QUANTITY_OUT | Call by reference | Type reference (TYPE) | GHO_QUANTITY | Quantity Measured/Planned against the Node:Vol,Mass,Energy | 20131108 | ||
3 | ![]() |
IV_ALLOC_MATERIAL | Call by reference | Type reference (TYPE) | GHO_ALLOC_MATERIAL | Material relevant for allocation | 20131108 | ||
4 | ![]() |
IV_ALLOC_TYPE | Call by reference | Type reference (TYPE) | GHO_ALLOC_TYPE | Allocation Type | 20131108 | ||
5 | ![]() |
IV_FREQUENCY | Call by reference | Type reference (TYPE) | GHO_ALLOC_FREQUENCY | Allocation Frequency | 20131108 | ||
6 | ![]() |
IV_MEDIU | Call by reference | Type reference (TYPE) | MEDIU | Medium | 20131108 | ||
7 | ![]() |
IV_NETID | Call by reference | Type reference (TYPE) | GHO_PFN_ID | ID of the Production Flow Network | 20131108 | ||
8 | ![]() |
IV_NETOBJ | Call by reference | Type reference (TYPE) | GHO_NODE_ID | ID of the Node in the Network | 20131108 | ||
9 | ![]() |
IV_QUANTITY_IN | Call by reference | Type reference (TYPE) | GHO_QUANTITY | Quantity Measured/Planned against the Node:Vol,Mass,Energy | 20131108 | ||
10 | ![]() |
IV_QUANTITY_TYPE | Call by reference | Type reference (TYPE) | GHO_QTY_TYPE | Quantity Type | 20131108 | ||
11 | ![]() |
IV_UNIT_IN | Call by reference | Type reference (TYPE) | MSEHI | Unit of Measurement | 20131108 | ||
12 | ![]() |
IV_UNIT_OUT | Call by reference | Type reference (TYPE) | MSEHI | Unit of Measurement | 20131108 |
Method CONVERT_QUANTITY_FOR_UOM on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method EXECUTE_BRF_EXPRESSION Signature
Method EXECUTE_BRF_EXPRESSION on class CL_GHO_FORMULA_CALCULATOR has no parameter.
Method EXECUTE_BRF_EXPRESSION on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method FIND_DEP_MAT_QNTY_ONSELF_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_QUANTITY | Call by reference | Type reference (TYPE) | TT_QUANTITY | Functional Location (Table) | 20131108 |
Method FIND_DEP_MAT_QNTY_ONSELF_NODE on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method FIND_FORMULA_ON_NODE Signature
Method FIND_FORMULA_ON_NODE on class CL_GHO_FORMULA_CALCULATOR has no parameter.
Method FIND_FORMULA_ON_NODE on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method FIND_NEIGHBOURING_NODES Signature
Method FIND_NEIGHBOURING_NODES on class CL_GHO_FORMULA_CALCULATOR has no parameter.
Method FIND_NEIGHBOURING_NODES on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method FIND_NODE_QUANTITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_QUANTITY | Call by reference | Type reference (TYPE) | TT_QUANTITY | 20131108 | |||
2 | ![]() |
IS_NW_OBJECT | Call by reference | Type reference (TYPE) | GHO_S_ALLOC_NET_LIST_DET | Structure for Network List | 20131108 |
Method FIND_NODE_QUANTITY on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method FIND_PARENT_NETWORK_ID Signature
Method FIND_PARENT_NETWORK_ID on class CL_GHO_FORMULA_CALCULATOR has no parameter.
Method FIND_PARENT_NETWORK_ID on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method GET_FACTORS_FOR_CLUSTER Signature
Method GET_FACTORS_FOR_CLUSTER on class CL_GHO_FORMULA_CALCULATOR has no parameter.
Method GET_FACTORS_FOR_CLUSTER on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method GET_OBJECT_LIST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGES | Call by reference | Type reference (TYPE) | /PLMB/T_SPI_MSG | Message | 20131108 | ||
2 | ![]() |
ET_NW_OBJECTS | Call by reference | Type reference (TYPE) | GHO_T_ALLOC_NET_LIST_DET | Table Type for Network Lists for BO | 20131108 | ||
3 | ![]() |
IV_NETID | Call by reference | Type reference (TYPE) | GHO_NETOBJ_ID_EXT | External ID for Network Object | 20131108 | ||
4 | ![]() |
IV_VALID_FROM_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20131108 | ||
5 | ![]() |
IV_VALID_FROM_TIME | Call by reference | Type reference (TYPE) | TIMS | Field of type TIMS | 20131108 | ||
6 | ![]() |
IV_VALID_TO_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20131108 |
Method GET_OBJECT_LIST on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method GET_OIL_FIELD_FACTORS Signature
Method GET_OIL_FIELD_FACTORS on class CL_GHO_FORMULA_CALCULATOR has no parameter.
Method GET_OIL_FIELD_FACTORS on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method SUM_STD_QTY_FOR_QTY_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_QUANTITY | Call by reference | Type reference (TYPE) | TT_QUANTITY | 20131108 | |||
2 | ![]() |
IV_MATERIAL | Call by reference | Type reference (TYPE) | GHO_ALLOC_MATERIAL | Material relevant for allocation | 20131108 | ||
3 | ![]() |
IV_OBJ_ID | Call by reference | Type reference (TYPE) | GHO_NODE_ID | 20131108 | |||
4 | ![]() |
IV_QUANTITY_TYPE | Call by reference | Type reference (TYPE) | GHO_QTY_TYPE | Quantity Type | 20131108 |
Method SUM_STD_QTY_FOR_QTY_TYPE on class CL_GHO_FORMULA_CALCULATOR has no exception.
Method SUM_THEO_QTY_FOR_QTY_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_QUANTITY | Call by reference | Type reference (TYPE) | TT_QUANTITY | 20131108 | |||
2 | ![]() |
IV_MATERIAL | Call by reference | Type reference (TYPE) | GHO_ALLOC_MATERIAL | Material relevant for allocation | 20131108 | ||
3 | ![]() |
IV_OBJ_ID | Call by reference | Type reference (TYPE) | GHO_NODE_ID | ID of the Node in the Network | 20131108 | ||
4 | ![]() |
IV_QUANTITY_TYPE | Call by reference | Type reference (TYPE) | GHO_QTY_TYPE | Quantity Type | 20131108 |
Method SUM_THEO_QTY_FOR_QTY_TYPE on class CL_GHO_FORMULA_CALCULATOR has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in |