BAPI - BAPI - MATERIAL - AVAILABILITY - Supply Chain Management (SCM) - SCN Wiki
BAPI - BAPI - MATERIAL - AVAILABILITY - Supply Chain Management (SCM) - SCN Wiki
Community WIKI SAP Community Welcome, Guest Login Register Search the Community
BAPI - BAPI_MATERIAL_AVAILABILITY
Created by Former Member, last modified on Sep 06, 2012
Purpose
This content is created to explain the special processes in availability check. Sometimes, dialogue ATP check does not fulfil customer's requirement. In that case, they can use the bapi to check if the
material is available or not.
Overview
BAPI (Business Application Programming Interface) is a standardized and release independent function module. For Example Internet Online shop, Customer wants to know, when a product is available.
Using this function module, you can determine the ATP quantity for a particular material in a certain plant according to ATP logic.
Bapi_material_availability
The availability check is carried out on transferring the material number, the plant and the input table (internal table WMDVSX). The results of the availability check are recorded in the output table (Internal
table WMDVEX). This table contains dates and available receipts quantities (ATP quantities). The system also displays the end of the replenishment lead time (ENDLEADTME).
1. If no date and no quantity are transferred, the system displays the ATP stock situation from today's date into the future as the result.
2. If only a date and no quantity are transferred, the system displays the ATP stock situation of the corresponding date as the result.
3. If both date and quantity are transferred, the system calculates the ATP situation for the quantity specified.
In the last two cases, the parameter 'DIALOGFLAG' is supplied. This can result in the following:
Related Content
Related Documents
Related SAP Notes/KBAs
SAP Note: 870746 - Missing parameters in BAPI_MATERIAL_AVAILIBILITY
https://wiki.scn.sap.com/wiki/display/SCM/BAPI+-+BAPI_MATERIAL_AVAILABILITY 1/1