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

Reprocessing a IDOC which contains BAPI in the Inbound function module

Former Member
0 Likes
1,279

Hi All,

I have a requirement to reprocess a failed Inbound IDOC. To achieve this I am using the FM IDOC_INPUT to reprocess an IDOC. The IDOC number along with data from EDID4/EDIDC is being passed to this FM.

This FM is not reprocessing the IDOC which contains BAPI in the Inbound function module of the IDOC to create/change a document.

For example: The Inbound FM uses BAPI 'BAPI_PO_CREATE' to create a purchase order. When the IDOC fails and if try to reprocess the same it does not create a PO or gives any error message.

But when I use the same FM(IDOC_INPUT) to reprocess a IDOC for SO it works. The Inbound FM for SO has BDC in it.

I cant use WE19 as the access to this is restricted to user.

Any inputs/suggestions on how this can be achieved would be of great help

Regards

3 REPLIES 3
Read only

Former Member
0 Likes
692

Any inputs?

Read only

0 Likes
692

Try to use BD87

a®

Read only

Former Member
0 Likes
692

Why dont you just re run the IDOCs thru BD87 rather than using FM IDOC_INPUT?

As far as your problem is concerned check if you are Unlocking SO once you are done with processing. Check in debugging mode it should give some erro which will help analysis