cancel
Showing results for 
Search instead for 
Did you mean: 

Container variable problem in Alert Category

Former Member
0 Kudos

Hi Experts,

Long text for Alert category: &SXMS_ERROR_CODE& (Category &SXMS_ERROR_CAT& ) -


is that correct statement(can we use container elements with in ( ).)

because the Alert msg in mail was:

Error: (Category &SXMS_ERROR_CAT& ) ound in a message from the service SA10 and Interface ECC_OB

&SXMS_ERROR_CAT& appears as is in the mail.

did i missed something?

thank You,

MK

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Do we have any hard rules for <b>writing Long Text using Container variables.</b>

Former Member
0 Kudos

Hi MK,

Please go through this SAP Note: <a href="https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=947738&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede">Note 947738 - XI Alerting: Container variable not filled</a>

Please do read this note is very specific to your problem.

Thanks & Regards

Farooq Farooqui.

Former Member
0 Kudos

Hi Experts,

still trying to work out but couldn't understand the behaviour.

<b>If the Long text :</b>

Error: &SXMS_ERROR_CODE& <b>of category &SXMS_ERROR_CAT&</b> was found in a message &SXMS_MSG_GUID& from the service &SXMS_FROM_SERVICE& <b>and Interface &SXMS_FROM_INTERFACE&</b>

to test I am running the program <b>RSALERTTEST</b>

<b>Msg got thru E-mail is </b>

Error: and category:<b> &SXMS_ERROR_CAT&</b> was found in a message from the service and Interface

<b>

And when I change the Long text</b>

Error: &SXMS_ERROR_CODE& <b>and &SXMS_ERROR_CAT&</b> was found in a message &SXMS_MSG_GUID& from the service &SXMS_FROM_SERVICE& and Interface &SXMS_FROM_INTERFACE&

After running the program <b>RSALERTTEST</b>

<b>

E-mail msg</b>

Error: and was found in a message from the service and Interface <b>&SXMS_FROM_INTERFACE&</b>

coudn't able to understand why it is displaying the container variable as is in the mail.

checked all the Alert Framework configuration, Everything looks good.

Thank you,

<b>MK</b>

aashish_sinha
Active Contributor
0 Kudos

Hi,

I guess u must be created the alert using TCODE ALRTCATDEF with the role SAP_XI_ADMINISTRATOR and you must be supplied all the parameters or values in desired fields like

- The receiver of the alert

- The title of the alert

- The text of the alert, including container variables that are filled at runtime

Also check out if u supplied the correct containar value in ABAP DIctionary data type. After all these choose Update Table to display the category in the alert category selection table.

To receive specific error information from the Adapter Engine, enter following container elements.

Container Element ABAP Dictionary Data

Type

Meaning

SXMS_TO_ADAPTER_TYPE

SXMS_TO_ADAPTER_ERRTXT

Regards

Aashish Sinha

PS : Reward points if helpful

Former Member
0 Kudos

Try to Make independent entry for the SXMS_ERROR_CAT.

If you are using this Blog : /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step by Michal.

Then you can observer the same Message he pass in the AlertCategory, but in the Runtime Workbench-->Alert Inbox it is not populating.

Thanks

Farooq.