SAP ABAP Data Element USMD_RELATION (Relationship Between Entity Types)
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_RELATION
Short Description Relationship Between Entity Types  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type USMD_RELATION    
Data Type CHAR   Character String 
Length 9    
Decimal Places 0    
Output Length 9    
Value Table USMD0023    
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 Relationship 
Long 20 Relationship 
Heading  
Documentation

Definition

Defines the technical name of a relationship between two entity types.

Use

The following rules apply for the name of a relationship:

  • For the relationship types Leading and Qualifying, the name of the relationship is not used to derive the internal field name. Instead, the name of the entity type and the assigned data element are used. You cannot specify a data element in this case.
  • For the relationship type Referencing, the name of the relationship is used to derive the internal field name.

    If a data element is specified, it is used instead of the data element of the from-entity type. However, this data element must have the same technical properties as the data element assigned to the from-entity type.

    The name of the relationship must be different from all entity type names and attribute names, with the exception of the name of the from-entity type itself.

    The fact that the relationship and from-entity type are allowed to have the same name prevents the existence of different field names with the same semantic structure in the internal data structures or derived database tables once the data model has been exploded. You cannot specify a data element if these names are the same.

Dependencies

The relationship is defined in more detail by specifying the cardinality and the relationship type.

Example

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