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 and can be used in general logical expressions with the relational expression IN range tab or used after WHERE in ABAP SQL with the relational expression IN range tab. In ABAP Dictionary, ranges table types are created in the same way as with 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 built-in data type or using a 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.