Skip to Content
0
Former Member
Jul 15, 2008 at 08:08 PM

Modify Example

21 Views

Hey Folks,

I have a problem when using modify . in my requirement I have table itab and itab1

following is the below code

loop at itab into wa_itab.

read table it_itab1 into wa_itab1 with key vbeln = wa_itab-a binary search.

if sy-subrc = 0.

wa_tab-b = wa_itab1-b

endif.

modify it_itab1 from wa_itab1.

endloop.

how can the change the contents of ITAB1.

I am getting a short dump saying i cant modify the table while inserting.

Thanks

Larry