ABAP Keyword Documentation → ABAP - Reference → Assignments → Initializations
FREE
Other versions: 7.31 | 7.40 | 7.54
Syntax
FREE dobj.
Effect
The FREE statement deletes all rows from an internal table and releases the memory area that the rows occupied.
On other data objects, the FREE statement functions like the CLEAR statement.
If dobj is a structure with components with a tabular form, the memory of all the tabular form components will be released.
Notes
-
If
dobjis an internal table with a header line,FREEonly affects the table body and not the header line. -
By comparison with
CLEAR, whenFREEis used the initial memory area remains unoccupied. -
See also Memory Requirements of Deep Data Objects.