Hi,
What exactly my requirement is:
vbrk-vbeln = j_1iexchdr-rdoc
I have to get rdoc2 where j_1iexchdr-exnum = j_1iexcdtl-exnum
And then I have to pick exnum where j_1iexchdtl-trntyp = 'ARE1' and year-docyr and j_1iexchdtl-werks.
Now I have to pick Exnum1(Are1 No.) without effecting other values by using bove condition..
Already exnum was picking from j_1iexchdr.
LOOP AT itab1.
CLEAR exnum.
SELECT SINGLE exnum INTO exnum FROM j_1iexchdr WHERE rdoc = itab-vbeln.
itab-exnum = exnum.
MODIFY itab TRANSPORTING exnum.
ENDLOOP.
I have given my code at very first. Can anyone help me in this.
Regards
Kalpana