TABLES *
Syntax
TABLES *table_wa.
Effect
This statement declares an additional table work area *table_wa, whose data type, like that of normal TABLES statements of flat, structured data type table_wa, is copied from the ABAP Dictionary.
The additional table work area can be used like the normal table work area. This applies in particular to obsolete short forms of Open SQL statements.
Note
The statement TABLES cannot be used in classes. For declaring as many work areas as you want, you can use the addition TYPE to use the data types in the ABAP Dictionary.
Example
Declaration of a normal and additional table work area and its use in obsolete short forms of the SELECT statement.
TABLES: scarr, *scarr.
SELECT SINGLE *
FROM scarr
WHERE carrid = 'LH'.
SELECT SINGLE *
FROM *scarr
WHERE carrid = 'UA'.
-------------------------------------------------
MS就是TABLE声明的一个WA, 有待进一步收集资料..
今天看程序中看到的:
data: *it_lips like it_lips occurs 0 with header line.