ABAP Keyword Documentation → ABAP - Reference → Processing Internal Data → Assignments → Initializations
FREE
Other versions: 7.31 | 7.40 | 7.54
Syntax
FREE dobj.
Effect
The statement FREE
deletes all rows from an internal table and releases the memory area that the rows occupied.
On other data objects, FREE
works like the statement CLEAR
.
If dobj
is a structure with table-like components, the memory of all the table-like components is released.
Notes
-
If
dobj
is an internal table with a header line,FREE
is only applied to the table body and not the header line. -
Unlike
CLEAR
, the initial memory area (see INITIAL SIZE) remains unoccupied whenFREE
is used. -
See also Memory Requirements of Deep Data Objects.