The additional table work area can be used just like the regular table work area. This applies in particular to obsolete database accesses.
TABLES cannot be used in classes. The addition
can be used to reference the data types in ABAP Dictionary and declare any number of separate work areas.
Declaration of a regular and additional table work area and their use in obsolete short forms of the
TABLES: scarr, *scarr. SELECT SINGLE * FROM scarr WHERE carrid = 'LH'. SELECT SINGLE * FROM *scarr WHERE carrid = 'UA'.
Declares two work areas using
DATA and how they are used in the
INTO clause of the
DATA: scarr1 TYPE scarr, scarr2 TYPE scarr. SELECT SINGLE * FROM scarr WHERE carrid = 'LH' INTO @scarr1. SELECT SINGLE * FROM scarr WHERE carrid = 'UA' INTO @scarr2.