Skip to Content
0
Former Member
Oct 16, 2006 at 07:04 AM

Internal table problem

19 Views

Hi all

Pls find the following code,it the internal table has 100000 records,the problem is read the internal table it's get minimum 20 minits to end the loop.

pls help me

Thanks

kanishka

read table it_itab1 into wa_itab1 with key vgbel =

wa_itab-vbeln matnr = wa_itab-matnr.

if sy-subrc = 0 .

wa_itab-vgbel1 = wa_itab1-vbeln.

modify it_itab from wa_itab transporting vgbel1 where vbeln =

wa_itab-vbeln and matnr = wa_itab-matnr .

wa_itab-posnr1 = wa_itab1-posnr.

modify it_itab from wa_itab transporting posnr1 where vbeln =

wa_itab-vbeln and matnr = wa_itab-matnr .

wa_itab-matnr1 = wa_itab1-matnr.

modify it_itab from wa_itab transporting matnr1 where vbeln =

wa_itab-vbeln and matnr = wa_itab-matnr .

wa_itab-arktx = wa_itab1-arktx.

modify it_itab from wa_itab transporting arktx where vbeln =

wa_itab-vbeln and matnr = wa_itab-matnr .

wa_itab-fkimg = wa_itab1-fkimg.

modify it_itab from wa_itab transporting fkimg where vbeln =

wa_itab-vbeln and matnr = wa_itab-matnr .

endloop.