‎2007 Dec 18 8:04 AM
Hi,
Tell me the difference between "Clear" and "Refresh"
Regards,
Kalai
‎2007 Dec 18 8:08 AM
Hi,
Clear is used for work areas.
Refresh is used for internal tables.
‎2007 Dec 18 8:10 AM
‎2007 Dec 18 8:11 AM
CLEAR is used to clear the header of internal table.
REFRESH is used to clear the body of the internal table.
‎2007 Dec 18 8:12 AM
Hi,
refresh itab. or clear itab[].
Here itab is the internal table.Records will be deleted.
clear wa.
Here wa is workarea or a variable.It's value is cleared.
‎2007 Dec 18 8:18 AM
hi,
Refresh is used to delete (records)the contents of internal table body where as clear is used to delete(record) the contents of work area.
Here in both cases memory will be still allocated but refresh the contents.
Venkat