ABAP Keyword Documentation → ABAP − Reference → Obsolete Language Elements → Obsolete Processing of Internal Data → Obsolete Internal Table Processing
REFRESH
Other versions: 7.31 | 7.40 | 7.54
Obsolete Syntax
REFRESH itab.
Effect
This statement deletes all rows in an internal table itab
. This frees up
the memory space required for the table, except for the initial memory requirement (see
INITIAL SIZE
). itab
expects an internal table.
The statement FREE
can be used to delete all rows and free all memory used by these rows.
Notes
-
The statement
REFRESH itab
has the same effect on internal tables asCLEAR itab[]
. If the internal tableitab
has a header line, the table body is initialized and not the header line. -
If the internal table
itab
does not have a header line, REFRESH itab has the same effect asCLEAR itab
. The use of tables with header lines is obsolete and forbidden in classes, which makes the use ofREFRESH
instead ofCLEAR
obsolete too. CLEAR orFREE
can always be used to delete rows in internal tables.