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

Delete Statement - Memory Space

Former Member
0 Likes
595

Hi All,

If we use 'delete' statement to delete all the rows of an internal table, will the storage space (Memory) allocated for that be deleted.. Similar to that of FREE statement.

Please help me to resolve this..

Thanks in advance,

Smitha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
513

No, only FREE statement can remove the memory allocation. Till then memory is always blocked.

REFRESH ITAB[] - Will refresh the content in internal table ie delete the entires in internal table

CLEAR ITAB - Will clear the header line content of internal table

FREE ITAB - Resets any data object f to the correct initial value for its type and FREE also releases any resources connected with the data object.

ashish

2 REPLIES 2
Read only

Former Member
0 Likes
514

No, only FREE statement can remove the memory allocation. Till then memory is always blocked.

REFRESH ITAB[] - Will refresh the content in internal table ie delete the entires in internal table

CLEAR ITAB - Will clear the header line content of internal table

FREE ITAB - Resets any data object f to the correct initial value for its type and FREE also releases any resources connected with the data object.

ashish

Read only

Former Member
0 Likes
513

No ...

it will not delete memory location...

u have to use FREE for that...

Thanks & Regards

ilesh 24x7