Skip to Content
In this weblog I’m going to present how to configure Alerts to enable them to store variables from the XI messages
so that XI will give some more detailed description of the alert situation to the person responsible for processing alerts.

1. At first we can define a new alert – DELV_FRIK – using TCODE alrtcatdef:

image

– let’s give the alert a description – the description can be a name of the process which will trigger the alert
because it will be visible it the Alert Inbox.

– we have to mark “Dynamic text” field

image

– then we have to add users – receivers of our alerts – fixed receivers for example

image

2. Then we go to the XI configuration part (Repository):

– add two steps to your Integration Process: Container operation and a Control step

– we also have to add a variable to the Container of the process (mine is: documentnumber – type – Simple Type)

image

– next we have to fill our variable with some data from one of our messages in the Container operation

image

– then we can proceed to the Control step to trigger our alert

– choose Alert category – add our new category defined in the “alrtcatdef”

– and fill the alert message field – the variable from the XI message should be added with the convention &variable&

image

– then start your process and take a look at the Alert Inbox (http://server:port/rwb or TCODE:ALRTINBOX)

– you can see that your Alert was triggered successfuly from your process

image

– if you click on the alert message you’ll be able to choose the “long text” in which you’ll find the text defined in the Control step

image

Now you can start using Alerts to inform users not only which process was processed with errors but also give some detailed description from the messages payload 🙂

To report this post you need to login first.

23 Comments

You must be Logged on to comment or reply to a post.

    1. Michal Krawczyk Post author
      Hi Simon,

      changed it to assign 🙂
      it you use assign your container doesn’t have to be multiline so your proposition is indeed  better

      Thanks for your help,

      Regards,
      Michal Krawczyk

      (0) 
  1. Ashish Singh
    Hi,
    The Weblog is pretty helpful. Can you tell me:
    1. Once I have defined the ALERT Categories how do I trigger the alert?

    2. I am not using any Integration Processes in my Scenario.
    3. Do I need to have the Control Steps in the Integration process?

    Thanks
    Ashish

    (0) 
    1. Michal Krawczyk Post author
      hi Ashish,

      1.the control step triggers it
      2.I don’t know the way to trigger the alert without the control step (without integration process)… sorry

      Regards,
      Michal

      (0) 
  2. Anonymous
    Hi Michal,
       your weblook it’s really usefull great… but is it true that the RWB alert inbox it’s not related to XI CCMS ? … due to this we can find the alert only in XI inbox and we cannot send it for example to another monitoring toos (e.g. solution Manager o 3rd party monitoring tools)

    Regards

    (0) 
  3. Ashish Kaul
    Hello,
    I’m working on a simple BPM that sends out an alert via a control step – very similar to one in Michal’s blog. I have completed the setup as per SAP help/notes/blogs/etc and see the alerts being generated in applications log – trxn code slg1. I have also setup alert rules for error conditions and see alerts generated when I change logon info to an incorrect value in my channels.
    However these are being forwarded to some other sever and not showing up in my alert inbox.

    All components(XI and cetral Alert server) are setup on the same webAS instance and the RFC destination for the central alert server is set to NONE in salrt1. The ICF service alert_test_xml is de-activated as well.
    Is there anything I’m missing.

    PS: One of the log entry is ->
    Alert forwarding in XML format
    Message no. SALERT018
    Diagnosis
    The configuration of the alert server indicates forwarding to an external alert server.
    System response
    No alert is created in the system. The alert data is forwarded instead.

    (0) 
  4. Werner Pyke
    Hi

    I’ve implemented the use of context objects as your blog shows.

    I have a container element named ‘alrt’ which is the Abstract Interface that receives my message and a context object named ‘alertSource’ which points to the node I want to assign to another container element named ‘SOURCE’.

    When activating the BPM I get the following in the Activation Log of sxi_cache
      The Value of Expression
      ‘&ALRT.PAYLOAD.ALERTSOURCE&’
      Cannot Serve As the Source of an Assignment

    I’ve tried using an xpath instead, but no luck.

    Any ideas?

    (0) 
  5. Arpit Seth
    Hi

    I have to send the values of 12 fields from the resultant message payload in Alert mail, that means i have to create 12 Conatiner Step of Simple Type in BPM to capture each value??

    Or is there any work around for this?

    Regards
    Arpit

    (0) 
  6. VenkataPrabhakar Teegavarapu
    Hi Michal,
    thanks for the blog.I implemented the same as per the blog,but when i get alert to my mail ID,i am not getting system url to figure it out from which system(DEV/QA/PROD) the alert from?.

    I have few alerts which are not from BPM,i can see url of the system below the error in my mail.

    Can you clarify this..

    Thanks
    Prabhakar

    (0) 
  7. Vicky G

    Michal,

    This solution will not capture the exceptions that occur in communication channel. Any thoughts on how to add payload fields in the alerts that are raised in communicaton channel.

    Vicky.

    (0) 
  8. Thomas Zwerg

    Hi Michal,

    very nice blog post! Thanks!

    I hope you may help me in terms of alerts within BPM.

    I have an integration process and an alert category created in ESR. The alert category has two “Alert Container Variables” specified. Both, alert category and integration process are activated without issues.

    Now I added an exception branch to my integration process  and specified the alert category from ESR. Unfortunately the two parameters do not show up in properties section. But when trying to activate the integration process the processing log of the change list shows errors: “Binding for parameter [name] missing”.

    Do you know what I’m missing here?

    Thanks in Advance!

    Kind Regards

    Thomas

    (0) 

Leave a Reply