2009 Oct 20 11:03 AM
HI all,
I am using function module BAPI_IDOC_INPUT1 in order to reprocess some Idocs in error, it works done and posts the debit note correctly but the Idoc status isn't updated and remains 51. I have also added BAPI_TRANSACTION_COMMIT.
Any suggest?
Thanks
GN
HI all,
I am using function module BAPI_IDOC_INPUT1 in order to reprocess some Idocs in error, it works done and posts the debit note correctly but the Idoc status isn't updated and remains 51. I have also added BAPI_TRANSACTION_COMMIT.
Any suggest?
Thanks
GN
2009 Oct 20 11:33 AM
If the IDOC has successfully posted the document then the status of the idoc would be 53 or if the idoc fails to create a document then the status of the idoc would be in 51.
Please let me know what was the error message you are getting.
Thansk,
Mahesh.
2009 Oct 20 11:40 AM
it doesn't give any message, the idoc status record isn't updated, it remains like before processing... but in debugging I saw it has been processed...
2009 Oct 20 11:57 AM
What is the message type and idoc type you are using for this scenario and also the function module.
2009 Oct 20 12:54 PM
Idoc type ACC_DOCUMENT03
message type ACC_DOCUMENT
function module IDOC_INPUT_ACC_DOCUMENT
2009 Oct 20 1:00 PM
Take a new idoc and try posting with the function module IDOC_INPUT_ACC_DOCUMENT rather than using the function module BAPI_IDOC_INPUT1.
I believe the BAPI function module is the problem.
Thanks,
Mahesh.
2009 Oct 20 1:12 PM