Hi,
Unable to get the data from both of the tables.
Just check once my code.
SELECT SINGLE docyr exnum INTO (itab-docyr, itab-exnum) FROM j_1iexchdr WHERE rdoc = itab-vbeln.
IF itab-docyr IS NOT INITIAL AND itab-exnum IS NOT INITIAL.
SELECT SINGLE exnum INTO itab-exnum1 FROM j_1iexcdtl WHERE trntyp = 'ARE1' AND docyr = itab-docyr AND werks = itab-werks AND rdoc2 = itab-exnum.
ENDIF.
MODIFY itab TRANSPORTING docyr exnum exnum1.
From the above query, the data was retrieving correctly.
But it was effecting other values. Without effecting other values, how can I get Exnum1. That is what Im asking. I think u understood now what my prob is!
Regards
Kalpana