I'm using a BAPI to create deliveries - which is working fine for the most part.
I am running into a couple of scenarios where the delivery isn't created for the quantity in the batch - because of ATP requirements. Is there any function I can use to check the overall material availablity before I call the BAPI to create the delivery?