cancel
Showing results for 
Search instead for 
Did you mean: 

Alert Error

venky_b
Participant
0 Kudos

Hi Experts,

I am doing File to IDoc. I want to trigger Alert by sending E-mail, when ever any error occur in the Scenario. I have done the Alert configuration. When an error is occured Alert is not Triggering. i checked in the log, it is displaying error "BCS exception (DNS_SREQ) occurred". what will be the problem? Can any one please help me out.

Regards

Venkatesh

Accepted Solutions (0)

Answers (2)

Answers (2)

vikas_agarwal
Contributor
0 Kudos

Hi,

Try this blog

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide

Thanks

Former Member
0 Kudos

Hi,

Can you please let me know what all configuration you have done for Alert.

Thnx

Chirag

venky_b
Participant
0 Kudos

hi chirag Gohil,

I have done the following steps

Step 1:

Go to TCODE - ALRTCATDEF

Click on change mode

Define alert category

1. Click on Create Alert Category

2. Enter Alert Category and Description for alert category

3. In properties tab

  • Select priority High or Medium

  • Specify the maximum number of times the alert is to be delivered.

  • Determines the (optional) expiry time of the alert.

Step 2:

Click on Container Tab.

We can add some variables to our container which we will later use to compose the text of our alert message.

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

In alerts from XI you can use those variables:

SXMS_MSG_GUID, SXMS_RULE_NAME, SXMS_ERROR_CAT, SXMS_ERROR_CODE,

SXMS_FROM_PARTY, SXMS_FROM_SERVICE, SXMS_FROM_NAMESPACE, SXMS_FROM_INTERFACE,

SXMS_TO_PARTY, SXMS_TO_SERVICE, SXMS_TO_NAMESPACE,SXMS_TO_INTERFACE

Step 3:

Now we can use our variables from the container to create an alert message.

In the Message title for ex. enter the following text

Error: & SXMS_ERROR_CAT& was found in the message & SXMS_MSG_GUID& from the interface & SXMS_FROM_SERVICE&.

Step4

In order to receive alerts we have to add ourselves to the receivers list.

Click on fixed recipients.

Click on new entries, choose the recipients. Finally click on save.

Step 5

This is the end of the configuration in sapgui and now we can start working with RWB (Runtime Workbench).

Logon to RWB and Choose Alert configuration

  • Create a new alert rule

  • Select your created alert category from the table.

  • Enter description

  • Enter Sender and Receiver, Service, Interface and Name space.

  • Click on Add Rule

Step6:

I just gave a wrong data to one of the processes and as you can see I managed to trigger a mapping error.

Step 7:

Now you can go to the alert inbox to see if the alert was triggered:

you can do it from RWB - Alert inbox or from sapgui TCODE – ALRTINBOX.

I have gone through the links .

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

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide

venky_b
Participant
0 Kudos

hi chirag Gohil

Did u find any Solution ?

I have sent steps

Regards

venkatesh

Former Member
0 Kudos

HI,

Everything is configured properly as per the steps, I am surprised why it is giving error.

Can u let me know where you are getting error. you wanted to generate IS or Adapter error in RWB.

Thnx

Chirag