XI: Alerts – Step by step
Using alerts can help us so much with the monitoring of the Exchange Infrastructure.
But why are they so avoided (aren’t they)? It’s true that they can be a little hard to configure at the first place
but if you succeed it can save a lot of your valuable time by telling you only about the events/errors you have to take care of.
Alerts within XI give us a simple way to monitor only those errors that we want and send alert messages
to different people depending on the alert category. You can send alert to alert inbox, mail an even on SMS
if your cell phone operator gives you the possibility of sending an sms through a web service.
In this weblog I’ll provide you with a step by step tutorial on how to create and use alerts.
At first we have to create an alert category:
– go to TCODE – ALRTCATDEF
– change mode
– define you alert category
Next we can add some variables to our container which we will later use to compose the text of our alert message.
In alerts from XI you can use those variables:
SXMS_MSG_GUID, SXMS_RULE_NAME, SXMS_ERROR_CAT, SXMS_ERROR_CODE,
SXMS_FROM_PARTY, SXMS_FROM_SERVICE, SXMS_FROM_NAMESPACE, SXMS_FROM_INTERFACE,
SXMS_TO_PARTY, SXMS_TO_SERVICE, SXMS_TO_NAMESPACE,SXMS_TO_INTERFACE
for their ABAP dictionary types please go to:
Now we can use our variables from the container to create an alert message.
In order to receive alerts we have to add ourselfs to the receivers list.
This is the end of the configuration in sapgui and now we can start working with RWB (Runtime Workbench).
– log on to RWB
– choose Alert configuration
– create a new alert rule
In my example I want to see all of the errors but you can restrict it to receive only mapping errors for instance.
We’re ready to try our alerts but to check them we first need an error 🙂
I just gave a wrong XML to one of the processes and as you can see I managed to trigger a mapping error.
Now you can go to the alertinbox to see if the alert was triggered:
– you can do it from RWB – Alert inbox
– or from sapgui TCODE – ALRTINBOX
This weblog shows how you can create a new alert rule in less then five minutes but only if your system is properly configured.
If you have any problems with Alert configuration please take a look at: