cancel
Showing results for 
Search instead for 
Did you mean: 

Raising Alert

former_member205403
Active Contributor
0 Kudos

Hi All,

We have a requirement for raising alerts i.e. if scenario in XI fails then email should be sent to some one detailing the occurance of error and Reason of the error to the inbox.

Please can someone guide me the stepwise procedure for sending emails using alert management in XI.

any documents please forward to shivprashant.dixit@gmail.com

Thanks in advance.

Regards,

Shiv.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Alerting is an function of Runtime Workbench along with Message archiving,End-to-end monitoring, Performance Monitoring,Cache monitoring.

Alerting is no longer dependent on the configuration and activation of end-to-end

monitoring. Consequently, the delay between when an error occurs in message

processing and the creation of an alert is significantly reduced. Furthermore, you no

longer need to schedule the report SXMSALERT_PROCESS_DATA_GET as a

background job.The Runtime Workbench has CCMS Alert Monitor thru which

You can now configure one new CCMS Alert Monitor per Adapter Engine for

adapter-specific processing errors.Alerts triggered by the Runtime Workbench can now be forwarded to the CCMS Alert

Monitor and displayed there.

See also SAP Note 824039.

Thru Runtime Workbench we can access alert inbox, alert configuration

In process Integration with Central SAP Monitoring Infrastructure we Drill down to individual process steps and Use SAP Web AS Alert Framework.

In SAP Web AS Alert Framework, we Classify errors and Alert channels (such as e-mail) available.

Alert-Configuration

Objective: Active Monitoring

CCMS Alerts + message-oriented alerts

Based on SAP's Basis Alert Framework

Alerts propagated through E-Mail, SMS,

In Monitoring the SAP Exchange Infrastructure, Message Alerting is part of Runtime Workbench.

Alerting Framework

?? Configuration of alerts to reflect the needs of specific processes

?? Part of SAP Web AS

Alert Configuration

http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm

Alert Inbox

http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm

Alert Notification Step-by-Step

http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm

Defining Alert Classifications

http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm

Triggering Alerts

http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm

Setting up alerts

Alert Management

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e04141e8-0f11-2a10-adaa-9d97b062...

Alert Notification

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f449a8-a6db-2910-a386-d2b5999f...

Custom Alerts in CIC Win Client for CRM 5.0

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/601db2b2-2839-2a10-0381-8807979f...

Understanding u'r SAP EarlyWatch Alert Report

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4b88cb90-0201-0010-5bb1-a65272a3...

Regards,

Phani

Former Member
0 Kudos

Hi,

Alert procedure:

For raising an alert you need to first configure the alert please follow the below weblog written by Michal Krawczyk

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

Configuration steps are: go to transaction ALRTCATDEF

1) Define Alert Category

2) Create container elements which are used for holding an error messages.

3) Recipient Determination.

Alert can be triggered in different ways.

1) Triggering by Calling a Function Module Directly.

/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

2) Triggering by Calling a Function Module in the Workplace Plug-In.

3) Triggering with an Event Linkage.

4) Triggering with the Post Processing Framework (PPF) or Message Control (MC)

5) Triggering from a Workflow.

6) Triggering from CCMS with autoreaction.

7) Triggering from BPM.

/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated

/people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi

😎 Triggering alert by configuring a rule from RWB.

http://help.sap.com/saphelp_nw2004s/helpdata/en/56/d5b54020c6792ae10000000a155106/content.htm

The following predefined user roles are available for customizing and administration:

• SAP_BC_ALM_CUST for customizing authorization.

• SAP_BC_ALM_ADMIN for administration authorization. The administrator has the authorization for all activities. He or she can also read and confirm alerts for other users. In addition, the administrator can execute report RSALRTPROC to delete, escalate, and deliver alerts as well as to delete logs.

• For the sending of alerts via external communication methods (e-mail, sms, fax) and for inbound processing, an RFC user has to be created on the central alert server with the role SAP_BC_ALM_ALERT_USER. The authorization objects contained in this role are S_OC_SEND and S_RFC.

• Accessing alert inbox the userid has to have the role SAP_XI_MONITOR.

• SAP_ALM_ADMINISTRATOR - Alert Management Administrator

Refer link for user roles: http://help.sap.com/saphelp_nw2004s/helpdata/en/74/03b140ade49c2ae10000000a155106/content.htm

Thnx

Chirag

former_member205403
Active Contributor
0 Kudos

Thanks to you both for immediate help.

I will go through the links given by you and will do the configuration. if any problem comes then will revert to you back.

Regards,

Shiv.

Answers (2)

Answers (2)

former_member205403
Active Contributor
0 Kudos

Hi All,

Thanks for your response, i got the alerts working and successfully sending out emails.

But i am facing some problem. The values in the dynamic variables are not getting populated and in the mail I am getting no values for the variables.

Please can anyone guide me how to resolve this problem.

Thanks and Regards,

Shiv.

former_member238007
Contributor
0 Kudos

Hi.,

Check this links it might be very useful which covers all the necessary stuff...

/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

/people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping

/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/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1 -- ccms alerts – 1

/people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2 -- ccms alerts – 2

/people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3 -- ccms alerts --- 3

Alerts with variables from the messages payload (XI) - UPDATED -

/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated

http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm

From HelpFile

regards

Kishore