‎2012 Oct 03 4:13 PM
SAP rookie here, so bear with me. I'm attempting to be able to pull 'Availability Qty' data from tcode MD04. From the research I've done so far, it appears that the best route to go would be to use BAPI_MATERIAL_STOCK_REQ_LIST in order to get 'Available Qty' data. I've looked at this BAPI in SAP but have no idea how to use it correctly in order to get the data I need. If somebody could help me out it would be much appreciated. Thanks!
-Vinnie
‎2012 Oct 03 4:32 PM
Hi,
BAPI_MATERIAL_STOCK_REQ_LIST gives you all data of MD04.
MD_STOCK_REQUIREMENTS_LIST_API is a FM that is called inside
You should run both these FM'S in SE37 providing it a material and plant and see what import data u need.
Function modules only receive a single material, so in your report you must call the function as many times as materials you have and store return items in internal tables before you display them.
‎2012 Oct 03 4:32 PM
Hi,
BAPI_MATERIAL_STOCK_REQ_LIST gives you all data of MD04.
MD_STOCK_REQUIREMENTS_LIST_API is a FM that is called inside
You should run both these FM'S in SE37 providing it a material and plant and see what import data u need.
Function modules only receive a single material, so in your report you must call the function as many times as materials you have and store return items in internal tables before you display them.
‎2012 Oct 03 5:22 PM