sapdev logo background
sapdev logo sapdev logo
Comments

ABAP DATA KEYDEF Statement syntax, information and example SAP source code



Return to Statement index



DATA - tabkeys

Short Reference

ABAP Syntax ... [ WITH key ]
[ WITH secondary_key1 ] [ WITH secondary_key2 ] ... .

What does it do? Definition of the table keys in an internal table. The following can be defined:
A primary table key using key .

Every internal table has a primary key. The primary key must be defined explicitly for sorted tables and hashed tables . The primary key specification can only be omitted for
standard tables . The primary table key is then automatically defined as a non-unique standard key .

Several secondary table keys with secondary_key1 , secondary_key2 , ... .

Specification of secondary keys is optional for all table types. If no secondary key is specified, the internal table has only one primary key.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




DATA_ITAB
DATA_LOB_HANDLE




comments powered by Disqus