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

Re: JOINING ISSUE

$
0
0

Hello,

 

Try with below statement. You were using wrong syntax.

 

SELECT A~bukrs

              B~ebeln

              B~bukrs

              B~bstyp

              B~BSART

              B~lifnr

              B~ekorg

              B~bedat

              C~ebeln

              C~ebelp

              C~txz01

              C~matnr

              C~elikz

              C~erekz

              C~knttp

           INTO CORRESPONDING FIELDS OF TABLE it_tab

           FROM  T001 AS A

           INNER JOIN EKKO AS B ON  A~bukrs = B~bukrs

           INNER JOIN EKPO AS C ON  C~ebeln = C~ebeln  where  b~ekorg in s_ekorg

                                                         AND a~bukrs in s_bukrs

                                                        and   b~bstyp in s_BSTYP

                                                        and   b~BSART in s_BSART

                                                        and   b~ebeln  IN s_ebeln

                                                        and   b~lifnr in s_lifnr

                                                        and   b~bedat in s_bedat.


Viewing all articles
Browse latest Browse all 3116

Trending Articles



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