COKL SAP (CO Object: Control Data for Activity Types) Table details

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




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




Table field list including key, data, relationships and ABAP select examples

COKL is a standard SAP Table which is used to store CO Object: Control Data for Activity Types data and is available within R/3 SAP systems depending on the version and release level.

The COKL 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 LEDNR (Ledger for Controlling objects), OBJNR (Object number), GJAHR (Fiscal Year), VERSN (Version).. 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 COKL table 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 table COKL using ABAP code

The following ABAP code Example will allow you to do a basic selection on COKL to SELECT all data from the table
DATA: WA_COKL TYPE COKL.

SELECT SINGLE *
FROM COKL
INTO CORRESPONDING FIELDS OF WA_COKL
WHERE...

How to access SAP table COKL

Within an ECC or HANA version of SAP you can also view further information about COKL 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!