Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Assignments 


The statements CLEAR and FREE initialize data objects, that is, they set the content of a data object to an initial value. Initialization does not delete the data objects in question. Data objects created by declarative statements are only deleted from the memory when leaving a program, together with the internal session. Objects created dynamically by the statement CREATE are deleted by the Garbage Collector. The initialization of reference variables can, however, cause the Garbage Collector to delete the referenced objects.

Field symbols are initialized by the statement UNASSIGN, but this does not affect the garbage collection process.

Other versions: 7.31 | 7.40 | 7.54


REFRESH is an obsolete statement used to initialize internal tables.