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 itab
acts for internal tables likeCLEAR itab[]
. If the internal tableitab
has a header line, then the table body and not the header line is initialized. -
If the internal table
itab
has no header line, REFRESH itab acts likeCLEAR itab
. Since the use of tables with header lines is obsolete and forbidden in classes, the use ofREFRESH
instead of CLEAR is also obsolete. To delete rows in internal tables, CLEAR orFREE
can always be used.