SAP COMS_ALTID_CONT Context Fields for Alternative IDs Table data and field list

COMS_ALTID_CONT is a standard SAP Table which is used to store Context Fields for Alternative IDs data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The COMS_ALTID_CONT table consists of various fields, each holding specific information or linking keys about Context Fields for Alternative IDs data available in SAP. These include DATA_TYPE (Data Types for Environment Data Fields Alternative IDs)... 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. .

COMS_ALTID_CONT table Technical Details:

Delivery Class: G - Customising table which is protected against SAP Update
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP COMS_ALTID_CONT 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 COMS_ALTID_CONT 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
CONTEXT_FIELDContext Field Name for Alternative IDs COMT_ALTID_CONT_FIELDNAMECHAR30CHAR30
DATA_TYPEData Types for Environment Data Fields Alternative IDs COMT_ALTID_CONT_TYPESCHAR4DTYPECOMT_ALTID_CONT_TYPES

Key field Non-key field



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

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

SELECT SINGLE *
FROM COMS_ALTID_CONT
INTO CORRESPONDING FIELDS OF WA_COMS_ALTID_CONT
WHERE...

How to access SAP table COMS_ALTID_CONT

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

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