cancel
Showing results for 
Search instead for 
Did you mean: 

Subscription for Message-Based Alerts

Former Member
0 Kudos

Hi all,

looking for some ideas on the following:

I´d like to create message based alerts for eg. IDOC scenarios where several different systems will send messages to several other different receivers.

In case a message get´s stuck on the way for whatever reason I ´d like to have automatically users on the target system informed.who can subscribe to faulty messages if they want to be notified

I can easily setup different rules using different interfaces /partner/ services BUT the subscription is not based on the rule but on a certain alert category which is in the case always the same. So everybody will always receive all errors even if not interested. (or did I miss somthing here?)

The only workaround I am aware is to define as many alert categories as different receiving systems/interested usergroups per system would exist. However as the categories need to be customized I will end up with many customizing transports.

Even worse: In case I am adding a system in the integration directory I will need to add a rule AND an additional alertcategory for which a transport will be needed.

As mentioned these are plain IDOC scenarios using Message based alerting out-of-the-box - no BPM used.

Any clever idea how to avoid this messys workaround?

Regards

Rudi

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

See how to create alerts in the below links

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config

/people/sap.india5/blog/2005/12/06/xi-ccms-alert-monitoring-overview-and-features - CCMS Alert Monitoring

/people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - CCMS

Important Weblogs by Wipro https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi [original link is broken]

Alert -- /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide

Triggering XI Alerts from a User Defined Function - /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

blogs for alerts

https://www.sdn.sap.com/irj/sdn/advancedsearch?query=alerts&cat=sdn_weblog

http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/content.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/9c/34193cb4f5131de10000000a11405a/content.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/8a/3e2d4105f8d92be10000000a1550b0/content.htm

Troubleshooting Alerts

Regards

Chilla

bhavesh_kantilal
Active Contributor
0 Kudos

> Hi,

> See how to create alerts in the below links

> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/

> 2328 - Alert Configuration

> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/

> 2327 - Trouble shoot alert config

>

> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/

> 2777 - CCMS Alert Monitoring

> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/

> 2719 - CCMS

> Important Weblogs by Wipro

> https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/

> uid/110ff05d-0501-0010-a19d-958247c9f798#xi

>

> Alert --

> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/

> 2327

> Triggering XI Alerts from a User Defined Function -

> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/

> 4077

> blogs for alerts

> https://www.sdn.sap.com/irj/sdn/advancedsearch?query=a

> lerts&cat=sdn_weblog

> http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/d92

> 5bf4b8a11d1894c0000e8323c4f/content.htm

> http://help.sap.com/saphelp_nw2004s/helpdata/en/9c/341

> 93cb4f5131de10000000a11405a/content.htm

> http://help.sap.com/saphelp_nw2004s/helpdata/en/8a/3e2

> d4105f8d92be10000000a1550b0/content.htm

> Troubleshooting Alerts

>

> Regards

> Chilla

Maybe you can explain how these links help answer this question.

Anyone can do a search , Alert plus weblogs is going to list these blogs and so maybe you can also let us know how these links will help answer this exact problem.

Regards

Bhavesh

bhavesh_kantilal
Active Contributor
0 Kudos

Rudi,

While defining your alerts in ALRTCATDEF ,

1. Do not give any user under FIXED RECIPIENTS.

2. Under "Subscription Authorization" give the role of the user who can subscribe to these alerts.

3. Now , whoever the user who wants to receive this alert can subscribe to the alert by choosing Sunscription from this Alert Inbox home page.

Wouldnt this do the trick?

Regards

Bhavesh

Former Member
0 Kudos
kkram
Contributor
0 Kudos

Rudi

I haven't tested my suggestion below but see if it will work for you. There is a BADI "ALERT_EXIT_LOCAL_PPF" with method GET_ALERT_DATA. Here check if the parameter IO_APPL has reference to your alert rule object. If yes, then based on this, you should be able to read the subscriptions of the alert category and alter the recipients information.

Just a thought, may or may not work. Keep us posted if it works.

KK