SAP Table COKA

CO Object: Control Data for Cost Elements

COKA (CO Object: Control Data for Cost Elements) is a standard table in SAP R\3 ERP systems. Below you can find the technical details of the fields that make up this table. Key fields are marked in blue.

Additionally we provide an overview of foreign key relationships, if any, that link COKA to other SAP tables.

Source: COKA (CO Object: Control Data for Cost Elements)

COKA table fields

Field Data element Checktable Datatype Length Decimals
MANDT Client MANDT T000 CLNT 3 0
OBJNR Object number J_OBJNR ONR00 CHAR 22 0
GJAHR Fiscal Year GJAHR NUMC 4 0
KSTAR Cost Element KSTAR CSKA CHAR 10 0
HRKFT CO key subnumber CO_SUBKEY CHAR 14 0
MEINH Unit of Measure CO_MEINH T006 UNIT 3 0
MGEFL Indicator for Recording Consumption Quantities MGEFL CHAR 1 0
NULL no
X yes
EIGEN Cost element attributes EIGEN CHAR 8 0

COKA foreign key relationships

Table Field Foreign key table Foreign key field Check table Check field
COKA KSTAR COKA MANDT CSKA Cost Elements (Data Dependent on Chart of Accounts) MANDT
COKA KSTAR TKA01 KTOPL CSKA Cost Elements (Data Dependent on Chart of Accounts) KTOPL
COKA KSTAR COKA KSTAR CSKA Cost Elements (Data Dependent on Chart of Accounts) KSTAR
COKA MANDT COKA MANDT T000 Clients MANDT
COKA MEINH COKA MANDT T006 Units of Measurement MANDT
COKA MEINH COKA MEINH T006 Units of Measurement MSEHI
COKA OBJNR COKA MANDT ONR00 General Object Number MANDT
COKA OBJNR COKA OBJNR ONR00 General Object Number OBJNR