SAP COMS_PR_ORG_RELG Additional Settings for Link Tables (Gen. Link-Handler) Table data and field list

COMS_PR_ORG_RELG is a standard SAP Table which is used to store Additional Settings for Link Tables (Gen. Link-Handler) data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The COMS_PR_ORG_RELG table consists of various fields, each holding specific information or linking keys about Additional Settings for Link Tables (Gen. Link-Handler) data available in SAP. These include KEY_TABLE (Storage Table for Keys), KEY_TABLE_LINE (Structure/Line Type of Key Table), KEY_TABLE_TTYP (Table Type for Key Table), KEY_DEF_INT (Structure for Description of Key Definition (Internal))... 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_PR_ORG_RELG 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 COMS_PR_ORG_RELG 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_PR_ORG_RELG 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
KEY_TYPECategory of Differentiation Key (Gen. Link Handler) COMT_PR_KEY_TYPECHAR10COMS_PR_ORG_RELCOM_PR_ORG_TYPE
KEY_TABLEStorage Table for Keys COMT_PR_KEY_TABLECHAR16DBOBJ_NAME
KEY_TABLE_LINEStructure/Line Type of Key Table COMT_PR_KEY_TABLE_LINECHAR30Assigned to domainAS4TAB
KEY_TABLE_TTYPTable Type for Key Table COMT_PR_KEY_TABLE_TTYPCHAR30Assigned to domainAS4TAB
KEY_DEF_INTStructure for Description of Key Definition (Internal) COMT_PR_KEY_DEFINTION_INTCHAR30Assigned to domainAS4TAB
KEY_DEF_INT_TTYPTable Type for Description of Key Definition (Internal) COMT_PR_KEY_DEFINTION_INT_TTYPCHAR30Assigned to domainTTYPENAME
KEY_DEF_EXTStructure for Description of Key Definition (External) COMT_PR_KEY_DEFINTION_EXTCHAR30Assigned to domainAS4TAB
KEY_DEF_EXT_TTYPTable Type for Desciption of Key Definitions (External) COMT_PR_KEY_DEFINTION_EXT_TTYPCHAR30Assigned to domainTTYPENAME
PROXY_CLASSName of Proxy Class for Key Category COMT_PR_KEY_PROXY_CLASSCHAR30SEOCLSNAME
PROXY_PARAMETERParameters for Calling Proxy Classes COMT_PR_KEY_PROXY_PARAMETERCHAR255

Key field Non-key field



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

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

SELECT SINGLE *
FROM COMS_PR_ORG_RELG
INTO CORRESPONDING FIELDS OF WA_COMS_PR_ORG_RELG
WHERE...

How to access SAP table COMS_PR_ORG_RELG

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

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