‎2009 Aug 16 2:47 PM
Hi ABAP Gurus,
I'm looking for some BAPI to post inventory document (which replicate the scenario of MI10) in my custom program. The fields values I have from my custom program are: Document date, Plant, Storage Location, Material Number, Batch Number, Stock Type, Reason and Quantity. Though I'm able to create the inventory document in MI10 manually with these details but not able to replicate the same through some BAPI. Please suggest.
Thanks,
Neha
‎2009 Aug 16 3:11 PM
Hi,
BAPI_GOODSMVT_CREATE
Check the below link for more info
Link[ Post Good Mvt |http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm]
Regards,
Himanshu
‎2009 Aug 16 5:38 PM
Hi Himanshu,
BAPI_GOODSMVT_CREATE is for Posting goods movement. I already tried this BAPI but is not useful for MI10 scenario. I need a BAPI for Posting count difference which can simulate the transaction MI10. Please help.
Thanks,
Neha
‎2009 Aug 26 8:44 AM
I need the same function.
What we are looking to do, is to read the stock and calculate the difference between the SAP stock and the entered stock, and then do a BAPI_GOODSMVT_CREATE with the calculated difference and movementtype 701/702.
Edited by: Bent Jacobsen on Aug 26, 2009 10:27 AM