COKL2 SAP (CO Object: Control Data for Activity Types) Structure details

Dictionary Type: Structure
Description: CO Object: Control Data for Activity Types




ABAP Code to SELECT data from COKL2
Related tables to COKL2
Access table COKL2




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
MANDTClient MANDTCLNT3T000MANDT
LEDNRLedger for Controlling objects LEDNRCHAR2ALPHALEDNR
OBJNRObject number J_OBJNRCHAR22ONR00J_OBJNRONR
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
VERSNVersion VERSNCHAR3TKA09ALPHACOVERSIKVS
TARKZPrice Indicator: Calculate Allocation Price TARKZCHAR3TKA10ALPHATARKZ
VKSTAAllocation Cost Element VKSTACHAR10CSKAALPHAKSTAR
AUFKZIndicator for allocation of activity-independent costs AUFKZCHAR1AUFKZ
AEQUIEquivalence Numbers AEQUIDEC3AEQUI
WSLSTValuation Type for Planned Activity WSLPLCHAR1WSWTE
WSKAPValuation Type for Capacity WSKAPCHAR1WSWTE
WSAUSValuation Type for Output WSPMLCHAR1WSWTE
WSTKGValue determination type Fixed and variable price WSTKGCHAR1WSWTE
WSTKFValue determination type Fixed price WSTKFCHAR1WSWTE
FMLSTFormula number planned activity FMLPLCHAR3FORML
FMKAPFormula no. capacity FMKAPCHAR3FORML
FMAUSFormula number Output FMPMLCHAR3FORML
FMTKGFormula number Fixed+variable price FMTKGCHAR3FORML
FMTKFFormula number Fixed price FMTKFCHAR3FORML
FCLSTDistribution Key: Plan Activity FCLSTCHAR4T821SSPRED
FCKAPDistribution Key: Capacity FCKPZCHAR4T821SSPRED
FCAUSDistribution Key Output FCAUSCHAR4T821SSPRED
FCAEQDistribution key CO_FCXXXCHAR4T821SSPRED
FCTKFDistribution Key: Fixed Price FCTKFCHAR4T821SSPRED
FCTKVDistribution key CO_FCXXXCHAR4T821SSPRED
FCTKGDistribution key total price FCTKGCHAR4T821SSPRED
FCTOFDistribution key CO_FCXXXCHAR4T821SSPRED
FCTOVDistribution key CO_FCXXXCHAR4T821SSPRED
FCTOGDistribution key CO_FCXXXCHAR4T821SSPRED
KKARTCosting variant CO_KKARTCHAR4CO_KKARTKRT
KALNRCost Estimate Number CO_KALNRNUMC12CO_KALNR
TXFLGText indicator TXFLGCHAR1YNFLG
KVEWEUsage of the condition table KVEWECHAR1T681VKVEWEKVW
KAPPLApplication KAPPLCHAR2T681AKAPPLKAP
KALSMProcedure (Pricing, Output Control, Acct. Det., Costing,...) KALSM_DCHAR6T683KALSM
PFSCHLPricing key PFSCHLCHAR6CHAR6
ABWCHKZIndicator for charging of variances ABWCHKZCHAR1ABWCHKZ
LLSTARInd.: Activity type is control activity type? LLSTARCHAR1XFELD
KLSTARInd.: Activity type is used in dependency for dep. costs? KLSTARCHAR1XFELD
RZLSTARActivity Type LSTARCHAR6CSLALSTARLARLART_EMPTY
RZLSTDep. activity qty. per unit of activity RZLPLQUAN15(3) CQUA8
RZKAPRecipe capacity per unit of activity RZKAPQUAN15(3) CQUA8
RZAUSDep. output quantity per unit of activity RZPMLQUAN15(3) CQUA8
RZFKTRecipe factor RZFKTDEC9(2) FAK72
RZPRZDepend.percentage RZPRZDEC9(2) PRZ72
YRATEPrice Calculation with Period-Based Average Prices CO_YRATECHAR1XFELD
FIXVOPredistribution of fixed costs for acty type/bus. process CO_FIXVOCHAR1XFELD
TARKZ_IIndicator: Actual Allocation Price CO_TARKZ_ICHAR3TKA10ALPHATARKZ
LATYPActivity Type Category LATYPCHAR1LATYP
LATYPIVariant Activity Type Category for Actual Postings LATYPICHAR1LATYPI
SWSMHCost component splitting switching structure CO_SWSMHCHAR3TKA12ALPHACO_SWSMH
CI_KLVARCosting variant for cost component splitting COI_KLVARCHAR4Assigned to domainKLVARKRT
CI_KALNRCost estimate number - cost component splitting COI_KALNRNUMC12Assigned to domainCK_KALNR
MANISTIndicator: Confirm quantity manually in actual CO_MANISTCHAR1XFELD
MANPLANIndicator: Plan quantity manually set. CO_MANPLANCHAR1XFELD

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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!