cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Handling in Message Mapping and Alert

Former Member
0 Kudos

Hello,

1. Pls let me know the concept of Exception Handling and Alerts.

2. Pls provide some blogs for Exception Handling in Message Mapping.

3.What are Alerts and how it help us in XI. Pls provide some blogs for Alert

4.How are Alerts and Exception Handling can be related say for some scenario

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Plz check out these blogs of Sravya on Error Handling:

/people/sravya.talanki2/blog/2006/11/22/error-handling-framework-xiout-of-the-box-episode-1

/people/sravya.talanki2/blog/2006/11/23/error-handling-framework-xiout-of-the-box-episode-2

Also check this SAP Presentation:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9418d690-0201-0010-85bb-e9b2c1af...

/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping

Error Handling :

http://help.sap.com/saphelp_nw04/helpdata/en/56/b46c3c8bb3d73ee10000000a114084/frameset.htm

Alerts:

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

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

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

BPM:

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

regards

former_member529475
Active Contributor
0 Kudos

HI Henry

<b><u>Exception Handling</u></b>:

inside a BPM (integration process) you can

create exception branch (from block step)

that will catch any exceptions from different steps

(mappings, sending etc) this way if any error happens

the exception branch will get exectued and you will be able to do somehting else

(send mail etc)

You can handle exception in message mapping also...

/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping

You can use Block step inside BPM error handling....

see the below blogs....

/people/sravya.talanki2/blog/2006/11/22/error-handling-framework-xiout-of-the-box-episode-1

/people/sravya.talanki2/blog/2006/11/23/error-handling-framework-xiout-of-the-box-episode-2

<u><b>Alerts:</b></u>

Realtime montiroing is done using XI alerts. Confgure alerts and then any error anywhere you get an auto intimation.

This blog by michal should help,

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

Cheers..

Vasu

<u>** Reward Points if found useful **</u>

Former Member
0 Kudos

Hello Vasu,

Thanks a lot!!!!

But I have some queries:

1.Exception Handling If we have BPM then we can trap all exceptions ((mappings, sender service down etc..)

But if we do not have BPM then how we handle exception like mapping failure, sender service is down etc. because Blog --3069 do not talk about mapping failure exception

2. Alerts -- As per Michal Blog we set up alert using ALRTCATDEF transaction.

and can use for any mapping failure etc.

But I have read some blog that thrwoing alert from User Defined Fn.

a. Why do we require that thing when we have ALRTCATDEF transaction.

b. What is CCMS . Pls prrovide some concept and blog for it

Regards

Regards

former_member529475
Active Contributor
0 Kudos

HI Henry

1. It is not possible to handle exceptions without a BPM . To handle Exceptions without BPM, UDF is the best approach

2. If you want to catch simple errors (like wrong value) you can send alert from UDF. If you want to catch all errors (even critical) you can either use

a BPM with a catch block (which will catch all errors) and enable you to process

the flow - or you can create a java mapping inside which you will validate if the

mapping was ok or not and send alert from there

so the approach depends on:

message volume

type of errors you need to handle

Regarding CCMS,

1.Expansion is Computing Center Management System

2. It takes agents from different systems and is able to monitor your system and create alerts in cases when an error is detected.

The (CCMS) performs tasks in the following areas:

1. System monitoring across the entire landscape

2. Determining and displaying statistical data

3. System management (for example, starting and stopping SAP systems, configuration, printing, background processing, resource management, and database administration)

Cheers..

Vasu

<i>** Reward Points if found useful **</i>

Former Member
0 Kudos

Hello Vasu,

Ok If I got you right---

Exception --

For mapping failure, sender service down we need BPM

Alert --

Why we need to throw alert from User Defined Fn when we have ALRTCATDEF tx .

Pls send me some blogs for throwing alert from User Defined Fn

.

I have awarded you the points

Regards

Henry

former_member529475
Active Contributor
0 Kudos

HI Henry

Here is the blog for Alerts from UDF

/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

Alerts can be configured in ALRTCATDEF transaction to raise alerts for errors of mapping category.

Cheers..

Vasu

<i>** Reward Points if found useful **</i>

Former Member
0 Kudos

These blogs should help you to configure alerts

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

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

Alerts are used to report when there is an error in our scenario.

Regards,

Jai Shankar

Former Member
0 Kudos

Hello Jai,

For Alerts --- We can use alerts if we have mapping error.

But how can it help when Business Service is down.

Also let me know about Exception Handling.

Regards

henry

Former Member
0 Kudos

>>For Alerts --- We can use alerts if we have mapping error.

But how can it help when Business Service is down.

In case, the target system is down this will result in a error in RWB. You can raise alerts for these errors too if you are above SP14.

>>Also let me know about Exception Handling

Depends on your scenario. Each scenario can have its own method for exception handling. Can be done in Mapping or can use a BPM and take a different course of action.

Regards,

Jai Shankar