Skip to Content
Author's profile photo Former Member

Automation of failed process chain e-mail notification – Selective chains

Requirement

Automated notification needs to send the list of “failed” status process chains to the required     e-mail IDs.

Automatic Notification

Automatic notification is used to send the list of “failed” status process chains to the required    e-mail IDs. This is very useful for monitoring the process chain. In case of failure, mail will be sent to the support team and necessary action can be taken immediately.

This automation will reduce the manual intervention for monitoring.

Settings

There are 3 set of settings needs to be done in BW system (One time settings).

1)    Recipient list creation

2)    E-mail id assignment to SAP User ID (If not done before).

3)    Alert settings for selected process chain failure.

Setting 1: Recipient list creation

Goto T-code: ALRTCATDEF

img1.JPG

Double click on classification “Process chains”.

img2.JPG

Click on Display/Change button.

img3.JPG

Double click on “error in a process of a process chain”.

img4.JPG

Click on “fixed recipients”.

img5.JPG

We will get the screen like this below.

img6.JPG

Click on New entries.

img7.JPG

Enter SAP Login ID’s to whom the notification needs to go.

img8.JPG

Click on Save.

img9.JPG

Change to Display mode.

img10.JPG

Setting 2: E-mail id assignment to SAP User ID (If not done before)

This setting is used to maintain e-mail id for the recipients maintained in Setting 1.

Note

This setting need not required if e-mail assignments to user ID already exist.

Goto T-code: SU01

img11.JPG

Enter SAP Login ID and click on edit mode.

img12.JPG

Click on “Other communication”.

img13.JPG

Select E-Mail and click on “Continue”.

img14.JPG

Enter E-mail ID for that particular User ID. Click on “Continue”.

img15.JPG

Click on Save.

img16.JPG

Click on “Back”.

img17.JPG

The same process needs to be followed for all the user IDs.

Settings 3: Alert settings for selected process chain failure

Note

In this, settings needs to be done only for the process chains for which the failure alert notification needs to be sent.

Goto T-code: RSPC

Open the process chain in edit mode.

img19.JPG

In Menu bar: Goto Process chain -> Attributes -> Alerting.

img20.JPG

Check “send alerts if errors occur” and click on “Continue”.

img21.JPG

Save, Check and Activate the process chain.

Note

Setting 3 needs to be repeated for all the process chains for which failure notification needs to be sent. So, Whenever chain fails, all recipients in the list will get the email alert.

Assigned tags

      31 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Good one karthick... 🙂

      Author's profile photo Former Member
      Former Member

      Nice one .... 🙂

      Author's profile photo Former Member
      Former Member

      Good one Karthik....... 🙂

      Author's profile photo Former Member
      Former Member

      Dear Karthik,

      This is nice document and i have some doubts on this.

      is there is diffference between this document and Messages while creating process chains.

      Regards

      Jagan

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Jagan,

      Yes. there is difference.

      The messages that we create in process steps will send notification only if that process step gets complete. Also it will not send failure notification if the chains fails before that process step.

      But,the configurations mentioned in this document will send notification if the process chain fails at any process step. We don't need to create any messages in process chain.

      Regards,

      Karthick.

      Author's profile photo Former Member
      Former Member

      Hi Karthik

      From this it looks like this is for sending emails to a select group of recipients for all or selected chains. Is there a way for specifying which recipients get emails depending on certain process chains? For example if Process Chain 1 errors send email to only recipient A, if Process Chain 2 errors then send email to only recipient B.

      thanks

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi,

      No. In this design, it is not possible for chain specific mail recipients. It is for generic for all process chains.

      Regards,

      Karthick.

      Author's profile photo Former Member
      Former Member

      Please upload for successful Process chains also

      Regards

      MD

      Author's profile photo Former Member
      Former Member

      Really helpful when viewed along with screenshots. Thanks.

      Author's profile photo Anand Tiragati
      Anand Tiragati

      Hi Karthick,

      I followed your doc, do we need to maintain any other settings in SCOT tcode, because I didn't get an email when process chain got failed.

      Anand Tiragati

      Author's profile photo Former Member
      Former Member

      Good Doc.

      Author's profile photo Harish Allachervu
      Harish Allachervu

      Kudos work buddy 🙂   Thanks for sharing.

      Regards,

      Harish

      Author's profile photo Ankush Sharma
      Ankush Sharma

      Hi Karthick,

      I followed your doc, do we need to maintain any other settings in system , because I didn't get an email when process chain got failed.

      br,

      Ankush

      Author's profile photo Ankush Sharma
      Ankush Sharma

      Hi Karthick,

      I followed your doc, do we need to maintain any other settings in system , because I didn't get an email when process chain got failed.

      br,

      Ankush

      Author's profile photo Harish Allachervu
      Harish Allachervu

      Hi Ankush,

      I assume you've followed all the steps correctly, as you're saying you've not received mail its due to connection(internet/protocol) problem try to reach out your basis team i think there might be some settings are not maintained properly in the system.


      once they do all the necessary settings you start receive alerts 🙂


      Regards,

      Harish

      Author's profile photo Ankush Sharma
      Ankush Sharma

      Hi Harish,

      It Works only for those chains which are not executed Imediatly,But scheduled.

      br,

      Ankush

      Author's profile photo ARPAN PARNAMI
      ARPAN PARNAMI

      Really Helpful document.

      Thanks Karthick.

      Regards,

      Arpan

      Author's profile photo Vincent Ong
      Vincent Ong

      Nice article

      Author's profile photo Former Member
      Former Member

      Really worth.

      Author's profile photo Former Member
      Former Member

      Hi,

      i have once question..

      if the process chains fails at any point(process type), email notification would be generatd or only for some process type??

      Author's profile photo CH Raman
      CH Raman

      if you set up email notifications for all process steps with  failure option then only it will send email alerts other it won't.

      its totaly depend on your settings only.

      Author's profile photo Former Member
      Former Member

      informative.. 🙂

      Author's profile photo Former Member
      Former Member

      Very informative..

      Author's profile photo Former Member
      Former Member

      A very informative post indeed.

      I had a small doubt. When I go the ALRTCATDEF t-code, I am unable to see the "Process Chains" classification. Could someone please help me out?

      The current BW version is BW 7.0 EHP 1.

      Any help is highly appreciated.

      Thanks

      Author's profile photo Ankush Sharma
      Ankush Sharma

      Hi,

      You need to select Display/Change button at the top.

      Regards,

      Ankush

      Author's profile photo Saravanan Velu
      Saravanan Velu

      Hi Karthi,

      I am trying to implement the document in Development system, but its not working for Scheduled and Immediate Process chain. please help me in this.

      Regards,
      Saravanan Velu

      Author's profile photo Former Member
      Former Member

      Hello,

      For me 'Send Alerts If Errors Occur' is grayed out, plz let me know if any configuration needs to be done before hand,

      Thanks,

      Rajani

      Author's profile photo Former Member
      Former Member

      Hi,

       

      Followed the same step by step, We are not getting alerts, anything else to be done from basis ?

       

      For message alerts configured in a pc step, its working, but its a too much of task to configure for each n every step for 100"s of pc's

       

      TIA

      Author's profile photo Former Member
      Former Member

      yeah i am facing the same issue, if you got it now, kindly help !!

      Author's profile photo Former Member
      Former Member

      Hi

       

      i followed the same step by step, still not getting alerts.

       

      For message alerts configured in a pc step, it's working, but its a too much of task to configure for each n every step for 100″s of pc’s

       

      Author's profile photo Sunil Kumar
      Sunil Kumar

      Hi All

      While adding the "New Entries" option is not active.

      Any comments are help on the same ?

       

      Thanks

      Sunil C