Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Idoc Status save

Former Member
0 Likes
862

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

6 REPLIES 6
Read only

Former Member
0 Likes
817

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.

Read only

0 Likes
817

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...

Read only

0 Likes
817

What is the message type and idoc type you are using for this scenario and also the function module.

Read only

0 Likes
817

Idoc type ACC_DOCUMENT03

message type ACC_DOCUMENT

function module IDOC_INPUT_ACC_DOCUMENT

Read only

0 Likes
817

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.

Read only

0 Likes
817

Mahesh thanks, but I already tried and it doesn't work...