SAP TABLE LINE ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• TABLE LINE TYPES, DATA ... - obsolete

TYPES, DATA, ..., TABLE LINE

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

What does it do?
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.



Latest notes:

The ABAP Compiler should consider this addition an error, retained only for reasons of downward compatibility. The pseudo component table_line should always be specified instead of TABLE LINE .
ABAP_HINT_END

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

ABAP_EXAMPLE_GOOD
ABEXA 00705
ABAP_EXAMPLE_END

Return to menu