Skip to Content
0
Former Member
Oct 30, 2009 at 04:15 PM

Reg Delete stat

22 Views

Hi,

I am getting syntax error at delete statment.

loop at LT_erdk into ls_erdk.

read table lt_ever into ls_ever with key vertrag = ls_erdk-vertrag.

if sy-subrc = 0.

ls_erdk-anlage = ls_Ever-anlage.

modify lt_erdk from ls_Erdk transporting anlage.

else.

delete LT_erdk from ls_erdk.

endif.

endloop.

Thanks