Register Login

XI Alerts- Step by Step Procedure

Updated May 18, 2018

How to Create and Use SAP XI Alerts

The monitoring of the Exchange Infrastructure can be done by using alerts.

What could be reason for avoiding them? At the first place it is true that configuring them can be a little hard but it can help in saving a lot of valuable time if one succeeds in configuring them as they can tell about the events/errors.

Within XI alerts depending on the alert category one can monitor only errors and send alert messages to different people. To alert inbox one can send alert, if the cell phone operator gives the possibility of sending an sms through a web service they one can mail an even on SMS.

A step by step tutorial on how to create and use alerts has been provided in this weblog:

Step 1

An alert category has been created at first:


- change mode

- define you alert category

Step 2

After this, to compose the text of our alert message some variables to our container can be added which we will use later.

In alerts from XI you can use those variables:


for their ABAP dictionary types please go to:

Creating Alert Categories

Step 3

Now to create an alert message from the container the variables can be used.

Step 4

Add ourselfs to the receivers list in order to receive alerts.

Step 5

In sapgui, this is the end of the configuration and with RWB (Runtime Workbench), now the work can be started.

- log on to RWB

- choose Alert configuration

- create a new alert rule

I want to see all of the errors in my example but it can be restricted to for instance receive only mapping errors.

Step 6

We first need an error to check them when we're ready to try our alerts. I managed to trigger a mapping error as I just gave a wrong XML to one of the processes.

Step 7

To see if the alert was triggered one can go to the alertinbox.

- you can do it from RWB - Alert inbox

- or from sapgui TCODE - ALRTINBOX

This weblog shows how in less than five minutes a new alert rule can be created but only if the system has been configured properly.