Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Obsolete Language Elements →  Obsolete Declarations →  Internal Tables 

TYPES, DATA ... - TABLE LINE

Other versions: 7.31 | 7.40 | 7.54

Obsolete Syntax

TYPES ... WITH ... KEY TABLE LINE.
DATA  ... WITH ... KEY TABLE LINE.
...

Effect

The addition TABLE LINE can also be specified outside of classes in the declaration statements TYPES, DATA, and so on, instead of the pseudo component table_line in the definition of the primary table key.


Note

ABAP Compiler should consider this addition as an error, retained only for reasons of downward compatibility. Always specify the pseudo component table_line instead of TABLE LINE.

Bad example

TYPES itab TYPE SORTED TABLE OF i WITH UNIQUE KEY TABLE LINE.

Good example

TYPES itab TYPE SORTED TABLE OF i WITH UNIQUE KEY table_line.