SAP COMC_KEYTYPE_CST SAP Control Table for Key Assignment Generation Table data and field list

COMC_KEYTYPE_CST is a standard SAP Table which is used to store SAP Control Table for Key Assignment Generation data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The COMC_KEYTYPE_CST table consists of various fields, each holding specific information or linking keys about SAP Control Table for Key Assignment Generation data available in SAP. These include KEY_TYPE (Category of Differentiation Key (Gen. Link Handler)), TABGROUP_ODP2 (Tab Page Group), INT_NUMBER (Character Field of Length 12), EVENT_ODP1 (Event)... 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. .

COMC_KEYTYPE_CST table Technical Details:

Delivery Class: E - Control table, SAP and customer have separate key areas
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP COMC_KEYTYPE_CST table 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 COMC_KEYTYPE_CST 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
OBJECT_TYPEObject Type of Generated Set Type COMT_BUS_OBJTYPCHAR10COM_BUS_OBJTYPE
KEY_TYPECategory of Differentiation Key (Gen. Link Handler) COMT_PR_KEY_TYPECHAR10Assigned to domainCOM_PR_ORG_TYPE
TABGROUP_ODP2Tab Page Group CRMT_BSP_REGTABGRPCHAR10Assigned to domainCRM_BSP_REGTABGRP
INT_NUMBERCharacter Field of Length 12 CHAR12CHAR12CHAR12
EVENT_ODP1Event CRMT_BSP_EVENTCHAR20Assigned to domainCRM_BSP_EVENT
FIELDGROUP_COPYField Group CRMT_BSP_FIELDGRPCHAR32Assigned to domainCRM_BSP_FIELDGRP
FIELDGROUPField Group CRMT_BSP_FIELDGRPCHAR32Assigned to domainCRM_BSP_FIELDGRP
SCREENSTRUCTUREStructure Name of Display Field CRMT_BSP_SCRSTRUCNAMECHAR30Assigned to domainAS4TAB
EVENT_COPYEvent CRMT_BSP_EVENTCHAR20Assigned to domainCRM_BSP_EVENT
TOOLBARGROUPToolbar Group CRMT_BSP_TOOLBARGRPCHAR10Assigned to domainCRM_BSP_TOOLBARGRP
DATE_FROMValid From (Time Stamp) COMT_VALID_FROMDEC15TSTPSBCOS_TSTMP
UPNAMEName of the User Who Last Changed the Set COMT_UPNAMECHAR12UNAME
LOGSYSOriginal System COMT_LOGSYSCHAR10Assigned to domainALPHALOGSYSCOM_LOGSYSCOM_PRODUCT_LOGSYS

Key field Non-key field



How do I retrieve data from SAP table COMC_KEYTYPE_CST using ABAP code

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

SELECT SINGLE *
FROM COMC_KEYTYPE_CST
INTO CORRESPONDING FIELDS OF WA_COMC_KEYTYPE_CST
WHERE...

How to access SAP table COMC_KEYTYPE_CST

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

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