Recently we have a requirement to setup alerts specific to the interface.

There is standard consumer ALERT-TO-MAIL can be used for Alert rule for all interfaces.

What we need to do is to register a new consumer for the Specfic Alert rule from web service navigator.

Step 1.

Create new Alert Rule in Integration Directory, sample Test_Alert. assign Specific configuration Objects here. save and active.

No need to Insert consumer in Extended tab, casue this will be done in Step2.

未命名.jpg

Step 2. Register Consumer, we will use web service navigator to do this

未命名.jpg

You will find Register Consumer operation from Service Interface “AlertRuleIn”, chose this and click Next

未命名.jpg

Chose RegisterConsumer operation and click Next

未命名.jpg

Here we need to type parameters:

AlertRuleID:  the one we create from Step 1 in ID

ConsumerName: type any name, here I use test_to_mail.

EnableAlertRules: True

Continue by click Next Button

未命名.jpg

It will ask user account and Password. the user must have role SAP_XI_ALERTCONFIGURATOR_J2EE

Message shows RegisterConsumer excuted successfully

未命名.jpg

After complete this, you will see your Consumer been assigned to Alert rule

未命名.jpg

Step 3, Schedule Job by NWA–>Operations–>Jobs–>Jave scheduler

Reference blog from Step 3

Michal’s PI tips: Component-Based Message Alerting

To report this post you need to login first.

6 Comments

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

  1. Azhar Shaikh

    Hi,

    Thanks for sharing.

    AFAIK – if you enter / key in some Consumer name in ID in Alert Rule in Extended Tab, upon activation it will auto create the Consumer for you in backend.

    Regards,

    Azhar

    (0) 

Leave a Reply