SAP ABAP Class CL_GHO_COMMON_UTILITIES (Utility class for GHO)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
PP-PN (Application Component) Production Network
⤷
APPL_GHO_COMMON (Package) Common Objects for GHO

⤷

⤷

Properties
Class | CL_GHO_COMMON_UTILITIES | |
Short Description | Utility class for GHO | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | APPL_GHO_COMMON | Common Objects for GHO |
Created | 20090929 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_GHO_COMMON_UTILITIES has no interface implemented.
Friends
Class CL_GHO_COMMON_UTILITIES has no friend class.
Attributes
Class CL_GHO_COMMON_UTILITIES has no attribute.
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Build messages | 20091103 |
2 | ![]() |
Static method | Public | Method | Add message to CT_MESSAGES | 20131108 |
3 | ![]() |
Static method | Public | Method | Break Up frequencies based upon FROM and TO frequencies | 20131108 |
4 | ![]() |
Static method | Public | Method | Adjust name for BRF formula context | 20131108 |
5 | ![]() |
Static method | Public | Method | Convert time UoM to hours | 20090929 |
6 | ![]() |
Static method | Public | Method | Based on the frequency build date range | 20091009 |
7 | ![]() |
Static method | Public | Method | Getting depended medium for network from dependent material | 20131108 |
8 | ![]() |
Static method | Public | Method | Get the period and UoM for frequency from customizing | 20090929 |
9 | ![]() |
Static method | Public | Method | Get number of days for a month | 20090930 |
10 | ![]() |
Static method | Public | Method | Get Date/Time of previous allocation run for a frequency | 20120213 |
11 | ![]() |
Static method | Public | Method | Get the Quantity types and their description | 20131108 |
12 | ![]() |
Static method | Public | Method | Get start and end date of a month | 20091007 |
13 | ![]() |
Static method | Public | Method | Get year and month for a date | 20090930 |
Events
Class CL_GHO_COMMON_UTILITIES has no event.
Types
Class CL_GHO_COMMON_UTILITIES has no local type.
Method Signatures
Method ADD_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRET2 | Table with BAPI Return Information | 20091103 | ||
2 | ![]() |
IV_MESSAGE_V1 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20091103 | ||
3 | ![]() |
IV_MESSAGE_V2 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20091103 | ||
4 | ![]() |
IV_MESSAGE_V3 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20091103 | ||
5 | ![]() |
IV_MESSAGE_V4 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20091103 | ||
6 | ![]() |
IV_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | Message Class | 20091103 | ||
7 | ![]() |
IV_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20091103 | ||
8 | ![]() |
IV_MTYPE | Call by reference | Type reference (TYPE) | BAPI_MTYPE | Message type: S Success, E Error, W Warning, I Info, A Abort | 20091103 |
Method ADD_MESSAGE on class CL_GHO_COMMON_UTILITIES has no exception.
Method ADD_MESSAGE2 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20131108 | ||
2 | ![]() |
ES_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20131108 | ||
3 | ![]() |
IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20131108 | ||
4 | ![]() |
IV_MESSAGE_V1 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV1 | Message Variable | 20131108 | |
5 | ![]() |
IV_MESSAGE_V2 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV2 | Message Variable | 20131108 | |
6 | ![]() |
IV_MESSAGE_V3 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV3 | Message Variable | 20131108 | |
7 | ![]() |
IV_MESSAGE_V4 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV4 | Message Variable | 20131108 | |
8 | ![]() |
IV_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | SY-MSGID | Message Class | 20131108 | |
9 | ![]() |
IV_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | SY-MSGNO | Message Number | 20131108 | |
10 | ![]() |
IV_MTYPE | Call by reference | Type reference (TYPE) | BAPI_MTYPE | SY-MSGTY | Message type: S Success, E Error, W Warning, I Info, A Abort | 20131108 |
Method ADD_MESSAGE2 on class CL_GHO_COMMON_UTILITIES has no exception.
Method BREAK_UP_FREQ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_FREQ_BREAK_UP | Call by reference | Type reference (TYPE) | GHO_TT_FREQ_BREAK_UP | Table type for Frequency Break up | 20131108 | ||
2 | ![]() |
IV_FROM_FREQUENCY | Call by reference | Type reference (TYPE) | GHO_ALLOC_FREQUENCY | Allocation Frequency | 20131108 | ||
3 | ![]() |
IV_FROM_TS | Call by reference | Type reference (TYPE) | GHO_VALID_FROM_TS | Valid from Timestamp | 20131108 | ||
4 | ![]() |
IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time Zone | 20131108 | ||
5 | ![]() |
IV_TO_FREQUENCY | Call by reference | Type reference (TYPE) | GHO_ALLOC_FREQUENCY | Allocation Frequency | 20131108 | ||
6 | ![]() |
IV_TO_TS | Call by reference | Type reference (TYPE) | GHO_VALID_TO_TS | Valid to Timestamp | 20131108 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Error while breaking up the frequency | 20131108 |
Method CHANG_NAME_FOR_FORMULA_CONTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_CONTEXT | Call by reference | Type reference (TYPE) | IF_GHO_TYPES=>TS_FORMULA_RAW_CONTEXT | 20131108 | |||
2 | ![]() |
CT_CONTEXT | Call by reference | Type reference (TYPE) | IF_GHO_TYPES=>TT_FORMULA_RAW_CONTEXT | 20131108 |
Method CHANG_NAME_FOR_FORMULA_CONTEXT on class CL_GHO_COMMON_UTILITIES has no exception.
Method CONVERT_TO_HOURS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_HRS | Call by reference | Type reference (TYPE) | FLOAT | Natural Number | 20090929 | ||
2 | ![]() |
IV_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20090930 | ||
3 | ![]() |
IV_PERIOD | Call by reference | Type reference (TYPE) | FLOAT | Period definition of frequency | 20090929 | ||
4 | ![]() |
IV_UOM | Call by reference | Type reference (TYPE) | T006-MSEHI | Unit of Measurement | 20090929 |
Method CONVERT_TO_HOURS on class CL_GHO_COMMON_UTILITIES has no exception.
Method GET_DATE_RANGE_BO_FREQ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_END_DATE | Call by reference | Type reference (TYPE) | GHO_START_DATE_ALLOC | GHO START of TEST DATE | 20091009 | ||
2 | ![]() |
EV_END_TIME | Call by reference | Type reference (TYPE) | GHO_START_TIME_ALLOC | GHO START OF TEST TIME | 20091009 | ||
3 | ![]() |
EV_HRS | Call by reference | Type reference (TYPE) | FLOAT | Field of type FLTP | 20091009 | ||
4 | ![]() |
EV_START_DATE | Call by reference | Type reference (TYPE) | GHO_START_DATE_ALLOC | GHO START of TEST DATE | 20091009 | ||
5 | ![]() |
EV_START_TIME | Call by reference | Type reference (TYPE) | GHO_START_TIME_ALLOC | GHO START OF TEST TIME | 20091009 | ||
6 | ![]() |
EV_UOM | Call by reference | Type reference (TYPE) | GHO_FREQ_PERIOD_UNIT | Unit of Frequency Period | 20091012 | ||
7 | ![]() |
IV_FREQ | Call by reference | Type reference (TYPE) | GHO_ALLOC_FREQUENCY | Allocation Frequency | 20091009 | ||
8 | ![]() |
IV_PROD_DATE | Call by reference | Type reference (TYPE) | GHO_START_DATE_ALLOC | GHO START of TEST DATE | 20091009 | ||
9 | ![]() |
IV_PROD_TIME | Call by reference | Type reference (TYPE) | GHO_START_TIME_ALLOC | GHO START OF TEST TIME | 20091009 |
Method GET_DATE_RANGE_BO_FREQ on class CL_GHO_COMMON_UTILITIES has no exception.
Method GET_DEPENDED_MED_FOR_NETW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MED_MAT | Call by reference | Type reference (TYPE) | GHO_TT_NW_MED_MAT | Table type for medium and material for a network | 20131108 | ||
2 | ![]() |
IT_SIMU_ID | Call by reference | Type reference (TYPE) | GHO_T_SIMU_ID | Table type for simulation id | 20131108 | ||
3 | ![]() |
IV_ALLOC_BASIS | Call by reference | Type reference (TYPE) | GHO_ALLOC_BASIS | Allocation Basis | 20131108 | ||
4 | ![]() |
IV_FREQUENCY | Call by reference | Type reference (TYPE) | GHO_ALLOC_FREQUENCY | Allocation Frequency | 20131108 | ||
5 | ![]() |
IV_MEDIUM | Call by reference | Type reference (TYPE) | GHO_PRODUCT | Product on which Allocation is Performed (Oil, Gas, Water) | 20131108 | ||
6 | ![]() |
IV_NET_ID | Call by reference | Type reference (TYPE) | GHO_NETOBJ_ID | Network Object ID | 20131108 | ||
7 | ![]() |
IV_OBJ_DB | Call by reference | Object reference (TYPE REF TO) | CL_GHO_ALLOC_DB | DB Layer | 20131108 | ||
8 | ![]() |
IV_SIMU_ID | Call by reference | Type reference (TYPE) | GHO_SIMU_ID | Simulation ID | 20131108 | ||
9 | ![]() |
IV_VALID_FROM | Call by reference | Type reference (TYPE) | GHO_VALID_FROM_TS | Valid from Timestamp | 20131108 | ||
10 | ![]() |
IV_VALID_TO | Call by reference | Type reference (TYPE) | GHO_VALID_FROM_TS | Valid from Timestamp | 20131108 |
Method GET_DEPENDED_MED_FOR_NETW on class CL_GHO_COMMON_UTILITIES has no exception.
Method GET_FREQ_PERIOD_UOM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_PERIOD | Call by reference | Type reference (TYPE) | GHO_FREQUENCY_PERIOD | Period definition of frequency | 20090929 | ||
2 | ![]() |
EV_UOM | Call by reference | Type reference (TYPE) | GHO_FREQ_PERIOD_UNIT | Unit of Frequency Period | 20090929 | ||
3 | ![]() |
IV_FREQUENCY | Call by reference | Type reference (TYPE) | GHO_FREQUENCY-FREQUENCY_CODE | Frequency configuration | 20090929 |
Method GET_FREQ_PERIOD_UOM on class CL_GHO_COMMON_UTILITIES has no exception.
Method GET_NUMBER_OF_DAYS_PER_MONTH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_DAYS | Call by reference | Type reference (TYPE) | NUMC2 | Calendar day from the posting date | 20090930 | ||
2 | ![]() |
IV_MONTH | Call by reference | Type reference (TYPE) | T009B-BUMON | Posting date calendar month | 20090930 | ||
3 | ![]() |
IV_YEAR | Call by reference | Type reference (TYPE) | T009B-BDATJ | Posting date YYYY | 20090930 |
Method GET_NUMBER_OF_DAYS_PER_MONTH on class CL_GHO_COMMON_UTILITIES has no exception.
Method GET_PREV_ALLOC_DATE_TIME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_PREV_PROD_DATE | Call by reference | Type reference (TYPE) | GHO_START_DATE_ALLOC | Production Start Date | 20120213 | ||
2 | ![]() |
EV_PREV_PROD_TIME | Call by reference | Type reference (TYPE) | GHO_START_TIME_ALLOC | Production Start Time | 20120213 | ||
3 | ![]() |
IV_FREQ | Call by reference | Type reference (TYPE) | GHO_ALLOC_FREQUENCY | Allocation Frequency | 20120213 | ||
4 | ![]() |
IV_PROD_DATE | Call by reference | Type reference (TYPE) | GHO_START_DATE_ALLOC | Production Start Date | 20120213 | ||
5 | ![]() |
IV_PROD_TIME | Call by reference | Type reference (TYPE) | GHO_START_TIME_ALLOC | Production Start Time | 20120213 |
Method GET_PREV_ALLOC_DATE_TIME on class CL_GHO_COMMON_UTILITIES has no exception.
Method GET_QTY_TYPES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_QTY_TYPES | Call by reference | Type reference (TYPE) | GHO_T_DISP | Disposition Texts | 20131108 |
Method GET_QTY_TYPES on class CL_GHO_COMMON_UTILITIES has no exception.
Method GET_START_END_DATE_OF_MONTH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_END_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20091007 | ||
2 | ![]() |
EV_START_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20091007 | ||
3 | ![]() |
IV_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20091007 |
Method GET_START_END_DATE_OF_MONTH on class CL_GHO_COMMON_UTILITIES has no exception.
Method GET_YEAR_MONTH_FOR_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_MONTH | Call by reference | Type reference (TYPE) | T009B-BUMON | Posting date calendar month | 20090930 | ||
2 | ![]() |
EV_YEAR | Call by reference | Type reference (TYPE) | T009B-BDATJ | Posting date YYYY | 20090930 | ||
3 | ![]() |
IV_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20090930 |
Method GET_YEAR_MONTH_FOR_DATE on class CL_GHO_COMMON_UTILITIES has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 605 |