SAP ABAP Data Element USMD_KEY_HANDLING (Type of Key Assignment)
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_KEY_HANDLING
Short Description Type of Key Assignment  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type USMD_KEY_HANDLING    
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 KeyAssignm 
Medium 16 Key Assignment 
Long 24 Type of Key Assignment 
Heading 24 Type of Key Assignment 
Documentation

Definition

Use

You can choose one of the following options in the data model:

  • Key Cannot Be Changed; No Internal Key Assignment

    You need to enter the complete key when creating an entity. It cannot be changed at a later date.

  • Internal Key Assignment Only

    When you activate the change request (that is being used to create the entity), the system automatically assigns the key for the entity. Prior to the activation of the change request, the system creates a temporary key you can use to reference this entity within the change request. You cannot change the key.

  • Key Can Be Changed; No Internal Key Assignment

    You need to explicitly define the key of an entity you are creating. However, you can change it as long as the change request (in which the entity is being created) has not been activated. Once the change request is activated, you can no longer change the key.

  • Key Can Be Changed; Internal Key Assignment Possible

    This option is a combination of the two preceding options. Either the system can automatically assign the key of a new entity or a processor of the change request (in which the entity is being created) can create or delete the key.

    • If a processor defines or changes the key, the system does not automatically derive the key when the change request is activated.
    • If no processor explicitly defines or changes the key, the system automatically derives the key when the change request is activated. In this case, the automatically derived temporary key is used as the ID of the entity until the change request is activated.

Dependencies

Example

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