cancel
Showing results for 
Search instead for 
Did you mean: 

Alert Framework

Former Member
0 Kudos

Hi Experts,

How can i create <b>container elements</b> with Data type as <b>ABAP Dict, Reference</b>?

<b>Long text for Alert category:</b> &SXMS_ERROR_CODE& (Category &SXMS_ERROR_CAT& ) -


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

Thank You,

<b>MK</b>

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Experts,

<b>Long text for Alert category</b>: &SXMS_ERROR_CODE& (Category &SXMS_ERROR_CAT& ) -


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

<b>because the Alert msg in mail was:</b>

Error: <b>(Category &SXMS_ERROR_CAT& )</b> was found in a message from the service SA10 and Interface ECCGRN_OB

&SXMS_ERROR_CAT& appears as is in the mail.

did i missed something?

thank You,

<b>MK</b>

Former Member
0 Kudos

Hi mk,

Available Container Variables are,

Container Variable ABAP Dictionary Data Type Meaning

SXMS_MSG_GUID SXMSMGUIDC Message ID

SXMS_RULE_NAME SXMSDESCR Description of the alert rule

SXMS_ERROR_CAT SXMSERRCAT Error category

SXMS_ERROR_CODE CHAR70 Error code

SXMS_FROM_PARTY SXI_FROM_PARTY Sender party

SXMS_FROM_SERVICE SXI_FROM_SERVICE Sender service

SXMS_FROM_NAMESPACE SXI_FROM_ACTION_NS Sender namespace

SXMS_FROM_INTERFACE SXI_FROM_ACTION Sender interface

SXMS_TO_PARTY SXI_TO_PARTY Receiver party

SXMS_TO_SERVICE SXI_TO_SERVICE Receiver service

SXMS_TO_NAMESPACE SXI_TO_ACTION_NS Receiver namespace

SXMS_TO_INTERFACE SXI_TO_ACTION Receiver interface

Specific Error Information from the Adapter Engine:

Container Element ABAP Dictionary Data Type Meaning

SXMS_TO_ADAPTER_TYPE CHAR70 Adapter type

SXMS_TO_ADAPTER_ERRTXTCHAR70 Error text from the Adapter Engine

Specific Error Information from the RNIF Adapter:

Container Element ABAP Dictionary Data Type Meaning

SXMS_AF_ERRPAR1 … 15 CHAR32 Name of error parameters 1 to 15

SXMS_AF_ERRVAL1 … 15 CHAR70 Content of error parameters 1 to 15

Regards,

Prakasu

Former Member
0 Kudos

Hi

thanks for the reply.

How can we create Container elements with <b>ABAP Dictionary Reference</b> instead of <b>ABAP Dictionary Data Type</b>?

thank you,

<b>

MK</b>

Former Member
0 Kudos

Hi MK,

Suppose you are creating alert category which you will use in BPM to raise alert.

Now you want to send Sales Document Item No as a alert message.

So in this case what you will do is create container element.

SALESDOCNO(remember this could be any name ) Select as ABAP Dictionary Reference . In Structure enter VBAP and in field enter VBELN.

Regards,

Sumit

Former Member
0 Kudos

Hi Sumit,

thanks for ur reply.

But how the value will be populated into the field.

Requirement is to pass the PO number to the Alert message.

how can we achieve these.

thank you,

<b>MK</b>

Former Member
0 Kudos

Refer this Blog : /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step

Its not a matter of referring the ABAP Reference Type, but the thing is that will it populate at runtime in XI??

Thanks

Farooq.

Former Member
0 Kudos

Hi MK,

If you want to populate custom variables then you have to enable the option dynamic text when defining the alert category.

Then you can use the alert category in BPM to raise alert.

If you got any other doubts i would suggest you do the following..

Go to http://help.sap.com and then click on search. In the new screen enter Alert Category. You would get SAP help. Read the same. You will understand everything.

If you got any other doubts let us know.

Regards,

Sumit

Former Member
0 Kudos

Hi MK,

For SXMS_ERROR_CODE enter ABAP Dict Type as CHAR70.

SXMS_ERROR_CAT enter ABAP Dict Type as SXMSERRCAT.

Let us know if you were looking for something else.

Regards,

Sumit

Former Member
0 Kudos

its very wel explained here in this blog

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step

regards

Pratibha