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

logic to fetch data from LFA1

$
0
0
SELECT banfn werks flief badat          FROM eban          INTO TABLE it_eban          WHERE badat IN s_badat.   IF NOT it_eban IS INITIAL.     SELECT bwkey bukrs FROM t001k            INTO TABLE it_t001k            FOR ALL ENTRIES IN it_eban            WHERE bukrs EQ it_eban-werks.   ENDIF.

I need to write a statement that would take  flief (vendor) from EBAN and bukrs from T001K and pass in LFB1 to check whether the vendor is extended to that company code.


How to add the logic?


Pls assist.


-babu


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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