Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Obsolete Language Elements →  Obsolete Processing of Internal Data 

Obsolete Extracts

An extract dataset, or extract for short, is a dataset in the internal session of an ABAP program that is not handled as a data object and therefore has no data type. There is only one extract dataset for every ABAP program. It can be filled and read using ABAP statements. The content of the extract dataset cannot be deleted explicitly.

In the same way as an internal table, an extract dataset is made up of a dynamic number of lines. The size of the extract dataset is theoretically unlimited. If the size exceeds 500 KB, it is stored in a file of the operating system. Sizes of up to 2 GB (and larger for 64-bit processors) are workable. Unlike internal tables, the individual lines can have different structures. The row structures are declared as field groups using the statement FIELD-GROUPS.

The exact structure of each row is not determined until the program is executed using the statement INSERT.

The statements used for processing extracts are:

Other versions: 7.31 | 7.40 | 7.54


Notes

  • Field groups cannot be defined in class or interface pools. Their extract dataset, however, can be edited in methods of local classes of other programs.

Continue

FIELD-GROUPS

INSERT - field_group

EXTRACT

SORT - Extract

LOOP - Extract

AT - Extract

Examples of Extracts