Skip to Content
0
Former Member
Jun 09, 2009 at 02:49 AM

Reprocessing a IDOC which contains BAPI in the Inbound function module

587 Views

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