Ansicht
Dokumentation

ABAPDATA_RANGES - DATA RANGES

ABAPDATA_RANGES - DATA RANGES

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

DATA, RANGE OF

Short Reference



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

  • 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.








ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 2380 Date: 20240328 Time: 180418     sap01-206 ( 32 ms )