cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic status e-mail notifcation for custom process chain

Former Member
0 Kudos

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.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10979a4a-d3da-2e10-3bab-8916d8245...

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,.

Accepted Solutions (0)

Answers (4)

Answers (4)

thanga_prakash
Active Contributor
0 Kudos

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.

thanga_prakash
Active Contributor
0 Kudos

Hi Pavan,

Try by adding the Automatic notification in the transaction RSPC_MONITOR as below.

Go to transaction, select the process chain and click on Automatic notification.

which will send the notification to the mail maintained.

Former Member
0 Kudos

Hi Prakash,

Transaction RSPC_MONITOR does not exists in my system.

However there is a report named RSPC_MONITOR.

Thanks,

Pavan

peter_casper
Contributor
0 Kudos

Hi Pavan,

the transcation is called RSPCM.

regards Peter

Former Member
0 Kudos

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,

RahulHanda
Active Contributor
0 Kudos

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.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10979a4a-d3da-2e10-3bab-8916d8245...

Regards

Rahul

Former Member
0 Kudos

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.

former_member245665
Participant
0 Kudos

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