SAP MEMORY CONSUMPTION 4
Get Example source ABAP code based on a different SAP table
Complex Data Objects with Deep Components
If data objects of
For complex data objects with relatively little data content, three basic cases can be distinguished:
Deep data objects with a fill level that is sparse, duplicative, and not too low can usually be used without any concerns.
For deep data objects with a sparse fill level and few duplicates, it is vital to consider the memory requirements for references and headers. Unlike other programming languages, ABAP is not suitable for the massive use of such data objects. If the dataset is low, a class wrapper can also be used as an alternative to internal tables, since the additional costs for objects are comparatively low.
ABAP_EXAMPLE_VX5
An example of a duplicative data object with a low fill level is an internal table whose line type itself is table-like or contains t able-like components. Even if the inner internal tables are initialized after previous use, they still occupy memory for reference and header, which can cause considerable memory requirements for little or no work data in the case of a large outer internal table.
ABAP_EXAMPLE_END
ABAP_EXAMPLE_ABEXA
See
ABAP_EXAMPLE_END