Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Clear and Refresh

Former Member
0 Likes
616

Hi,

Tell me the difference between "Clear" and "Refresh"

Regards,

Kalai

5 REPLIES 5
Read only

Former Member
0 Likes
593

Hi,

Clear is used for work areas.

Refresh is used for internal tables.

Read only

former_member188829
Active Contributor
0 Likes
593

Hi,

Check this thread..

Read only

Former Member
0 Likes
593

CLEAR is used to clear the header of internal table.

REFRESH is used to clear the body of the internal table.

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
593

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.

Read only

Former Member
0 Likes
593

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