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 an internal table itab. This frees up the
memory space required for the table, except for the initial memory requirement (see
INITIAL SIZE). For itab, you must specify an internal table.
To delete all rows and free the entire memory space occupied by rows, you can use the statement FREE.
Notes
-
The statement
REFRESH itabacts for internal tables likeCLEAR itab[]. If the internal tableitabhas a header line, then the table body and not the header line is initialized. -
If the internal table
itabhas no header line, REFRESH itab acts likeCLEAR itab. Since the use of tables with header lines is obsolete and forbidden in classes, the use ofREFRESHinstead of CLEAR is also obsolete. To delete rows in internal tables, CLEAR orFREEcan always be used.