SAP TABLES ASTERISK ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• TABLES * ABAP Statement
• * TABLES (obsolete)

TABLES *
Short Reference

ABAP_SYNTAX_OBS
TABLES *table_wa.

What does it do?
This statement declares an additional table work area *table_wa, whose data type, like that of the regular TABLES statement with its flat structured data type table_wa, is taken from the ABAP Dictionary.
The additional table work area can be used just like the regular table work area. This applies in particular to obsolete database accesses.



Latest notes:

The statement TABLES is forbidden in classes. The addition TYPE can be used to reference the data types in the ABAP Dictionary to declare any number of separate work areas.
ABAP_HINT_END

ABAP_EXAMPLE_BAD
Declaration of a regular and additional table work area and their use in obsolete short forms of the SELECT statement.
ABEXA 00703
ABAP_EXAMPLE_END

ABAP_EXAMPLE_GOOD
Declares two work areas using DATA and their use in the INTO clause of the SELECT statement.
ABEXA 00704
ABAP_EXAMPLE_END

Return to menu