HI All,
I am having data in itab. and i want to delete the full data from itab by using the delete statement witout any condition.but it is getting dump.
Small piece of code for example.
data: begin of itab occurs 0,
f1,
f2 type i,
end of itab.
itab-f1 = 'C'.
itab-f2 = 90.
append itab.
clear itab.
itab-f1 = 'C'.
itab-f2 = 80.
append itab.
clear itab.
itab-f1 = 'C'.
itab-f2 = 30.
append itab.
clear itab.
write:/ 'F1',11'F2'.
uline.
sort itab." BY f1 ASCENDING f2 DESCENDING.
delete itab.
loop at itab.
write:/ itab-f1,itab-f2.
endloop.
Here i want to delete the full data fromthis Itab.
Please try it give me your input.
*