2012 Feb 02 11:18 AM
Hi,
Can any one suggest me, how to handle the errors for the BAPI MB_COUNT_POST_WITHOUT_INV_DOC, because this bapi does not have any return table for errors handling? And also suggest any other BAPI which fits for MI10 transaction.
<removed by moderator>
Thanks&Regards,
Damuan.
Edited by: Thomas Zloch on Feb 2, 2012
2012 Feb 03 12:35 AM
Any error message should be returned as part of export structure S_EIKPF... take a look at the last 7 fields.
2012 Feb 03 5:43 AM
Hi Dear,
Your answer is very helpful, thanks..!!
But when i am testing with the EIKPF structure, neither error is populating in EIKPF nor the records are posting in MI10. Could you please guess what would be the problem?
Below are the fields that i am passing through this BAPI
1)Document date 2)count date 3)plant 4)storage location 5)item number 6)material code 7) entry quantity
Thanks&Regards,
Damuan.
2012 Feb 03 6:08 PM
It's not easy to figure out the exact issue without debugging your exact scenario... but first thing first: did you call BAPI_TRANSACTION_COMMIT (or did you use COMMIT WORK) following MB_COUNT_POST_WITHOUT_INV_DOC?
2012 Feb 04 7:48 AM
Yes, i used BAPI_TRANSACTION_COMMIT and also did the debugging. I found everything is filled properly in debugging. But i am not getting any error message in export structure S_EIKPF.
Regards,
Damuan.