Ansicht
Dokumentation
ABAPFREE_DATAOBJECT - FREE DATAOBJECT
BAL Application Log Documentation ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
FREE
FREE dobj.
Effect
The statement FREE deletes all lines from an internal table and releases the memory area that was occupied by the lines.
On other data objects, FREE works like the statement CLEAR.
If dobj is a structure with tabular components, the memory of all the tabular components is released.
Notes
- If dobj is an internal table with a header line, FREE only affects the table body and not the header line.
- Unlike CLEAR, the initial memory area (see INITIAL SIZE) remains unoccupied when FREE is used. This can become necessary when there is a lack of memory.
- In general, FREE should only be used if the entire memory is to be released completely and the internal table is no longer needed or at the least not filled immediately.
- See also Memory Requirements of Deep Data Objects.
Example
At the breakpoints in the memory analysis of the ABAP debugger, it can be observed that FREE releases more allocated bound memory than CLEAR.
TXBHW - Original Tax Base Amount in Local Currency Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 1904 Date: 20240420 Time: 041525 sap01-206 ( 26 ms )