‎2007 Jul 19 11:07 AM
what is parallel cursor technique. Please give an example
thanx in advance
‎2007 Jul 19 11:09 AM
‎2007 Jul 19 11:12 AM
Entries: 100 (ITAB1), 1000 (ITAB2)
Line width: 100
Both tables sorted by key K
I = 1.
LOOP AT ITAB1 INTO WA1.
LOOP AT ITAB2 INTO WA2 FROM I.
IF WA2-K <> WA1-K.
I = SY-TABIX.
EXIT.
ENDIF.
" ...
ENDLOOP.
ENDLOOP.
Or use TCODE Se30 and click on Hints and Tips
‎2007 Jul 19 11:14 AM
Suppose u got data in two internal table itab1 and itab2 from header and from item table
u have to take cobine the values into one table
so normally what we do is that we write loop .(item table -itab2 ) inside antother loop (header table-itab1) . but it will affect the performance
So go for Parallel cursor method
Regards,
Nikhil