SAP ABAP Data Element WRF_MAIN_FLAG (Main Assignment)
Hierarchy
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
   LO-MD (Application Component) Logistics Basic Data
     WRF_CM_MD (Package) Category Management - Master Data
Basic Data
Data Element WRF_MAIN_FLAG
Short Description Main Assignment  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type WRF_MAIN_FLAG    
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 19 Main Assgn 
Medium 20 Main Assignment 
Long 20 Main Assignment 
Heading 20 Main Assignment 
Documentation

Definition

The main assignment is the assignment that uniquely identifies a multiple-assigned material within a material hierarchy.

You can define a main assignment for each material in the material hierarchy at the material level in the standard system. The automatic flag for the main assignment is only set when property Multiple Assignment is maintained or the material hierarchy.

Use

This main assignment has to be checked (if multiple assignment is set in hierarchy maintenance (additional checkbox) and whenever master data is changed (for example, in article maintenance, BAPI). The system checks for uniqueness under the default settings; you can override this check through a BAdI (for example, if one main assignment is to be defined for each company).

Dependencies

Example

History
Last changed by/on SAP  20041209 
SAP Release Created in 111