cancel
Showing results for 
Search instead for 
Did you mean: 

Exception handling in File to IDoc Scenario

Former Member
0 Kudos

Hi,

I have successfully configured File to IDoc Scenario. Now I want to include some exception handling which should be capable of create a mail to recipient when a mapping error occurs.

Can anybody help me out?

Regards,

Suraj Kumar

Accepted Solutions (1)

Accepted Solutions (1)

former_member187339
Active Contributor
0 Kudos

Hi,

Use BPM with the following step

1. Receive

2. Transformation (inside Block, having exception branch, in that raise an alert)

3. Send

Regards

Suraj

Former Member
0 Kudos

Here is an additional link which talks about dealing with exceptions

http://help.sap.com/saphelp_nw04/helpdata/en/27/db283fd0ca8443e10000000a114084/frameset.htm

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

The best way would be to use alerts :

Refer the following for more help on the same.

/people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1

/people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2

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

Former Member
0 Kudos

Shabharish,

I have followed steps as per the weblog

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

but could not able to get an alert inspite of getting mapping error.

In my file-to-Idoc scenario, I did not use any BPM. For getting alert, should I use BPM?

Am I missing anything?

Shabarish_Nair
Active Contributor
0 Kudos

Can you have a look at this forum thread ?

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Suraj,

A few points while creating ALERTS.

<b>TESTING YOUR ALERT CONFIGURATIOn</b>

go to <b>se37 --></b> and <b>execute the report RSALERTTEST</b>. GIve your ALERT CATEGORY in this report. If your ALERTS are configured properly, then your Alert would be triggered and you can see the entry in ALERT INBBOX.

<b>ALERT RULE</b>

Make sure that in your Alert Rule, <b>the option Suppress Multiple Alerts of this rule has not been seelcted</b>.

Finally, if you are on SP14 and above check this note <b>913858</b> for alerts.

If you are below Sp14, then this blog can help you set the background processes needed.

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

No BPMis needed to trigger alerts in either case.

Do get back for any clarifications,

Regards,

Bhavesh