2007 Jun 12 5:30 PM
how to avoid loop with in the loop? how to transfer data from 2 internal tables to another internal table in nested loop?
2007 Jun 12 5:37 PM
Hi
Loop at first itab.
read the second int table with key f1 = itab-f2.
if sy-subrc = 0.
move the related fields to another itab4.
endif.
read the third int table with key f1 = itab-f3.
if sy-subrc = 0.
move the related fields to another itab4.
endif.
append itab4.
clear itab4.
endloop.
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Jun 12 5:51 PM
It's all here:
/people/rob.burbank/blog/2006/02/07/performance-of-nested-loops
Rob