SAP REFRESH ITAB ABAP Statements

Get Example source ABAP code based on a different SAP table
  


Standard SAP Help for REFRESH_ITAB

REFRESH

Short Reference
• REFRESH ABAP Statement

ABAP Syntax(Obsolete)REFRESH itab.

What does it do? 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.

Latest 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.

Return to menu