Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Obsolete Language Elements →  Obsolete Processing of Internal Data →  Obsolete Internal Table Processing 

REFRESH

Short Reference

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 like CLEAR itab[]. If the internal table itab 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 like CLEAR itab. Since the use of tables with header lines is obsolete and forbidden in classes, the use of REFRESH instead of CLEAR is also obsolete. To delete rows in internal tables, CLEAR or FREE can always be used.