SAP NEWS-40-PERFORMANCE
Get Example source ABAP code based on a different SAP table
Editing Large Datasets in ABAP Release 4.0
General
Large datasets in ABAP can be managed either as internal tables or
Internal tables are dynamic sequential datasets whose lines all have the same structure and a key.
From ABAP_RELEASE 4.5A, the performance of some crucial operations on internal tables and extracts has improved significantly.
Description of Functions
New Index Management in Internal Tables
Until now, the cost of manipulating indexes increased in linear relation to the number of entries being inserted or deleted from
Accessing Individual Internal Table Entries Using Field Symbols
Until now, individual entries in internal tables could only be processed indirectly using separate work areas. From ABAP_RELEASE 4.5A, field symbols can be used to display internal table entries. It is now possible to both read internal table entries and write to them as well. This allows for better performance when working with large and complex tables and makes processing nested internal tables considerably easier.
To assign a table line to a field symbol, use the following statements:
New Repository for Extracts
Until now,
New External Sort Process for Internal Tables and Extracts
The main memory cannot sort large datasets all at once. Until now large datasets were sorted by the operating system's own platform-dependent sort function. Now SAP's own platform-independent sort procedure is used. This reduces the costs of some sorting operations considerably.
Extracts stored in the file system are always resorted physically. Internal tables are sorted physically if they are longer than