SAP E1COKEY IDoc for CO document: CO key sub-numbers Table data and field list

E1COKEY is a standard SAP Structure which is used to define the field attributes of IDoc segment E1COKEY. The segment is used within the below IDoc to send IDoc for CO document: CO key sub-numbers information via the IDoc send process

COCOKA01
CODCMT01
COTOTL01

Below is the standard documentation available and a few details of the fields which make up this IDoc segment structure. To view further details checkout the IDoc links above or use relevant transactions such as WE30(IDoc development), WE31 (segment development)...Also check here for more IDoc related development help, or you can obviously also use standard dictionary object dev tcodes such as SE11, SE80 etc...

E1COKEY idoc segment structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP E1COKEY idoc segment structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the E1COKEY table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
HRKFTCO key subnumber CO_SUBKEYCHAR14Assigned to domainCO_SUBKEY
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
HKGRPOrigin Group as Subdivision of Cost Element HRKFTCHAR4Assigned to domainHRKFT
CBRKEExternal Value Added Ranking (CO-OM-ABC) CO_CBRKENUMC2Assigned to domainCO_CBRKG
CBRKIInternal Value Added Ranking (CO-OM-ABC) CO_CBRKINUMC2Assigned to domainCO_CBRKG
CBARTBusiness Process Attribute: Category CO_CBARTCHAR2Assigned to domainCO_CBART
DRVTPBusiness Process Attribute: Allocation Category (CO-OM-ABC) CO_DRVTPCHAR3Assigned to domainALPHACO_DRVTP
RECINDRecovery Indicator JV_RECINDCHAR2Assigned to domainALPHAJV_RECIND
PCVER 0
CBAT 0
BEMOT 0
PERNR 0
RSRCE 0
MATNR_EXTERNAL 0
MATNR_VERSION 0
MATNR_GUID 0
FKBER 0
PFKBER 0
GEBER 0
PGEBER 0
GRANT_NBR 0
PGRANT_NBR 0
BUDGET_PD 0
PBUDGET_PD 0
SEGMENT 0
PSEGMENT 0

Key field Non-key field



How do I retrieve data from SAP structure E1COKEY using ABAP code?

As E1COKEY 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 E1COKEY as there is no data to select.

How to access SAP table E1COKEY

Within an ECC or HANA version of SAP you can also view further information about E1COKEY and the data within it using relevant transactions such as

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