on 2016 Apr 11 9:13 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.
Request clarification before answering.
Hello Pavan,
See the reply in your post in APO community.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adding a message in case of error to each and every step and a message in case of success to the last step should fulfill your requirement.
So could you elaborate on
but it did not work.
Regards,
Raymond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raymond,
I am able to create the message step and it is triggering the e-mail message.
But my requirement is if step fails then it should trigger the notification with failure message
and if success then with successful.
While creating message it is not asking me what type of message you want.
can you please help on this?
Thnanks,
Pavan
HI Reymond,
Thanks for your reply!
Sorry, but I am novice to process chains and doing it first time.
However when I am creating the message step I am getting that "With END" and do not have any clue from where and how it is coming and how to change this as in your case 'WITH Succes' and second message is 'WITH Errors'.
and when I click on the 'maintain message' I am getting below one:
Can you please elaborate how you are getting With Success and with Error?
And One more question how will system determine which needs to executed with success and errors?
Hi Pavan,
I understand your requirement can you check the below links
which will solve the issue.
http://scn.sap.com/docs/DOC-31355
Return code from ABAP program in process chain? | SCN
Thanks,
Siva
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 8 | |
| 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.