SAP ABAP Data Element MDG_MDF_GEN_TYPE (Generic Type)
Hierarchy
MDG_FND (Software Component) MDG Foundation
   CA-MDG-AF (Application Component) Application Framework
     MDG_MDF0 (Package) Master Data
Basic Data
Data Element MDG_MDF_GEN_TYPE
Short Description Generic Type  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CHAR30    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
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 10 Type 
Medium 15 Type 
Long 20 Type 
Heading 24 Type 
Documentation

Definition

Generic type for master data in SAP Business Suite Foundation. You register generic master data types in the view V_MDG_MDF9000, which you can access in the area menu Master Data: Settings (transaction MDG_MDF01) under Define Generic Types. You can create concrete runtime structures using the method CREATE_DATA_REFERENCE of interface IF_MDG_MDF_CHAR.

Use

The system expands fields of the generic master data types if their names start with INCLUDE. The type of this field must be one of the predefined, generic types.

The names of the predefined, generic types begin with MDG_MDF_S_GEN_. The predefined, generic types are also registered in the view V_MDG_MDF9000.

If you specify the role * in view V_MDG_MDF9000, the system generates the type for all roles. Otherwise, the type is only available for characteristics with the specified role.

At runtime, the system replaces the predefined, generic types with the respective fields of the desired characteristic.

Dependencies

Example

The generic type Z_KEY_UNAME consists of the following fields:

Field     Type

INCLUDE1    MDG_MDF_S_GEN_KEY (predefined)

UNAME     UNAME

At runtime, the system would derive the following structure for characteristic /SMD/CS_ITEM with the key fields /SMD/CS_CHART and /SMD/CS_ITEM:

Field     Type

/SMD/CS_CHART    /SMD/MD__123456

/SMD/CS_ITEM    /SMD/MD__123457

UNAME     UNAME

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