hi
I am giving you the sample program (code) for running parallel cursor method in SAP ABAP.
data: w_index type sy-index.
sort it1 and it2 by pk.
loop at it1 into wa1.
.....
loop at it2 into wa2 from w_index.
if it1-f1 ne it2-f1.
w_index = sy-tabix.
exit.
else.
........
endif.
endloop.
endloop.