A dialog box appears.
The maintenance screen for table types appears.
You can find the table type at a later time using this short text, for example.
This defines how to access the data in an internal table defined by the table type in ABAP programs.
The primary key of a table type is defined by the key definition and the key category .
If you select the Key components radio button, you can define the primary key of the table type directly in the input area with the same name.
This option is possible only if the row type of the table type is a structure, table or view.
You can display all the components of the row type by choosing Choose components. Select the components that you want to copy to the key, using the indicator in the first column and choose with the quick info text Cont..
You can define (optional) an alias name for the primary key of the table type. It enables you to address the primary key using a self-defined name, like a secondary key.
The alias name and the names of the secondary keys must be unique. These names must also meet the naming conventions.
For more information about the constraints when creating an alias name, open the F1 help for the Alias field.
To create a secondary key, perform the following:
If you select the Key components radio button, you can define the key of the table type directly in the input area with the same name.
You can display all the components of the row type with Choose components. Select the components that you want to copy to the key using the indicator in the first column, and choose with the quick info text Cont..
The order in which you define the components of a table key is significant.
The new secondary key appears in the list.
The system asks you to assign the table type to a package. You can change this package later by choosing Goto → Object directory entry.
The table type is now activated. The runtime object of the type is created. At activation the system writes a log. It can be displayed by choosing Utilities → Activation log. If errors occur during activation, the system automatically displays the activation log.
Additional Options