‎2008 Jul 09 12:25 PM
Hi,
I have done Goods issue thru bapi 'Bapi_goodsmvt_create".Now I want to check whether Goodsissue is successful or not.Thru mb1a, I think I cannot check whether issue has been successful or not, rather we do Goods issue thru mb1a. Please help me how can I check whether issue is successful or not.
Rgds,
khadeer.
‎2008 Jul 09 12:38 PM
Hello
After you call function analize Return table. If this table empty - issue is successful.
Else - see at error codes in this table.
‎2008 Jul 09 12:38 PM
Hello
After you call function analize Return table. If this table empty - issue is successful.
Else - see at error codes in this table.
‎2008 Jul 09 12:40 PM
You can check the success of the BAPI
using the RETURN parameter or using the export parmeters
MATERIALDOCUMENT
MATDOCUMENTYEARif the value in the material document then it is success.
After the success Don't forget to call the
BAPI_TRANSACTION_COMMIT
‎2008 Jul 10 11:43 AM
hi vijay,
Khadeer here. Return table is empty for 'bapi_goodsmvt_create'. Thru debugging I got the mblnr and year.Once return table is empty then, shall we have to call 'bapi_transaction_commit' .
one more thing, Shall we have to get the mat.doc. number and year thru debugging only or any other way.Please explain me.
With warm regards,
khadeer
‎2008 Jul 09 12:46 PM
‎2008 Jul 09 12:52 PM
Hi ,
BAPI will return the MBLNR , then u can cross check data with Tcode MB03.
If its a MIGO , u can check in me23n >po history , if its GI u can check that one is VL03n->document flow, etc
regards
Prabhu
‎2008 Jul 09 12:55 PM
Hi,
Check the return table of your BAPI function module..
If that is initial... you goods movement is successful
regards
padma