Ansicht
Dokumentation
ABAPDATA_RANGES - DATA RANGES
General Material Data PERFORM Short ReferenceThis documentation is copyright by SAP AG.
DATA, RANGE OF
DATA range_tab ${TYPE RANGE OF type$}$|${LIKE RANGE OF dobj$}
$[INITIAL SIZE n$]
$[VALUE IS INITIAL$]
$[READ-ONLY$].
Effect
This statement defines a ranges table range_tab with the table type described in the section TYPES - RANGE OF. The table type defined here, however, is not a standalone type, but exists as a property of the data object range_tab.
The addition VALUE IS INITIAL can be used to specify an initial
start value.
Notes
- Outside of classes, the addition WITH HEADER LINE can also be used to declare an obsolete header line.
- The declaration of a ranges table using the statement RANGES is obsolete.
Example
In this example, a ranges table is declared, filled, and evaluated in the WHERE
condition of a SELECT statement.
BAL_S_LOG - Application Log: Log header data BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 2380 Date: 20240508 Time: 022133 sap01-206 ( 21 ms )