‎2020 Oct 13 4:57 PM
Hi,
I am using bapi_goodsmvt_create uploading excel file, In excel file giving process order no, plant, material, quantity.
Excel quantity just checking with mchb-clabs if the stock is available then material document is creating but the requirement is if the stock doesn't match with excel quantity then how it should check the quantity from next batch.
For example : In excel I am giving 200 but the stock of batch quantity is 150 so 50 quantity should pick from next batch then goods movement should post.
Thanks in advance !!
Regards,
Rohit
‎2020 Oct 13 5:20 PM
Hi Rohit,
Do try with MB52 submit program with Batch instead of Excel Upload. please follow the below blog this is custom Migo process - Custom MIGO for all Movement Types
‎2020 Oct 13 5:20 PM
Hi Rohit,
You need to call batch determination FM too, when you try for this option. Explore more on this as per your business batch determination logic and build the technical object.
Refer the thread where the discussion happened on this and lot of insights with SAP note and ABAP exemplary details:
https://answers.sap.com/questions/12111614/bapi-goodsmvt-create-and-batch-determination.html
https://wiki.scn.sap.com/wiki/display/ERPSCM/Stock+and+Batch+Determination
Regards,
Sharat