SAP ABAP Data Element DMEE_KEY_FIELD (DMEE: sort field is key field)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-LOC (Application Component) Localization
     ID-DMEE (Package) International Development: Data Medium Exchange Engine
Basic Data
Data Element DMEE_KEY_FIELD
Short Description DMEE: sort field is key field  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type DMEE_KEY_FIELD    
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 10 Key field 
Medium 15 Key field 
Long 20 Key field 
Heading 15 Key field 
Documentation

Definition

If a sort field is additionally marked as a key field, then a change to the value in this field causes the corresponding format level to end.

It is essential that the key fields are defined correctly to ensure that during file generation, the sequence of the different levels are output as they are defined in the format.

Example

Data medium for payment transactions

In the format tree, segment COMPANY_CODE_ADDRESS is defined on level 1. If there are several paying company codes in the payment data, then this segment is to be written to the file exactly once for each company code.

In this case, the FPAYH-ZBUKR field is a sort field on level 1, for which the "Key field" indicator must also be set.

When a file is generated, the segment COMPANY_CODE_ADDRESS is output automatically as soon as the value in the FPAYH-ZBUKR field changes, meaning as soon as a payment that contains a new paying company code is processed.

History
Last changed by/on SAP  20000104 
SAP Release Created in