The COKP table in SAP ERP or S/4HANA stores CO Object: Control Data for Primary Planning data. There are total 59 fields in COKP table. The CO Object: Control Data for Primary Planning table is available in all major SAP S/4HANA versions, is implemented as a Column Store table within the SAP HANA database. Additionally we provide an overview of the structure and fields of COKP table. It is in Cost Accounting: CO Object (KACC) ABAP package and is part of the Overhead Cost Controlling (CO-OM) module.
SAP COKP Table Fields
Following is the list of fields that are available in SAP COKP table. The primary key fields of the table are MANDT (Client), LEDNR (Ledger for Controlling Objects), OBJNR (Object number), GJAHR (Fiscal Year), WRTTP (Value Type), VERSN (Version), KSTAR (Cost Element), HRKFT (CO key subnumber), VRGNG (CO Business Transaction), VBUND (Company ID of Trading Partner), PARGB (Trading partner’s business area), BEKNZ (Debit/credit indicator), TWAER (Transaction Currency).
| Field | Description | Data Element | Check Table | Data Type |
|---|---|---|---|---|
| MANDT | Client | MANDT | T000 | CLNT (3) |
| LEDNR | Ledger for Controlling Objects | LEDNR | CHAR (2) | |
| OBJNR | Object number | J_OBJNR | ONR00 | CHAR (22) |
| GJAHR | Fiscal Year | GJAHR | NUMC (4) | |
| WRTTP | Value Type | CO_WRTTP | CHAR (2) | |
| VERSN | Version | VERSN | TKA09 | CHAR (3) |
| KSTAR | Cost Element | KSTAR | CSKA | CHAR (10) |
| HRKFT | CO key subnumber | CO_SUBKEY | CHAR (14) | |
| VRGNG | CO Business Transaction | CO_VORGANG | CHAR (4) | |
| VBUND | Company ID of Trading Partner | RASSC | T880 | CHAR (6) |
| PARGB | Trading partner’s business area | PARGB | TGSB | CHAR (4) |
| BEKNZ | Debit/credit indicator | BEKNZ | CHAR (1) | |
| TWAER | Transaction Currency | TWAER | TCURC | CUKY (5) |
| RZTYP | Dependency type for dependency planning | RZTYP | CHAR (1) | |
| RZVAR | Depend.source type | RZVAR | CHAR (10) | |
| RZMNG | Dependency Qty | RZMNG | QUAN (15) | |
| RSTLA | Dependency control activity | RSTLA | CHAR (1) | |
| LKSTAR | Ind.: CElem. is control CElem? | LKSTAR | CHAR (1) | |
| RZKST | Dependent planned costs per unit of activity | RZKST | CURR (23) | |
| RSTKA | Dependency control cost element | RSTKA | CHAR (1) | |
| RZKOA | Cost Element | KSTAR | CSKA | CHAR (10) |
| RZFKT | Recipe Factor | RZFKT | DEC (9) | |
| RZPRZ | Depend.Percentage | RZPRZ | DEC (9) | |
| WSWKF | Valuation Type for Planned Fixed Costs | CO_WSWKF | CHAR (1) | |
| WSWKV | Valuation type for plan variable costs | CO_WSWKV | CHAR (1) | |
| WSWKG | Value computation type for total planned costs | CO_WSWKG | CHAR (1) | |
| WSMEF | Value computation type for planned fixed quantity | CO_WSMEF | CHAR (1) | |
| WSMEV | Valuation type for variable plan quantity | CO_WSMEV | CHAR (1) | |
| WSMEG | Value computation type for total planned qty | CO_WSMEG | CHAR (1) | |
| FMWKF | Formula Number Planned Fixed Costs | CO_FMWKF | CHAR (3) | |
| FMWKV | Formula Number: Planned Variable Costs | CO_FMWKV | CHAR (3) | |
| FMWKG | Formula Number Total Planned Costs | CO_FMWKG | CHAR (3) | |
| FMMEF | Formula Number Fixed Plan Quantity | CO_FMMEF | CHAR (3) | |
| FMMEV | Formula Number: Planned Variable Quantity | CO_FMMEV | CHAR (3) | |
| FMMEG | Formula Number Total Planned Quantity | CO_FMMEG | CHAR (3) | |
| KKART | Costing Variant | CO_KKART | CHAR (4) | |
| KALNR | Cost Estimate Number | CO_KALNR | NUMC (12) | |
| TXFLG | Text Indicator | TXFLG | CHAR (1) | |
| FCWKF | Distribution Key: Plan Fixed Costs | CO_FCWKF | T821S | CHAR (4) |
| FCWKV | Distribution Key: Variable Plan Costs | CO_FCWKV | T821S | CHAR (4) |
| FCWKG | Distribution Key: Total Plan Costs | CO_FCWKG | T821S | CHAR (4) |
| FCWOF | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCWOV | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCWOG | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCWTF | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCWTV | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCWTG | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCMEF | Distribution Key: Fixed Plan Quantity | CO_FCMEF | T821S | CHAR (4) |
| FCMEV | Distribution Key: Variable Plan Quantity | CO_FCMEV | T821S | CHAR (4) |
| FCMEG | Distribution Key: Total Planned Quantity | CO_FCMEG | T821S | CHAR (4) |
| FCRKF | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCRKV | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCRKG | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCROF | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCROV | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCROG | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCREF | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCREV | Distribution key | CO_FCXXX | T821S | CHAR (4) |
| FCREG | Distribution key | CO_FCXXX | T821S | CHAR (4) |


