cancel
Showing results for 
Search instead for 
Did you mean: 

wen we raise Alerts

Former Member
0 Kudos

hi all

wat is Alert, how to raise alert.

in which situation we raise alerts.

Thank u

swari

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

we will create aters when their are error or any speicif condition is meet.

Alerts can be used in with\without BPM scenarios.They are not specific to only a particular scenario.

In real time a Alert can be generated whenever any error occurred during process of your interface.

Suppose assume that You are creating a sales order in R/3 system using RFC ,have to provide the header information and Item information.If at all the RFC cannot able to find the details for ex specific customer,it will return a message that "Customer Not found which you have send the customer number".In this situation you can generate.

another scenario suppose if our receiver system is down and you are sending message it will fail at adapter level because receiver system is down so we trigger a alter in these cases.

Only BMP scenario's we will create ? Not for other Scenarios?

What about SOAP and HTTP scenario's ?

not only inBPM but all other also we can create alters

Usually alerts are configured specific to the scenario. We have the option to specify

Sender Service

Sender Interface

Sender Interface Namespace

Receiver Service

Receiver Interface

Receiver Interface Namespace

This is how we configure

  • Define an alert category, Create alert category (TCODE ALRTCATDEF with authorization SAP_XI_ADMINISTRATOR)

  • Provide Details Receiver,Title , Test and container variable that are filled at runtime

  • Follow up activity

  • Create rule (Rule name, Alert Category that needs to be used, required error category and error code)

  • Additional message attributes for sender and receiver and choose add rule

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

Thanks

VIkranth

Former Member
0 Kudos
Former Member
0 Kudos

Hi

Alert Configuration:- You use alert configuration to have the system informed you about the errors that occurs during message processing.

*Used for alerts that occurs at IE.

Alert Management: When you define the integration process you can specify that if a particular situation occurs at runtime a alert has to be thrown using alert management.

*Used to handle business specific errors.

For example if the stock falls below certain level an alert has to be thorwn to the specified user using the integration process in this case you have to follow steps defined in alert management

Defining Alert Categories

During alert category definition, you specify the alert text, expiry time, escalation, and all other conditions related to the sending of this kind of alert.

1. Ensure that you are in change mode in the alert category definition environment (transaction ALRTCATDEF).

2. Choose Create Alert Category.

3. In the Alert Category column, enter a technical key. Choose a key that describes the situation that triggers the alert, such as CUSTCANC for a category responding to a customer cancellation. This key is language-independent and identifies the alert category. The standard namespace convention applies to the key, this means keys Z* und Y* belong to the customer name space.

4. On the Properties tab page:

...

a. In the Description field, enter a description for the alert category. Choose a description that is informative with respect to the content of the alert category. The description is language-dependent.

b. If required, you can select a classification in the Classification field. If you do not choose a specific classification, the category is stored in the classification folder Unclassified. For more information on classifications, see Alert Classification.

c. In the Max. No. of Dels field, specify a maximum number of times that an alert of this category is to be delivered if it is not confirmed. This refers to delivery using a communication channel other than to the recipientu2019s display program (UWL, application-specific program, or alert inbox).

d. Select Dynamic Text if the texts of the alert category cannot be defined at this stage. This refers to situations in which the texts are not known until runtime, for example when CCMS Alerts are forwarded to ALM.

No translation can be performed for alerts with dynamic text. System messages can be entered manually in several languages.

e. In the Expiry Time in Min. field, you can enter a life span for alerts of this category if the alerts will no longer be relevant after a specific period of time. If the expiry time elapses, the alert is removed from the alert inbox and is no longer delivered using any other channel.

Expiry times can be derived from various sources. Priority is given first to the data provided by the triggering application, second to the BAdI ALERT_EXP_DATE, and third to this field in the alert category definition. If none is found in any of these sources, the default expiry of 31.12.2099 applies.

f. If you wish to specify an escalation recipient, select Escalation Active and enter the escalation recipient. Also specify a tolerance time in minutes. When escalation is active for an alert category, an alert is escalated if none of the alert recipients has confirmed the alert after this tolerance time. The escalation recipient is also informed that he or she has received the alert because of an escalation.

The escalation functionality is based on the administrator report RSALERTPROC. This report has to be scheduled as a regular job. For information on this report.

5. On the Container tab page, define any variables that you may want to use in the short text or long text. You can also define other application-specific variables, such as company code or material number. These variables are then replaced at runtime with values from the application. For more information, .

6. On the Short and Long Text tab page, enter texts for the alert category. You can include text variables referring to elements of the alert container or system symbols. In the case of a container element, the variable must be defined in the alert container. The entry in the text must be in the form &<ElementName>&.

The title is used as mail title, fax subject, and alert title in the inbox. The long text is used as mail/fax body and the long text view in the inbox. The short text is used for pager and SMS.

7. On the Optional Subsequent Activities tab page, you can enter URLs for subsequent activities. If you trigger your alerts by calling a function module, you can also specify dynamic subsequent activities. For more information, see Triggering by Calling a Function Module Directly in Triggering Alerts.

8. Save your entries.

You create an alert category to use in alert rules.

Prerequisites

You have started the Runtime Workbench from the SAP Exchange Infrastructure start page and have selected the Alert Configuration tab page on the initial screen.

Procedure

To create an alert category, proceed as follows:

1. Choose Create Alert Category.

You can also create the alert category directly by calling transaction ALRTCATDEF. In both cases you require the authorizations of the role SAP_XI_ADMINISTRATOR.

2. Enter the following values:

u2022 The receiver of the alert

u2022 The title of the alert

u2022 The text of the alert, including container variables that are automatically created and filled at runtime.

u2022 The follow-up activity

u2022 Specify the URL of the required follow-up activity. At runtime, the link address of message monitoring is always entered as the standard follow-up activity.

3. Once you have created a new alert category, choose Update Table to display the category in the alert category selection table

Basic alert configuration

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

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

Trigerring alerts from UDF

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

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

Kulwinder

Reward if Helpful

Former Member
0 Kudos

Hi,

please have a look here:

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

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9418d690-0201-0010-85bb-e9b2c1af...

Regards

Patrick