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

Refresh dynamic internal table

Former Member
0 Likes
1,360

Hi all,

I want to clear the contents of dynamic internal table .Please tell how to do it.The structue of dynamic internal table sould remain intact after clearing it.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
841

Hi

Use the REFRESH statament: it only clear the data, but not the structure:

REFRESH <TABLE>.

U should unsssign the field-symbols in order to delete the structure too.

Max

4 REPLIES 4
Read only

Former Member
0 Likes
841

REFRESH <itab_name>.

Read only

Former Member
0 Likes
841

Hi,

Dynamic internal table or any internal table , just use refresh statement. ( refresh itab )

if its a field symbol then use unassign.

regards,

Advait.

Read only

Former Member
0 Likes
841

hi,

Use unassign statement ...

unassign <fs>.

Regards,

Santosh

Read only

Former Member
0 Likes
842

Hi

Use the REFRESH statament: it only clear the data, but not the structure:

REFRESH <TABLE>.

U should unsssign the field-symbols in order to delete the structure too.

Max