cancel
Showing results for 
Search instead for 
Did you mean: 

need to throw an alert or send an email if a message fails in the adapter e

Former Member
0 Kudos

Hello Guys,

We have 2 different types of scenarios Idoc to file and File to Idoc.

1) Idoc to File:

We need to send an email if the idoc message fails in the Adapter engine ( system error in the adapter engine)

2) File to Idoc:

We need to send an email if the incoming file fails in the Adapter engine ( system error in the adapter engine) or fails in the communication channel.

How can this be acheived ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

U can send mails if either sender or receiver side message fails and any error in intergration engine or adapter engine using Alert management.

Alerting is an function of Runtime Workbench along with Message archiving,End-to-end monitoring, Performance Monitoring,Cache monitoring.

Alerting is no longer dependent on the configuration and activation of end-to-end

monitoring. Consequently, the delay between when an error occurs in message

processing and the creation of an alert is significantly reduced. Furthermore, you no

longer need to schedule the report SXMSALERT_PROCESS_DATA_GET as a

background job.The Runtime Workbench has CCMS Alert Monitor thru which

You can now configure one new CCMS Alert Monitor per Adapter Engine for

adapter-specific processing errors.Alerts triggered by the Runtime Workbench can now be forwarded to the CCMS Alert

Monitor and displayed there.

See also SAP Note 824039.

Thru Runtime Workbench we can access alert inbox, alert configuration

In process Integration with Central SAP Monitoring Infrastructure we Drill down to individual process steps and Use SAP Web AS Alert Framework.

In SAP Web AS Alert Framework, we Classify errors and Alert channels (such as e-mail) available.

Alert-Configuration

Objective: Active Monitoring

CCMS Alerts + message-oriented alerts

Based on SAP's Basis Alert Framework

Alerts propagated through E-Mail, SMS,

In Monitoring the SAP Exchange Infrastructure, Message Alerting is part of Runtime Workbench.

Alerting Framework

?? Configuration of alerts to reflect the needs of specific processes

?? Part of SAP Web AS

Alert Configuration

http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm

Alert Inbox

http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm

Alert Notification Step-by-Step

http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm

Defining Alert Classifications

http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm

Triggering Alerts

http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm

Setting up alerts

Alert Management

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e04141e8-0f11-2a10-adaa-9d97b062...

Alert Notification

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f449a8-a6db-2910-a386-d2b5999f...

Custom Alerts in CIC Win Client for CRM 5.0

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/601db2b2-2839-2a10-0381-8807979f...

Understanding u'r SAP EarlyWatch Alert Report

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4b88cb90-0201-0010-5bb1-a65272a3...

For raising an alert you need to first configure the alert please follow the below weblog written by Michal Krawczyk

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

Regards,

Phani

Reward points if Helpful

Former Member
0 Kudos

Hi,

1) Idoc to File:

We need to send an email if the idoc message fails in the Adapter engine ( system error in the adapter engine)

if u wanted to track the error message for IDOC then it will not be possible as for this scenario sender agreement and IDOC adapter is not required. As as IDOC adapter is resides on IS not on Adapter engine hence it will be difficult to track such kind of errors.

2) File to Idoc:

We need to send an email if the incoming file fails in the Adapter engine ( system error in the adapter engine) or fails in the

communication

For File adapter it is possible.U need to configure the Alert rule through RWB.

Process of the same is:

For raising an alert you need to first configure the alert please follow the below weblog written by Michal Krawczyk

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

Configuration steps are: go to transaction ALRTCATDEF

1) Define Alert Category

2) Create container elements which are used for holding an error messages.

3) Recipient Determination.

Triggering alert by configuring a rule from RWB.

http://help.sap.com/saphelp_nw2004s/helpdata/en/56/d5b54020c6792ae10000000a155106/content.htm

Thnx

Chirag

Former Member
0 Kudos

Hi,

Can you check whether the below authorization is given to that user.

For the sending of alerts via external communication methods (e-mail, sms, fax) and for inbound processing, an RFC user has to be created on the central alert server with the role SAP_BC_ALM_ALERT_USER. The authorization objects contained in this role are S_OC_SEND and S_RFC.

refer the help:

http://help.sap.com/saphelp_nw04/helpdata/en/b2/de0741375cf16fe10000000a1550b0/frameset.htm

also

check in ALRTCATDEF transaction what is the user maintained under the fixed receipent tab for that user check the email address in SU01 transaction.

Please check in transaction SCOT (you can give address of your SMTP server in order to send mails),

If it is configured then probably you need to personalized alert delivery. In alert inbox you can select personalized alert delivery and check for "Mail" option.

In SCOT you can see how many mails have beed sent via your XI system

Regards

Seshagiri