Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8653

Re: Connect two tables

$
0
0

Hi Mani,

 

Correct like this

 

select bukrs

          lifnr

          budat

          wrbtr

          belnr

          shkzg

          zuonr

          umskz

          sgtxt

          gjahr

     from bsak

     intotable it_bsak

     where bukrs in s_bukrs and lifnr in s_lifnr and budat in s_date.

 

ifnot it_bsak isINITIAL.

select bukrs belnr tcode

   from bkpf

   INTOtable it_bkpf

   FORALL ENTRIES IN it_bsak

   where bukrs = s_bukrs

     where bukrs in s_bukrs

    and belnr = it_bsak-belnr.

endif.


Viewing all articles
Browse latest Browse all 8653

Trending Articles



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