SAP ABAP Class CL_ERP_CO_OLC_TOOLS (OAA: Common methods for processing blocks)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
CO (Application Component) Controlling
⤷
ERP_CO_OLC (Package) Operation Level Costing xApp Functions
⤷
⤷
Properties
| Class | CL_ERP_CO_OLC_TOOLS | |
| Short Description | OAA: Common methods for processing blocks | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ERP_CO_OLC_E | |
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | ERP_CO_OLC | Operation Level Costing xApp Functions |
| Created | 20090904 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ERP_CO_OLC_TOOLS has no interface implemented.
Friends
Class CL_ERP_CO_OLC_TOOLS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | AUFTYP | '30' | Order Type INST | 20090904 | ||
| 2 | Constant | Public | Type reference (TYPE) | J_OBART | 'OV' | Object Type OV | 20091016 | ||
| 3 | Static Attribute | Protected | Type reference (TYPE) | TJ01T | Business Transaction Texts | 20091217 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Determine if a field should be displayed | 20091015 | |
| 2 | Static method | Public | Method | Check if business transaction is valid for OLC sub-peration | 20091217 | |
| 3 | Static method | Public | Method | Convert an order/operation external format to an internal | 20091106 | |
| 4 | Static method | Public | Method | Convert an order from external format to an internal one | 20091106 | |
| 5 | Static method | Public | Method | For given OLC order get all linked AFVC operations | 20091014 | |
| 6 | Static method | Public | Method | For given OV object number get OR of OLC order | 20091125 | |
| 7 | Static method | Public | Method | Check order type supports OLC or activities | 20100624 | |
| 8 | Static method | Public | Method | Returns true when the Switch is on and OBART is OV | 20091016 | |
| 9 | Static method | Public | Method | Check 1) OLC switch && 2) order is operation ACC enabled | 20090908 | |
| 10 | Static method | Public | Method | Check 1) OLC switch && 2) order is operation ACC enabled | 20090918 | |
| 11 | Static method | Public | Method | OLC on and order is '30' Instandhaltung | 20090904 | |
| 12 | Static method | Public | Method | Check if order exists (=prerequisite of the other OLC method | 20100126 | |
| 13 | Static method | Public | Method | Returns a switched Where statement where autyp = '20' | 20090923 |
Events
Class CL_ERP_CO_OLC_TOOLS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_ABAPSOURCE | Public | See coding | 20090923 | t_abapsource TYPE STANDARD TABLE OF abapsource
|
Method Signatures
Method CHECK_FIELD_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DISPLAY | Call by reference | Type reference (TYPE) | FLAG | General Flag | 20091015 | |||
| 2 | I_DOMNAME | Call by reference | Type reference (TYPE) | CLIKE | 20091015 | ||||
| 3 | I_FIELDNAME | Call by reference | Type reference (TYPE) | CLIKE | 20091015 | ||||
| 4 | I_ROLLNAME | Call by reference | Type reference (TYPE) | CLIKE | 20091015 | ||||
| 5 | I_TABNAME | Call by reference | Type reference (TYPE) | CLIKE | 20091015 |
Method CHECK_FIELD_DISPLAY on class CL_ERP_CO_OLC_TOOLS has no exception.
Method CHECK_SUBOPERATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_AUFNR | Call by reference | Type reference (TYPE) | AUFK-AUFNR | Order Number | 20091217 | |||
| 2 | IM_SUMNR | Call by reference | Type reference (TYPE) | AFVC-SUMNR | Node number of the superior operation | 20091217 | |||
| 3 | IM_UVORN | Call by reference | Type reference (TYPE) | UVORN | Suboperation | 20091228 | |||
| 4 | IM_VORNR | Call by reference | Type reference (TYPE) | AFVGD-VORNR | Operation/Activity Number | 20091217 | |||
| 5 | IM_VRGNG | Call by reference | Type reference (TYPE) | J_VORGANG | Business Transaction | 20091217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business transaction forbidden on sub-operation | 20091217 |
Method EXT_OPER_GET_INT_OPER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_INT_OPERATION | Call by reference | Type reference (TYPE) | CO_AUFPL | Routing number of operations in the order | 20091106 | |||
| 2 | EF_INT_ORDER | Call by reference | Type reference (TYPE) | CO_APLZL | General counter for order | 20091106 | |||
| 3 | IF_EXT_OPERATION | Call by reference | Type reference (TYPE) | VORNR | Operation/Activity Number | 20091106 | |||
| 4 | IF_EXT_ORDER | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20091106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Not found | 20091106 |
Method EXT_ORDER_GET_INT_ORDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_INT_ORDER | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20091106 | |||
| 2 | IF_EXT_ORDER | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20091106 |
Method EXT_ORDER_GET_INT_ORDER on class CL_ERP_CO_OLC_TOOLS has no exception.
Method GET_OPERATIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_AUFNR | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20091014 | |||
| 2 | RT_AFVC_TAB | Value transfer | Type reference (TYPE) | AFVC_T | Order Task Operations | 20091014 |
Method GET_OPERATIONS on class CL_ERP_CO_OLC_TOOLS has no exception.
Method GET_OR_FOR_OV_OBJNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJNR_OV | Call by reference | Type reference (TYPE) | J_OBJNR | Object number of operation | 20091125 | |||
| 2 | RV_OBJNR_OR | Value transfer | Type reference (TYPE) | J_OBJNR | Object number of OLC order | 20091125 |
Method GET_OR_FOR_OV_OBJNR on class CL_ERP_CO_OLC_TOOLS has no exception.
Method IS_NOT_OLC_RELEVANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AUFNR | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20100624 | |||
| 2 | RV_NOT_OLC_RELEVANT | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100624 |
Method IS_NOT_OLC_RELEVANT on class CL_ERP_CO_OLC_TOOLS has no exception.
Method IS_OBJEKTART_OV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBART | Call by reference | Type reference (TYPE) | J_OBART | Object Type | 20091016 | |||
| 2 | RV_OBART_OV | Value transfer | Type reference (TYPE) | CL_ERP_CO_OLC_SW_CHECK=>SWITCH_ACTIVE | 20091016 |
Method IS_OBJEKTART_OV on class CL_ERP_CO_OLC_TOOLS has no exception.
Method IS_OLC_RELEVANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NETZKONT | Call by reference | Type reference (TYPE) | NETZKONT | Object in edited format | 20090909 | |||
| 2 | RV_OLC_RELEVANT | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20090908 |
Method IS_OLC_RELEVANT on class CL_ERP_CO_OLC_TOOLS has no exception.
Method IS_REL_FOR_ORDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AUFNR | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20090918 | |||
| 2 | RV_OLC_RELEVANT | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20090918 |
Method IS_REL_FOR_ORDER on class CL_ERP_CO_OLC_TOOLS has no exception.
Method OLC_AUFTYP_INST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AUFTYP | Call by reference | Type reference (TYPE) | AUFTYP | Order Category | 20090904 | |||
| 2 | RV_OLC_MAINT_ORDER | Value transfer | Type reference (TYPE) | CL_ERP_CO_OLC_SW_CHECK=>SWITCH_ACTIVE | Boolean Variable (X=True, -=False, Space=Unknown) | 20090904 |
Method OLC_AUFTYP_INST on class CL_ERP_CO_OLC_TOOLS has no exception.
Method ORDER_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AUFNR | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20100126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Order does not exists | 20100126 |
Method WHERE_AUTYP_20 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WHERE | Call by reference | Type reference (TYPE) | T_ABAPSOURCE | 20090923 |
Method WHERE_AUTYP_20 on class CL_ERP_CO_OLC_TOOLS has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 605 |