Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

what is parallel cursor technique.

Former Member
0 Kudos

what is parallel cursor technique. Please give an example

thanx in advance

3 REPLIES 3

Former Member

Former Member
0 Kudos
  • 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

Former Member
0 Kudos

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