‎2005 Jun 02 5:17 AM
Hi Everyone,
I have a requirement where I have to createa Batch input session for Transaction MB1B for movement type 311.
My question is can use BAPI instead of Batch input?
Also in case the Batch input session is in error the user can resolve the error and reprocess the BIM.Is this possible for BAPI?
Thanks
‎2005 Jun 02 6:34 AM
Hi Jyotsna,
Surely we can use BAPI instead of batch input but first we have to confirm the availability of a suitable BAPI.
BAPI also return a table BAPIRET2, in which all message
are stored irrespective of success or error.
Regards,
Narinder Hartala
‎2005 Jun 02 8:21 AM
Hi Jyotsna,
There is a BAPI for goods movements: BAPI_GOODSMVT_CREATE . You should be able to use this to do your movement type 311.
In answer to your second question, no, BAPIs are not really suitable in the situation where you want end users to process the errors. All that you get back from the BAPI is a list of error messages, there is no easy way for the user to correct the data and re-process. You have to code this for yourself when using BAPIs.
So, if your requirement is to have end users fixing errors, then I would stick with the batch input.
Brad