cancel
Showing results for 
Search instead for 
Did you mean: 

Add error description from sxmb_moni in alerts in 7.1

former_member187010
Participant
0 Kudos

Hi Gurus,

My requirement is to add short description from sxmb_moni i.e. from ABAP stack in alert.

I already have check many blogs and marketplace but could not find this.

As per the link Creating Alert Categories - Process Integration Monitoring - SAP Library we can extract this info from adapter engine using SXMS_TO_ADAPTER_ERRTXT but how to achieve this for I.E.

Please let me know if this is possible in any other way around.

Hope my requirement is clear, i just want the description from moni for the failed message in my alerts.

Thanks and Regards
Jitender Gusain

Accepted Solutions (1)

Accepted Solutions (1)

AntonioSanz
Active Participant
0 Kudos

Perhaps this links can help you

Regards

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jitender

We can use following container variables to populate the text inside the alert message

These are more than enough for debugging the message in MONI.

However if you want to add the payload information in the alert message, then u need to use the function module SALERT_CREATE

You can call this function module inside message mapping using RFC look up or via UDF.

former_member187010
Participant
0 Kudos

Hi Indrajit,

Thanks for your comments.

Now i have two query with you.

1. SXMS_ERROR_CODE has character limit of 70. Can we extend it.

2. Can you please describe in depth or provide me link on how can we add payload in the alert.

We want to automate the system in such a way that if any failure comes in PI system respective team will get the notification and payload, hence removing the dependency from PI technician.

Regards

Jitender

Former Member
0 Kudos

Hi Jitender

Unfortunately I did not find any options by which we can increase the character limit of SXMS_ERROR_CODE to more than 70 characters.

For triggering alert from message mapping with payload data check this docs

former_member187010
Participant
0 Kudos

Thanks Inrajit for your valuable time.

Will check and revert if found any issue.

Warm Regards,

iaki_vila
Active Contributor
0 Kudos

Hi Jitender,

As far as I know you cant set all the description monitor exception in the PI 7.1 alert. However, you can set a short description with SXMS_ERROR_CODE and the GUID number to check the error in the monitor SXMS_MSG_GUID.

From my point of view, it is not a bad beginning to the later error analysis. With the examples pointed by Antonio you can set a own text concatenated with the container variables to send a email more or less self-explanatory, obviously for a PI technician .


Regards.

former_member187010
Participant
0 Kudos

Hi Inaki,

Thanks for your comment.

My recipient for these alert are non PI technician. Error description in moni or in RWB are self-explanatory. Hence even if non PI technician receive these error description he might get an idea where does the issue lies.

I think variable SXMB_ERROR_CODE is the required variable. Is it limited with the length of 70 character. If so, how can we increase this length limitation.

Regards

Jitender