SAP ABAP Data Element TT_PRIMARY_KEY_ALIAS (Alias for Primary Key of a Table Type (Optional))
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-DIC-AC (Application Component) Activation Program, Conversion Program, DB Utility, MC, SPDD
     SDTT (Package) DD: Table types
Basic Data
Data Element TT_PRIMARY_KEY_ALIAS
Short Description Alias for Primary Key of a Table Type (Optional)  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type TT_PRIMKEY_ALIAS    
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  
Medium 15 Alias 
Long 25 Primary Key Alias 
Heading  
Documentation

Definition

An alias name for the primary key of a table type can be defined as optional.

Use

Dependencies

An alias name for the primary key may only be defined for a table type that does not have generic primary properties, is not a STANDARD table and does not possess a standard key.

Therefore the creation of an ALIAS is only possible if the following apply:

  • the table type is HASHED TABLE or SORTED TABLE
  • the key definition is "row type" or "user specified"
  • the uniqueness must be specified or be automatically correctable (that means UNIQUE for HASHED and NON-UNIQUE/UNIQUE for SORTED)

Example

History
Last changed by/on SAP  20141013 
SAP Release Created in 710