Skip to content

ABAP Keyword Documentation →  ABAP Dictionary →  Classic Objects in ABAP Dictionary →  Data Types →  Table Types 

Ranges Table Type

A ranges table type is a table type for a ranges table. A ranges table is a standard table with a standard key and a specially structured row type for use in a general logical expression with the relational expression IN seltab or after WHERE in Open SQL with the relational expression IN seltab. In ABAP Dictionary, ranges table types are created using the statement TYPES ... RANGE OF.

The data types of the components SIGN and OPTION are the data elements DDSIGN and DDOPTION. The data type for the components LOW and HIGH must be elementary and can be specified directly as a predefined data type or using data element.

The structure of the ranges table must be a standalone structure in ABAP Dictionary. When a ranges table type is defined, it can be created from the types specified for the components LOW and HIGH.

Other versions: 7.31 | 7.40 | 7.54


Notes

  • In ABAP programs, ranges tables can also be defined with reference to data types other than elementary data types.

  • In ABAP programs, the structure of a ranges table does not need to be a standalone structure.