COKL2 SAP (CO Object: Control Data for Activity Types) Structure details
Description: CO Object: Control Data for Activity Types
Structure field list including key, data, relationships and ABAP select examples
COKL2 is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "CO Object: Control Data for Activity Types" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_COKL2 TYPE COKL2.
The COKL2 table consists of various fields, each holding specific information or linking keys about CO Object: Control Data for Activity Types data available in SAP. These include MANDT (Client), LEDNR (Ledger for Controlling objects), OBJNR (Object number), GJAHR (Fiscal Year).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP COKL2 structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
LEDNR | Ledger for Controlling objects | LEDNR | CHAR | 2 | ALPHA | LEDNR | |||
OBJNR | Object number | J_OBJNR | CHAR | 22 | ONR00 | J_OBJNR | ONR | ||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
VERSN | Version | VERSN | CHAR | 3 | TKA09 | ALPHA | COVERSI | KVS | |
TARKZ | Price Indicator: Calculate Allocation Price | TARKZ | CHAR | 3 | TKA10 | ALPHA | TARKZ | ||
VKSTA | Allocation Cost Element | VKSTA | CHAR | 10 | CSKA | ALPHA | KSTAR | ||
AUFKZ | Indicator for allocation of activity-independent costs | AUFKZ | CHAR | 1 | AUFKZ | ||||
AEQUI | Equivalence Numbers | AEQUI | DEC | 3 | AEQUI | ||||
WSLST | Valuation Type for Planned Activity | WSLPL | CHAR | 1 | WSWTE | ||||
WSKAP | Valuation Type for Capacity | WSKAP | CHAR | 1 | WSWTE | ||||
WSAUS | Valuation Type for Output | WSPML | CHAR | 1 | WSWTE | ||||
WSTKG | Value determination type Fixed and variable price | WSTKG | CHAR | 1 | WSWTE | ||||
WSTKF | Value determination type Fixed price | WSTKF | CHAR | 1 | WSWTE | ||||
FMLST | Formula number planned activity | FMLPL | CHAR | 3 | FORML | ||||
FMKAP | Formula no. capacity | FMKAP | CHAR | 3 | FORML | ||||
FMAUS | Formula number Output | FMPML | CHAR | 3 | FORML | ||||
FMTKG | Formula number Fixed+variable price | FMTKG | CHAR | 3 | FORML | ||||
FMTKF | Formula number Fixed price | FMTKF | CHAR | 3 | FORML | ||||
FCLST | Distribution Key: Plan Activity | FCLST | CHAR | 4 | T821S | SPRED | |||
FCKAP | Distribution Key: Capacity | FCKPZ | CHAR | 4 | T821S | SPRED | |||
FCAUS | Distribution Key Output | FCAUS | CHAR | 4 | T821S | SPRED | |||
FCAEQ | Distribution key | CO_FCXXX | CHAR | 4 | T821S | SPRED | |||
FCTKF | Distribution Key: Fixed Price | FCTKF | CHAR | 4 | T821S | SPRED | |||
FCTKV | Distribution key | CO_FCXXX | CHAR | 4 | T821S | SPRED | |||
FCTKG | Distribution key total price | FCTKG | CHAR | 4 | T821S | SPRED | |||
FCTOF | Distribution key | CO_FCXXX | CHAR | 4 | T821S | SPRED | |||
FCTOV | Distribution key | CO_FCXXX | CHAR | 4 | T821S | SPRED | |||
FCTOG | Distribution key | CO_FCXXX | CHAR | 4 | T821S | SPRED | |||
KKART | Costing variant | CO_KKART | CHAR | 4 | CO_KKART | KRT | |||
KALNR | Cost Estimate Number | CO_KALNR | NUMC | 12 | CO_KALNR | ||||
TXFLG | Text indicator | TXFLG | CHAR | 1 | YNFLG | ||||
KVEWE | Usage of the condition table | KVEWE | CHAR | 1 | T681V | KVEWE | KVW | ||
KAPPL | Application | KAPPL | CHAR | 2 | T681A | KAPPL | KAP | ||
KALSM | Procedure (Pricing, Output Control, Acct. Det., Costing,...) | KALSM_D | CHAR | 6 | T683 | KALSM | |||
PFSCHL | Pricing key | PFSCHL | CHAR | 6 | CHAR6 | ||||
ABWCHKZ | Indicator for charging of variances | ABWCHKZ | CHAR | 1 | ABWCHKZ | ||||
LLSTAR | Ind.: Activity type is control activity type? | LLSTAR | CHAR | 1 | XFELD | ||||
KLSTAR | Ind.: Activity type is used in dependency for dep. costs? | KLSTAR | CHAR | 1 | XFELD | ||||
RZLSTAR | Activity Type | LSTAR | CHAR | 6 | CSLA | LSTAR | LAR | LART_EMPTY | |
RZLST | Dep. activity qty. per unit of activity | RZLPL | QUAN | 15(3) | CQUA8 | ||||
RZKAP | Recipe capacity per unit of activity | RZKAP | QUAN | 15(3) | CQUA8 | ||||
RZAUS | Dep. output quantity per unit of activity | RZPML | QUAN | 15(3) | CQUA8 | ||||
RZFKT | Recipe factor | RZFKT | DEC | 9(2) | FAK72 | ||||
RZPRZ | Depend.percentage | RZPRZ | DEC | 9(2) | PRZ72 | ||||
YRATE | Price Calculation with Period-Based Average Prices | CO_YRATE | CHAR | 1 | XFELD | ||||
FIXVO | Predistribution of fixed costs for acty type/bus. process | CO_FIXVO | CHAR | 1 | XFELD | ||||
TARKZ_I | Indicator: Actual Allocation Price | CO_TARKZ_I | CHAR | 3 | TKA10 | ALPHA | TARKZ | ||
LATYP | Activity Type Category | LATYP | CHAR | 1 | LATYP | ||||
LATYPI | Variant Activity Type Category for Actual Postings | LATYPI | CHAR | 1 | LATYPI | ||||
SWSMH | Cost component splitting switching structure | CO_SWSMH | CHAR | 3 | TKA12 | ALPHA | CO_SWSMH | ||
CI_KLVAR | Costing variant for cost component splitting | COI_KLVAR | CHAR | 4 | Assigned to domain | KLVAR | KRT | ||
CI_KALNR | Cost estimate number - cost component splitting | COI_KALNR | NUMC | 12 | Assigned to domain | CK_KALNR | |||
MANIST | Indicator: Confirm quantity manually in actual | CO_MANIST | CHAR | 1 | XFELD | ||||
MANPLAN | Indicator: Plan quantity manually set. | CO_MANPLAN | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure COKL2 using ABAP code?
As COKL2 is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on COKL2 as there is no data to select.How to access SAP table COKL2
Within an ECC or HANA version of SAP you can also view further information about COKL2 and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects