CMS_REL SAP (Relationship details) Table details

Dictionary Type: Table
Description: Relationship details




ABAP Code to SELECT data from CMS_REL
Related tables to CMS_REL
Access table CMS_REL




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
MANDTClient MANDTCLNT3T000MANDT
REL_GUIDGUID for Table CMS_REL CMS_DTE_REL_GUIDRAW16SYSUUID
REL_TYPRelationship type CMS_DTE_REL_TYPCHAR6TCMS_REL_TYPCMS_REL_TYPCMS_REL_TYP
SOURCE_GUIDRelationship Source GUID CMS_DTE_REL_SOURCE_GUIDRAW16SYSUUID
SRC_SEC_GUIDRelationship Source Secondary GUID CMS_DTE_REL_SRC_SEC_GUIDRAW16SYSUUID
DESTINATION_GUIDRelationship destination GUID CMS_DTE_REL_DESTINATION_GUIDRAW16SYSUUID
DST_SEC_GUIDRelationship destination GUID CMS_DTE_REL_DST_SEC_GUIDRAW16SYSUUID
VALID_FROMDate from which the relationship came into effect CMS_DTE_REL_VALID_FROMNUMC15TSTPSTZNTSTMPSL
VALID_TODate until which the relationship stands valid CMS_DTE_REL_VALID_TONUMC15TSTPSTZNTSTMPSL
REL_RANKRelationship Rank-Order of the source linked to destination CMS_DTE_REL_RANKNUMC4CMS_PRIORITY
REL_PRIORITYPriority of a Relationship CMS_DTE_REL_PRIORITYNUMC4CMS_PRIORITY
CALC_TYPCalculation type for relations of collateral agreements CMS_DTE_CALC_TYPCHAR6CMS_CALC_TYP
REL_OBJRelationship Object CMS_DTE_REL_OBJCHAR6CMS_CAT
CREATED_BYLogin ID of the User who created the Record CMS_DTE_USERCHAR12CMS_USER
CREATED_ATCreation Timestamp CMS_DTE_CREATED_ATDEC15TZNTSTMPS
CHANGED_BYLast Changed By CMS_DTE_LAST_CHNG_USERCHAR12CMS_USER
CHANGED_ATChange Timestamp CMS_DTE_CHANGED_ATDEC15TZNTSTMPS
SOURCEOFENTRYSource of Entry CMS_DTE_SOURCE_OF_ENTRYCHAR32CMS_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 table
DATA: 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 as

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


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!