TYPES: BEGIN OF linetype,
sign TYPE c LENGTH 1,
option TYPE c LENGTH 2,
low {TYPE type}|{LIKE dobj},
high {TYPE type}|{LIKE dobj},
END OF linetype.
The additions TYPE and LIKE determine the data type of
the components low and high :
type can be a non-generic data type from ABAP Dictionary, a
non-generic public data type of a public data type or global class, a
non-generic data type local to a program, or any ABAP type from the
table of predefined ABAP types .
The generic ABAP types c , n , p , and x are
implicitly extended to the standard length without
decimal places from the table of
predefined ABAP types.
dobj can be a data object visible at this point, whose type is
used for both components. Generically typed formal parameters cannot be
specified for dobj within a procedure
.
The addition INITIAL SIZE is synonymous with the definition of
normal internal table types .
Latest notes: A ranges table has the
same structure as a selection table ,
and can be used to pass values to the
selection screens of an executable
program called using SUBMIT in a
comparison expression with the
comparison operator
IN or in a
similar expression in a WHERE
condition in Open SQL .
The sign and option columns of a range table declared
using RANGE OF are 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 .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved