‎2010 Feb 19 3:59 AM
Hi All,
I have a requirement to create Goods Issue for which I am using the FM 'BAPI_GOODSMVT_CREATE'.
But, it should support automatic stock determination if Storage location is selected as '*' in the selection screen (same way as the tcode MB1A behaves).
Please let me know if there is any FM which can be used for Stock Determination or any code which might help me achieve this functionality.
Regards
‎2010 Feb 19 4:03 AM
Hi,
Please check
1) BAPI_WHSE_STOCK_GET_DETAIL
2) MB_READ_MATERIAL_STOCKS
3) BAPI_MATERIAL_AVAILABILITY
4) MD_STOCK_REQUIREMENTS_LIST_API
Hope it helps.
Regards
Hiren K.Chitalia
‎2010 Feb 19 4:22 AM
Hi,
the BAPI BAPI_GOODSMVT_CREATE does not support automatic sloc determination. See question 5 in note 520813. So you need to to debug MB1A how SAP determines suitable sloc. Have a look at form BESTANDSFINDUNG in program SAPMM07M.
Cheers