SAP ABAP Data Element USMD_RELTYPE (Relationship Type)
Hierarchy
MDG_FND (Software Component) MDG Foundation
   CA-MDG-AF (Application Component) Application Framework
     USMD1 (Package) Master Data: Data Modeling
Basic Data
Data Element USMD_RELTYPE
Short Description Relationship Type  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type USMD_RELTYPE    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short  
Medium 15 Relation. Type 
Long 20 Relationship Type 
Heading  
Documentation

Definition

Specifies the type of relationship between a from-entity type and a to-entity type.

Use

The relationships can be defined as follows:

  • Using relationships with the relationship type Referencing, you specify that the from-entity type is an attribute of the to-entity type.
  • If you use Leading or Qualifying as the relationship type, you specify that the from-entity type is on a higher level than the to-entity type. The from-entity type is automatically taken as the key in the generated tables of the to-entity type in this case.

The difference between the relationship types Leading and Qualifying is only relevant for to-entity types with storage and use type 4. The master data of these to-entity types is processed in the context of the entity type that is assigned using the leading relationship.

For more information about the relationship types, see SAP Library under SAP ERP Central Component -> Accounting -> Financial Master Data Management -> Configuration -> Structure of the Data Model and Database Tables.

Dependencies

The following dependencies exist as regards cardinality or specifying a data element:

  • 1:N is the only cardinality allowed for the relationship types Leading and Qualifying. You cannot specify a data element.
  • Cardinalities 1:N and 0:N are both allowed for the relationship type Referencing. A data element can be specified in this case. However, this data element must have the same technical properties as the data element assigned to the From-entity type.

Example

History
Last changed by/on SAP  20130604 
SAP Release Created in 604