SAP ABAP Class CL_OLC_REPORT_TOOLS (OAA class for report enhancements)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
CO (Application Component) Controlling
⤷
ERP_CO_OLC (Package) Operation Level Costing xApp Functions

⤷

⤷

Properties
Class | CL_OLC_REPORT_TOOLS | |
Short Description | OAA class for report enhancements | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | ERP_CO_OLC | Operation Level Costing xApp Functions |
Created | 20091013 | SAP |
Last change | 20130531 | 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) |
3 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_OLC_REPORT_TOOLS has no interface implemented.
Friends
Class CL_OLC_REPORT_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) | CHAR1 | '*' | Status: Any/Asterix | 20091014 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | 'B' | Status: In Process | 20091014 | |
3 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | '-' | Status: Never | 20091014 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | '.' | Status: No | 20091014 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | 'U' | Status: Unknown | 20091014 | |
6 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | '+' | Status: Yes | 20091014 | |
7 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | 'O' | Status: OK | 20091014 | |
8 | ![]() |
Static Attribute | Public | Type reference (TYPE) | TY_T_TPIR2T | Table Type for Value Category Text | 20091110 | ||
9 | ![]() |
Static Attribute | Public | Type reference (TYPE) | CHAR1 | Costing Should be Used for Reporting | 20091014 | ||
10 | ![]() |
Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | OLC Enabled: Yes/No | 20091013 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Private | Method | Is the Field requested to be displayed in results list | 20091014 |
2 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20091013 |
3 | ![]() |
Static method | Public | Method | Get Texts for Value Category Codes | 20091110 |
4 | ![]() |
Static method | Public | Method | Make Header Cost Entries from Operation entries | 20091015 |
5 | ![]() |
Static method | Public | Method | Set Field Catalog for Reports | 20091013 |
6 | ![]() |
Static method | Public | Method | Set The Cost Flag (see GC_ for values) | 20091014 |
7 | ![]() |
Static method | Public | Method | Set Selection Screen Fields | 20091014 |
8 | ![]() |
Static method | Public | Method | Set Fields to be displayed for the ALV | 20091014 |
Events
Class CL_OLC_REPORT_TOOLS has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_S_ACPOS | Public | See coding | Structure for Value Category keys | 20091110 | BEGIN OF ty_s_acpos,
acpos TYPE pmco_kgr_op-acpos,
END OF ty_s_acpos
|
|
2 | TY_S_AUFNR | Public | See coding | Structure for Order Number | 20091015 | BEGIN OF ty_s_aufnr,
aufnr TYPE afko-aufnr,
END OF ty_s_aufnr
|
|
3 | TY_T_ACPOS | Public | See coding | Table Type for Value Category Keys | 20091110 | ty_t_acpos TYPE SORTED TABLE OF ty_s_acpos WITH UNIQUE DEFAULT KEY
|
|
4 | TY_T_AUFNR | Public | See coding | Table Type for Order Number | 20091015 | ty_t_aufnr TYPE STANDARD TABLE OF ty_s_aufnr
|
|
5 | TY_T_PMCO | Public | See coding | Table Type for PMCO | 20091015 | ty_t_pmco TYPE STANDARD TABLE OF pmco
|
|
6 | TY_T_PMCO_KGR_OP | Public | See coding | Table Type for PMCO_KGR_OP | 20091110 | ty_t_pmco_kgr_op TYPE STANDARD TABLE OF pmco_kgr_op
|
|
7 | TY_T_TPIR2T | Public | See coding | Table Type for Value Category Text | 20091110 | ty_t_tpir2t TYPE SORTED TABLE OF tpir2t
WITH UNIQUE KEY appl kokrs acpos
|
Method Signatures
Method CHECK_FIELD_DISPLAY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_ALV_FIELDCAT | Call by reference | Type reference (TYPE) | SLIS_T_FIELDCAT_ALV | ALV Current Fieldcat | 20091014 | ||
2 | ![]() |
EV_IS_DISPLAYED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Should be displayed or not | 20091014 | ||
3 | ![]() |
IT_ALV_FILTERS | Call by reference | Type reference (TYPE) | SLIS_T_FILTER_ALV | ALV Filters Defined | 20091014 | ||
4 | ![]() |
IV_FIELDNAME | Call by reference | Type reference (TYPE) | SLIS_FIELDNAME | Filed to check | 20091014 |
Method CHECK_FIELD_DISPLAY on class CL_OLC_REPORT_TOOLS has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_OLC_REPORT_TOOLS has no parameter.
Method CLASS_CONSTRUCTOR on class CL_OLC_REPORT_TOOLS has no exception.
Method GET_PMCO_VALUE_CATEGORY_TEXTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_TPIR2T | Call by reference | Type reference (TYPE) | TY_T_TPIR2T | Table Type for Value Category Text | 20091110 | ||
2 | ![]() |
IT_PMCO_KGR | Call by reference | Type reference (TYPE) | TY_T_PMCO_KGR_OP | PMCO extract: Plan/actual costs and revenues by val.category | 20091110 | ||
3 | ![]() |
IV_KOKRS | Call by reference | Type reference (TYPE) | KOKRS | Controlling Area | 20091110 |
Method GET_PMCO_VALUE_CATEGORY_TEXTS on class CL_OLC_REPORT_TOOLS has no exception.
Method MAKE_HEADER_COSTS_FROM_OP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_PMCO | Call by reference | Type reference (TYPE) | TY_T_PMCO | Cost structure of maintenance order | 20091015 | ||
2 | ![]() |
IT_AUFNR | Call by reference | Type reference (TYPE) | TY_T_AUFNR | Table Type for Order Number | 20091015 |
Method MAKE_HEADER_COSTS_FROM_OP on class CL_OLC_REPORT_TOOLS has no exception.
Method SET_ALV_FIELDCAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_FIELDCAT | Call by reference | Type reference (TYPE) | SLIS_T_FIELDCAT_ALV | ALV Field Catalogue | 20091013 | ||
2 | ![]() |
IV_REPID | Call by reference | Type reference (TYPE) | SY-REPID | Report Name | 20091013 |
Method SET_ALV_FIELDCAT on class CL_OLC_REPORT_TOOLS has no exception.
Method SET_COST_FLAG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_COST_FLAG | Call by reference | Type reference (TYPE) | CHAR1 | Cost flag - See Attributes | 20091014 |
Method SET_COST_FLAG on class CL_OLC_REPORT_TOOLS has no exception.
Method SET_SELECTION_SCREEN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_REPID | Call by reference | Type reference (TYPE) | SY-REPID | Calling Program | 20091014 |
Method SET_SELECTION_SCREEN on class CL_OLC_REPORT_TOOLS has no exception.
Method UPDATE_ALV_FIELDCAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_ALV_FIELDCAT | Call by reference | Type reference (TYPE) | SLIS_T_FIELDCAT_ALV | ALV Field catalogue | 20091014 | ||
2 | ![]() |
IT_ALV_FILTERS | Call by reference | Type reference (TYPE) | SLIS_T_FILTER_ALV | ALV Filters | 20091014 | ||
3 | ![]() |
IV_CPROG | Call by reference | Type reference (TYPE) | SY-CPROG | Caller Program | 20091014 |
Method UPDATE_ALV_FIELDCAT on class CL_OLC_REPORT_TOOLS has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 605 |