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
The exact structure of each row is not determined until the program is executed using the statement
The statements used for processing extracts are:
- 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.
- Extracts are obsolete. We recommend that you use internal tables instead