Skip to content

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

REFRESH

Quick Reference

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