Function Module/BAPI to check if material is available in the warehouse
I have a requirement where i get the input as material number and i need to check if the material is available in stock and return the quantity of stock available. Do we have a Function Module/BAPI that takes the input as material number and tells if the material is available in stock or not.
The material can be a simple finished product, raw material or BOM. The function module should take the input as material number and should return if it is available in stock and the quantity that is available.
I donu2019t know if this is called ATP. Do we have a standard function module available for that?