SAP ABAP EXTRACTS EXTENDED



Get Example source ABAP code based on a different SAP table
  



Obsolete Extracts
An extract dataset, or extract for short, is a dataset in the ABAP_ISESS 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 each ABAP program. It can be filled and read using ABAP statements. The content of the extract dataset cannot be deleted explicitly.
Like an internal table, an extract dataset consists of a dynamic number of lines and the size of the extract dataset is theoretically unlimited. If the size exceeds 500 KB, it is stored in a file in the operating system. Sizes of up to 2 GB (and larger for 64-bit processors) are practicable. Unlike internal tables, the individual lines can have different structures. The line structures are declared as field groups using the statement FIELD-GROUPS.
The exact structure of each line is not determined until the program is executed using the statement INSERT.
The statements used for processing extracts are:
EXTRACT
SORT
LOOP
AT



Latest notes:

Field groups cannot be defined in class pools or interface pools. Their extract dataset, however, can be processed in methods of local classes of other programs.
Extracts are obsolete. Internal tables should be used instead.
ABAP_HINT_END