cancel
Showing results for 
Search instead for 
Did you mean: 

How to display Error in Email

Former Member
0 Kudos

Hi,

I have created alerts and it is showing in Alert Inbox. When I check in SXMB_MONI i see the error as

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>

<SAP:P1>500</SAP:P1>

<SAP:P2>Internal Server Error</SAP:P2>

<SAP:P3>Internal Server Error</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>HTTP server code 500 reason Internal Server Error explanation Internal Server Error</SAP:Stack>

<SAP:Retry>M</SAP:Retry

But in Alert using variable &SXMS_ERROR_CAT& and &SXMS_ERROR_CODE& I am only getting

PLAINHTTP_ADAPTER and PLAINHTTP_ADAPTER.ATTRIBUTE_SERVER

Looking at the above message, users would not get clear picture.

My Q is how to get SAP: Stack. What variable should I use in Alert to see this message.

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

use;

SXMS_TO_ADAPTER_ERRTXT

Former Member
0 Kudos

Thanks for the reply. When I use SXMS_TO_ADAPTER_ERRTXT, it is not showing any value in the alert,

It is coming as blank. However I see that in SXMB_MONI.. Any suggestions

Edited by: XI_Fan on Sep 9, 2008 9:32 PM

Edited by: XI_Fan on Sep 9, 2008 9:32 PM

Shabarish_Nair
Active Contributor
0 Kudos

the variable is SXMS_TO_ADAPTER_ERRTXT

Former Member
0 Kudos

Sorry for typo. I used the same ' SXMS_TO_ADAPTER_ERRTXT' but it not giving the required content

Former Member
0 Kudos

>>SXMS_TO_ADAPTER_ERRTXT

This is for error in adapter engine,not in the integration engine(sxmb_moni)

Coming to your question,its not possible to send the complete error information via alerts.You can only use the containers specified in help.sap and that doesn't have any container for SAP:Stack.

http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm

Thanx

Aamir

Edited by: Aamir Suhail on Sep 9, 2008 4:01 PM

Edited by: Aamir Suhail on Sep 9, 2008 4:04 PM