Dear All,
I have written the following code to tranfer data from one internal table to the other.
The difficulty I m facing is that when I search for a single object_id its giving me data...but if I search for all entries this tranferred data is not there.
Please help me out.
Thanks in advance.
data: count type i.
count = 1.
loop at jtab.
read table ktab index count.
if ktab-object_id = jtab-object_id.
jtab-vbeln = ktab-vbeln.
jtab-ordered_prod1 = ktab-ordered_prod1.
jtab-description1 = ktab-description1.
jtab-netwr = ktab-netwr.
jtab-angdt = ktab-angdt.
jtab-probability_q = ktab-probability_q.
jtab-quantity2 = ktab-quantity2.
jtab-vbeln1 = ktab-vbeln1.
jtab-ordered_prod2 = ktab-ordered_prod2.
jtab-description2 = ktab-description2.
jtab-netwr4 = ktab-netwr4.
jtab-contract_date = ktab-contract_date.
jtab-quantity4 = ktab-quantity4.
modify jtab.
clear jtab.
count = count + 1.
clear ktab.
endif.
endloop.