‎2010 Jun 03 6:58 PM
Hi experts!
I'm new to batch determination and I'm facing an issue. I've set up a batch determination configuration and it works fine when I post a goods issue in dialog process (MB1A) entering * in the batch field.
Now I'm trying to do the same with BAPI_GOODSMVT_CREATE, but if I enter * in the batch parameter I get an error message M7116: "The storage location/batch function * is not defined here". If I leave it blank i get the error message "Enter batch".
Hope somebody has any clue.
Thanks
‎2010 Jun 03 7:13 PM
Hi,
If your material is "batch managed" you have to supply the bacth number in BAPI.
The BAPI does not search automatically for a batch number like MB1A.
Best regards,
Leandro Mengue
‎2010 Jun 03 7:20 PM
‎2010 Jun 03 7:23 PM
Hi,
I think that you have to use BAPI_MATERIAL_GETBATCHES before BAPI_GOODSMVT_CREATE.
Best regards,
Leandro Mengue
‎2010 Jun 03 7:31 PM
Are there any enhancements in BAPI_GOODSMVT_CREATE that we can use to get the batches?