Skip to Content

Alert from ALRTCATDEF does not trigger email when Mapping Error

Hi Experts,

I've configured an email alert from TCode ALRTCATDEF. Then I try my configuration by running the report RSALERTTEST, the email is sent when running the report program.

But then I try to send a message with the result of Mapping Error in the Integration Engine, but no email is sent for the error. Is there anything missing in my configuration?

Thank you,

Suwandi C.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    Oct 15, 2015 at 05:33 AM

    Hi Suwandi

    Not sure which PI version you are on, but I'm guessing you are trying to configure the old Alert Framework instead of the new CBMA which Raghuraman provided above.

    For the old Alert Framework, you need to configure the Alert Rule in RWB as well. You need to specify which interface(s), which engine(s) and select the Alert category you created above.

    Refer step 5 in the really old blog below.

    XI: Alerts - Step by step

    Rgds

    Eng Swee

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 19, 2015 at 11:48 AM

    Hi All,

    Thank you for the information

    I finally see the email in my alert inbox. But I'm not sure if that email is sent to my email account. Because I only receive 1 email which could be the email triggered from ALRTCATDEF.

    I've also tried the CBMA alerting from this url:

    XI: Alerts - Step by step

    I received emails from CBMA, for the Channel Stopped by administrative error. But I don't receive any email for message mapping error. Does CBMA only work for adapter engine error?

    How to modify the content of the email via CBMA? How to check if there's any message sent by CBMA?

    Thank you,

    Suwandi C.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 20, 2015 at 04:35 AM

    Hi,

    Sorry for the confusion, I put the wrong link for the CBMA configuration, the correct link is the following one:

    Michal's PI tips: Component-Based Message Alerting

    After all, I've created a new alert rule in ID (I've put the needed configuration objects and I've checked the mapping to the alert rule):

    The Java mail client has been configured in NWA (I've successfully received emails for CC stopped by administrator error, so I guess the mail client configuration has no issue).

    I've added a new task for the AlertConsumerJob with parameter Aggregate is set to true and Suppress Alert is set to false:

    The status now is that, I can receive the emails if the error is CC stopped by administrator but mapping error does not trigger the alert email.

    I also find the following link for the CBMA in AS ABAP:

    Component Based Message Alerting On As Abap

    I've set the ALERTING_IS_ACTIVE and ALERTING_TARGET to 1.

    The table SXMSALERTCONTENT has no content. I've  tried running the SXMSALERT_SEND_VIA_MAIL program but no email is generated.


    For the mapping error should the table be filled before the alert is sent?

    Regards,

    Suwandi C.


    alert2.png (12.9 kB)
    alert1.png (12.8 kB)
    alert3.png (25.5 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Oct 15, 2015 at 05:15 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Oct 19, 2015 at 09:39 AM

    Hi All,

    Thanks for the information, I use dual stack PI version 7.4

    I've configured the alert rule in RWB. But still, a mapping error does not trigger an email. Does this have something to do with authorization? If yes, which user needs which role?

    Thank you,

    Suwandi C.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Suwandi ,

      In your alert rule have you selected integration engine errors also along with Adapter engine or NO restriction.

      Also please check your alert inbox to see any old alerts and clear them.

      Thanks

  • Oct 19, 2015 at 11:05 AM


    Hello Suwandi.

    Also in the mail box check in the junk mails if all the configurations are correct.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 20, 2015 at 11:39 AM

    Hi,

    Thank you for the reply.

    I now can see there's an entry in SXMSALERTCONTENT when there's a mapping error. And when I run the report SXMSALERT_LOGREADER, I can see there's a regularly error message every 5 minutes. The error message is "No XI alert rules found! Cannot find active alerts".

    It seems that there's a job that regularly consume the entry in the table and deleting the entry before the SXMSALERT_SEND_VIA_MAIL run to consume the alert and send emails.

    Then to check if SXMSALERT_SEND_VIA_MAIL could send the email from the SXMSALERTCONTENT, I run the SXMSALERT_SEND_VIA_MAIL immediately after a mapping error occur (while there's an entry in the SXMSALERT_SEND_VIA_MAIL). Then an email is listed in SOST. So, I've successfully received email from Java & ABAP stack.

    Now, I need to deactivate the job that keeps consuming the alert from SXMSALERT_LOGREADER. What is possibly the program/job's name to consume the alert?

    Is this CBMA available for XI Inbound message in ECC/CRM?

    Regards,

    Suwandi C.

    Add comment
    10|10000 characters needed characters exceeded