Tables and Table Work Areas
The TABLES < name> statement declares an ABAP/4 Dictionary table in the ABAP/4
program and allocates a table work area with the same structure of as that of <
name>.
- In the above example, the SELECT statement reads table SBOOK line by line and places
each line read in the table work area SBOOK.
- ENDSELECT is used to indicate the end point of a block of statements that are used with
the SELECT statement.
- The statements that are included between the SELECT and ENDSELECT are executed for EACH
record read from the specified table, e.g. SBOOK in this example.
 |
Authored by: Roger Hayen
© Central Michigan Univeristy and/or © SAP America, Inc.
All rights reserved. |