‎2009 Jun 02 5:11 AM
Hi
When there is an error in IDOC in FM "IDOC_INPUT_ORDERS, then workflow should trigger and send a mail to SAP stating error messages.
Regards
Ravi.
‎2009 Jun 02 5:32 AM
Hello,
You can follow the below steps:
1. In the method, where you are calling this FM. Check the sy-subrc and if it is not zero, set the error message text and a flag like x_error and pass them to container.
2. Now In the workflow, check if the flag x_error is set or not.
3. If the flag x_error is set, you can send mail to SAP inbox of the concerned user.
Thanks,
Sowmya
‎2009 Jun 02 5:32 AM
Hello,
You can follow the below steps:
1. In the method, where you are calling this FM. Check the sy-subrc and if it is not zero, set the error message text and a flag like x_error and pass them to container.
2. Now In the workflow, check if the flag x_error is set or not.
3. If the flag x_error is set, you can send mail to SAP inbox of the concerned user.
Thanks,
Sowmya