Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

How exclude stock from MARC-EISBE in select statement

$
0
0

Dear Experts,

 

We have background job for T CODE MB1B to reserve stock for sales order and to select stock of storage location we have program as below but we have safety stock maintained in table MARC-EISBE system should exclude this value to reserve stock since it is safety stock. please help.

 

SELECT Matnr

               werks

               lgort

               labst

               klabs

from  mard

into corresponding fields of table gi_mard

for all entries in gi_items

where matnr = gi_items-matnr

and werks = gi_items-werks

and lgort NE 'FT04'

AND (labst > 0 or klabs > 0 ).

 

                   in this I want to exclude value of MARC-EIBSE please help how to exclude.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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