Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: problem while data retrieving

$
0
0

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


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>