DM42S SAP (DM Relationship) Table details

Dictionary Type: Table
Description: DM Relationship




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




Table field list including key, data, relationships and ABAP select examples

DM42S is a standard SAP Table which is used to store DM Relationship data and is available within R/3 SAP systems depending on the version and release level.

The DM42S table consists of various fields, each holding specific information or linking keys about DM Relationship data available in SAP. These include AS4LOCAL (Activation Status of a Repository Object), ENTIDFROM (Start entity type), EBROLNR (Relationship role), FLG_DEF (Flag: documentation object exists).. 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: W - System table, contents transportable via separate TR objects
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified

Text table = DM42T


SAP DM42S 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
ENTIDTOTarget entity type UDENTITOCHAR26DM02LUDENTITY
AS4LOCALActivation Status of a Repository Object AS4LOCALCHAR1AS4LOCAL
ENTIDFROMStart entity type UDENTIFRCHAR26DM02LUDENTITY
EBROLNRRelationship role UDEBROLNRCHAR1UDEBROLNR
FLG_DEFFlag: documentation object exists UDFLGDOCCHAR1UDFLAG
FLG_COMFlag: documentation object exists UDFLGDOCCHAR1UDFLAG
EBVARTemporary reference for relationships UDRELRESTCHAR1UDRELREST
EBTYPRelationship type UDRELTYPECHAR1UDRELTYPE
CARD1Cardinality of a relationship UDCDLEFTCHAR2UDCDLEFT
CARD2Cardinality of a relationship UDCDRIGHTCHAR2UDCDRIGHT
FSTUSERCreated by UDFUSERCHAR12UDUSER
FSTDATEDate on which the record was created UDFDATEDATS8DATUM
FSTTIMECreation Time UDFTIMETIMS6UZEIT
LSTUSERChanged by UDLUSERCHAR12UDUSER
LSTDATEChanged on UDLDATEDATS8DATUM
LSTTIMELast changed at UDLTIMETIMS6UZEIT
LOESCHZDeletion Indicator UDLOEKZCHAR1UDLOEKZ

Key field Non-key field



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

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

SELECT SINGLE *
FROM DM42S
INTO CORRESPONDING FIELDS OF WA_DM42S
WHERE...

How to access SAP table DM42S

Within an ECC or HANA version of SAP you can also view further information about DM42S 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!