‎2009 May 31 7:49 AM
Hi,
When there is an error in IDOC excution using FM "IDOC_INPUT_ORDERS', I have to send a mail to idoc Partner. Please let me know how to do it.
Thanks and Regards
Ravi
‎2009 May 31 3:28 PM
Hi Ravi,
Pick the status of the idoc from the DDIC table when the sy-subrc is <> 0. Create a business object under SCDO and generate the update program which will generate the Function Module for the same. Once the Function Module is generated, call the same Function Module after the IDOC_INPUT_ORDERS depending on the sy-subrc and using the Return code from the same generated Function Module setup a workflow which triggers an email using the distribution list.
Hope this is clear.
Regards,
-Syed.
‎2009 May 31 3:28 PM
Hi Ravi,
Pick the status of the idoc from the DDIC table when the sy-subrc is <> 0. Create a business object under SCDO and generate the update program which will generate the Function Module for the same. Once the Function Module is generated, call the same Function Module after the IDOC_INPUT_ORDERS depending on the sy-subrc and using the Return code from the same generated Function Module setup a workflow which triggers an email using the distribution list.
Hope this is clear.
Regards,
-Syed.