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.