on 04-13-2016 11:27 AM
Hi experts,
We have a custom process chain with two steps.We trigger this process chain based on the events maintained in the SM62 by executing a
custom report.
Now our requirement is to add e-mail notification for this process chain whether it is successful or failure.
It should always trigger an e-mail to the user whether it s failed in any of the steps or it is executed successfully.
We have tried by adding the e-mail alerts as described in the below document but it did not work.
Please let us know is there a way so that this can be achieved.
I have already posted this SAP ABAP community but later realized to post this n SAP APO community as well.
Please check this in SAP ABAP at below link,.
If the above doesn't work, create a custom program like below and run them as background with 5 mins of interval.
Using function module RSPC_API_CHAIN_GET_STATUS you will get the status of the process chain.
If the status is error then trigger a mail to mail id, search in SCN on how to send a mail from SAP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavan,
What you can do in your case, add error msg to the same node, and add one more node "end" and add msg for successful completion to the end node.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pavan,
When you say below, what do you mean? You were not able to get e-mail or something else? Did you checked SOST whether message is there but not triggered. The reason for this could be that program RSCONN01 is not active in your testing environment. Check and let us know what's the status as below should work.
We have tried by adding the e-mail alerts as described in the below document but it did not work.
Regards
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Rahul,
Can you please go through to my below thread?
Re: Automatic status e-mail notifcation for custom process chain
You will come to understand what problem I am facing in creating those message.
Hi pavan,
If you have added failure or successful message and mail recipients in your process chains, recepients would get mail notification upon completion of that step..if recepients not getting the mails, check the configuration of recepients in SCOT t- code..or check the mail ids which you gave in process chains..mail id should have correct format and recepient type should be Internet... And finally check the SOST t-code to check the messages which are stuck...
BR,
Venu
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.