RANGES rtab FOR dobj [OCCURS n].
Obsolete declaration of a ranges table. This statement (not allowed in classes) is a short form of the following statement sequence which is also not allowed in classes:
sign TYPE c LENGTH 1,
option TYPE c LENGTH 2,
low LIKE dobj,
high LIKE dobj,
END OF rtab.
Declares an internal table
rtab with the structure of a
selection table and a
header line. Without the
OCCURS, the initial
memory requirement of the ranges table is set to ten rows. You can use the addition
to specify a numeric literal or a numeric constant
n to determine a different initial memory requirement.
RANGESis replaced by the addition TYPE|LIKE RANGE OF of the statements
DATA. If used, these declare ranges tables without header lines.
optioncolumns of a range table declared using
RANGESare not related to data types in ABAP Dictionary. For a ranges table defined in ABAP Dictionary, these columns are based on the data elements DDSIGN and DDOPTION.