CMS_REL SAP (Relationship details) Table details
Dictionary Type: Table
Description: Relationship details
Description: Relationship details
Table field list including key, data, relationships and ABAP select examples
CMS_REL is a standard SAP Table which is used to store Relationship details data and is available within R/3 SAP systems depending on the version and release level.
The CMS_REL table consists of various fields, each holding specific information or linking keys about Relationship details data available in SAP. These include REL_GUID (GUID for Table CMS_REL), REL_TYP (Relationship type), SOURCE_GUID (Relationship Source GUID), SRC_SEC_GUID (Relationship Source Secondary GUID).. 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. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP CMS_REL table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
REL_GUID | GUID for Table CMS_REL | CMS_DTE_REL_GUID | RAW | 16 | SYSUUID | ||||
REL_TYP | Relationship type | CMS_DTE_REL_TYP | CHAR | 6 | TCMS_REL_TYP | CMS_REL_TYP | CMS_REL_TYP | ||
SOURCE_GUID | Relationship Source GUID | CMS_DTE_REL_SOURCE_GUID | RAW | 16 | SYSUUID | ||||
SRC_SEC_GUID | Relationship Source Secondary GUID | CMS_DTE_REL_SRC_SEC_GUID | RAW | 16 | SYSUUID | ||||
DESTINATION_GUID | Relationship destination GUID | CMS_DTE_REL_DESTINATION_GUID | RAW | 16 | SYSUUID | ||||
DST_SEC_GUID | Relationship destination GUID | CMS_DTE_REL_DST_SEC_GUID | RAW | 16 | SYSUUID | ||||
VALID_FROM | Date from which the relationship came into effect | CMS_DTE_REL_VALID_FROM | NUMC | 15 | TSTPS | TZNTSTMPSL | |||
VALID_TO | Date until which the relationship stands valid | CMS_DTE_REL_VALID_TO | NUMC | 15 | TSTPS | TZNTSTMPSL | |||
REL_RANK | Relationship Rank-Order of the source linked to destination | CMS_DTE_REL_RANK | NUMC | 4 | CMS_PRIORITY | ||||
REL_PRIORITY | Priority of a Relationship | CMS_DTE_REL_PRIORITY | NUMC | 4 | CMS_PRIORITY | ||||
CALC_TYP | Calculation type for relations of collateral agreements | CMS_DTE_CALC_TYP | CHAR | 6 | CMS_CALC_TYP | ||||
REL_OBJ | Relationship Object | CMS_DTE_REL_OBJ | CHAR | 6 | CMS_CAT | ||||
CREATED_BY | Login ID of the User who created the Record | CMS_DTE_USER | CHAR | 12 | CMS_USER | ||||
CREATED_AT | Creation Timestamp | CMS_DTE_CREATED_AT | DEC | 15 | TZNTSTMPS | ||||
CHANGED_BY | Last Changed By | CMS_DTE_LAST_CHNG_USER | CHAR | 12 | CMS_USER | ||||
CHANGED_AT | Change Timestamp | CMS_DTE_CHANGED_AT | DEC | 15 | TZNTSTMPS | ||||
SOURCEOFENTRY | Source of Entry | CMS_DTE_SOURCE_OF_ENTRY | CHAR | 32 | CMS_SOURCE |
Key field | Non-key field |
How do I retrieve data from SAP table CMS_REL using ABAP code
The following ABAP code Example will allow you to do a basic selection on CMS_REL to SELECT all data from the tableDATA: WA_CMS_REL TYPE CMS_REL.
SELECT SINGLE *
FROM CMS_REL
INTO CORRESPONDING FIELDS OF WA_CMS_REL
WHERE...
How to access SAP table CMS_REL
Within an ECC or HANA version of SAP you can also view further information about CMS_REL and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects