MDOBLREL SAP (Model Data: Relationship Types) Table details
Dictionary Type: Table
Description: Model Data: Relationship Types
Description: Model Data: Relationship Types
Table field list including key, data, relationships and ABAP select examples
MDOBLREL is a standard SAP Table which is used to store Model Data: Relationship Types data and is available within R/3 SAP systems depending on the version and release level.
The MDOBLREL table consists of various fields, each holding specific information or linking keys about Model Data: Relationship Types data available in SAP. These include ROLEA (Role That an Object Takes in the Relationship), ROLEB (Role That an Object Takes in the Relationship), CARDA (Role Cardinality), CARDB (Role Cardinality).. 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: E - Control table, SAP and customer have separate key areasDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
Text table = MTOBLREL
SAP MDOBLREL 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 |
RELTYPE | Relationship type | OBLRELTYPE | CHAR | 10 | OBLRELTYPE | MHOBLREL | |||
ROLEA | Role That an Object Takes in the Relationship | OBLROLTYPE | CHAR | 10 | MDOBLROL | OBLROLTYPE | |||
ROLEB | Role That an Object Takes in the Relationship | OBLROLTYPE | CHAR | 10 | MDOBLROL | OBLROLTYPE | |||
CARDA | Role Cardinality | OBLROLCARD | CHAR | 1 | OBLROCARD | ||||
CARDB | Role Cardinality | OBLROLCARD | CHAR | 1 | OBLROCARD | ||||
DBTABLE | Table Name | TABNAME | CHAR | 30 | DD02L | AS4TAB | DTB | ||
OWNER | User Name in User Master Record | XUBNAME | CHAR | 12 | USR02 | XUBNAME | XUS | ||
CREATDATE | Date | DATE_ | DATS | 8 | DATS | ||||
MODIFIEDBY | User Name in User Master Record | XUBNAME | CHAR | 12 | USR02 | XUBNAME | XUS | ||
MODIFDATE | Date | DATE_ | DATS | 8 | DATS | ||||
HASPROP | Specifies Whether a Relationship Type Has an Attribute | OBLHASPROP | CHAR | 1 | OBLFLAG | ||||
RELTYPE_O | Relationship type | BINRELTYP | CHAR | 4 | ORBRELTYP | BINRELTYP |
Key field | Non-key field |
How do I retrieve data from SAP table MDOBLREL using ABAP code
The following ABAP code Example will allow you to do a basic selection on MDOBLREL to SELECT all data from the tableDATA: WA_MDOBLREL TYPE MDOBLREL.
SELECT SINGLE *
FROM MDOBLREL
INTO CORRESPONDING FIELDS OF WA_MDOBLREL
WHERE...
How to access SAP table MDOBLREL
Within an ECC or HANA version of SAP you can also view further information about MDOBLREL 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