cancel
Showing results for 
Search instead for 
Did you mean: 

Bapi_Material_availabilty doesn't display batch quantity

zach2015
Explorer
0 Kudos

Hi  Everyone\

We are facing a problem using Bapi_ material_availability in UE  when checking the availability  stock of  an item with a batch

  The  result  we are getting is   the total stock of the item  instead of the batch  stock.

Those are the parameters  we are updating

PLANT

MATERIAL

UNIT

CHECK RULE

STGE_LOC

BATCH

Can anyone help please?

Zac

Accepted Solutions (1)

Accepted Solutions (1)

former_member223981
Active Contributor
0 Kudos

Hi Zac,

I responded to a similar topic on the LE forum recently. You could check if it helps:

http://scn.sap.com/thread/3734345

zach2015
Explorer
0 Kudos

Thanks  for your  answer ,  we are checking field  wmdvex- com_qty

  the value that shows  there is  99999999999

Zac

former_member223981
Active Contributor
0 Kudos

Hi Zac,

I suspect that for the checking rule, you have not selected the flag "Check without RLT" in transaction OVZ9. This flag means that you will always have a quantity available after the end lead date so it returns with the 9999... value. Try selecting this flag so that lead time is not considered - I think you will get the batch quantity then.

Hope this helps,

Noel

zach2015
Explorer
0 Kudos

Thank you  very much  you are correct  it works now,,:)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Zac,

Please pass the below parameter value in BAPI.

PLANT

MATERIAL

UNIT

To get Batch stock.

Regards

A.Susheel