Skip to Content
0
Former Member
Feb 23, 2009 at 11:17 AM

delete data into table before insert

499 Views

hi Experts,

how to write a code for delete the data first from ztable before inserting the data into the same table after execution of program.

I have written like

data itab like ztable occurs 0 with header line.

If ztable is not initial.

delete itab.

modify ztable from itab.

endif.

but this code is not working.Plz reply as soon as possible.

Thx in advance.

Regds,

Vipul