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

Re: An abap statement, which i have found in exsiting code is comewhat not clear and i believe it is written in a wat which is time consuming..

$
0
0

Hello.

    Fetch data using primary key/secondary index and do your processing in internal table.


     SELECT  ebeln ebelp loekzmatnr werks menge meins netpr elikzpstyp knttp  bstyp revlv

     INTO  TABLE it_ekpo FROM  ekpo
          WHERE  ebeln IN s_ebeln.


     delete it_ekpo where elikz = 'X'

                                OR       loekz = 'L'

                                 OR      knttp = 'F'

                                OR       knttp = 'K'

                                OR       bstyp <>  'F'

                                OR       werks NOT IN s_plant.


Regards.


Viewing all articles
Browse latest Browse all 9164

Trending Articles



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