‎2013 Sep 24 1:24 PM
Hello,
I have a custom IDOC type and custom message type for an outbound IDOC. Developed a FM to retrieve data for segments and using MASTER_IDOC_DISTRIBUTE FM to generate Outbound IDOC. Everything is good.
Issue is while trying to reprocess the IDOC. Doing this through BD87. But it is changing the original IDOC status to 33 and also creating new IDOC.
My Requirement is to reprocess the same IDOC and processing it through the FM created for this IDOC type.
Please let me know how can I achieve this.
Thanks for all the help
Sandhya
‎2013 Sep 24 2:14 PM
I don't think you can reprocess the SAME IDoc with the function module since the IDoc is the result of the function module and not the input data for the function module.
You will need to run the same program / do the same action that created the IDoc in the first place. That way the function module will be called again.
You can reprocess the IDoc in WE19 (standard outbound processing), but this will also create a copy of the IDoc.
‎2013 Sep 24 9:04 PM
Thank you so much for your response.
Can you please let me know in how many ways we can reprocess a failed outbound IDOC apart from BD87 and WE19?
‎2013 Sep 25 5:20 AM
Hi Sandhya, the best way to reprocess IDoc is nothing but WE19, IDoc test .
There is no other way to reprocess IDoc other than these two.
‎2013 Sep 25 8:51 AM
If you want to reprocess the idoc using BD87 you can try following.