back to top

SAP COKEY Table – CO key sub-numbers

The COKEY table in SAP ERP or S/4HANA stores CO key sub-numbers data. There are total 16 fields in COKEY table. The CO key sub-numbers 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 COKEY table. It is in CO Object: Encryption of Characteristics (KSUBKEY) ABAP package and is part of the Controlling (CO) module.

SAP COKEY Table Fields

Following is the list of fields that are available in SAP COKEY table. The primary key fields of the table are MANDT (Client), HRKFT (CO key subnumber).

Field Description Data Element Check Table Data Type
MANDT Client MANDT * CLNT (3)
HRKFT CO key subnumber CO_SUBKEY CHAR (14)
WERKS Plant WERKS_D * CHAR (4)
MATNR Material Number MATNR * CHAR (40)
HKGRP Origin Group as Subdivision of Cost Element HRKFT * CHAR (4)
PCVER COPC Area of Responsibility CO_VERANB CHAR (14)
CBRKE External Value Added Ranking (CO-OM-ABC) CO_CBRKE CBRK NUMC (2)
CBRKI Internal Value Added Ranking (CO-OM-ABC) CO_CBRKI CBRK NUMC (2)
CBART Business Process Attribute: Category CO_CBART CBAR CHAR (2)
DRVTP Business Process Attribute: Allocation Category (CO-OM-ABC) CO_DRVTP CBDT CHAR (3)
CBAT Business Process Attribute: Additional Attribute (CO-OM-ABC) CO_CBAT CBAT CHAR (10)
RECIND Recovery Indicator JV_RECIND T8JJ CHAR (2)
BEMOT Accounting Indicator BEMOT * CHAR (2)
PERNR Personnel Number PERNR_D NUMC (8)
RSRCE Resource CO_RESSOURCE * CHAR (10)
SUBKEY2 Exclusively Reserved Sub-Number for Encoding Public Charact. EAPS_SUBNR NUMC (10)