cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Handling

Former Member
0 Kudos

Hi Guys,

I want to know how to implement Exception Handling. Also When exception handling is used, what does it do? Does it Halt the process, or does it choose another rout? And where will the exceptions show up in the the SXMB_MONI or somewhere else.

Could someone suggest me a blog or something which shows how to implement Exception Handling step by step.

Regards,

Ashish

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ashish,

We can throw exceptions through User Defined functions also.It halts the process , if u defined alerts alerts will be triggered..If u defined receipient , he can get mail in his inbox.

Example:

if( errocondition)

{

try

{

throw new RuntimeException("Error in validation");

}

catch(RuntimeException ex1)

{

throw ex1;

}

}

Thanks,

venu.

Former Member
0 Kudos

Hi ,

You can use Block step in BPM for handling exceptions.

and also Check this blog for mapping exceptions

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

and also check this thread...

Sekhar

Former Member
0 Kudos

Hi,

Exception handling is generally done to Provide an alternate route for the Business functionality if an exception occurs ...for eg. if there is a mapping error then you would want someone to be alerted for the same rather then waiting for someone to come and look why a certain Business process is not completed.

The system exceptions can be handled in the BPM using Alerts.

Details fo the same can be seen here:

http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/43/1b9259fb002be8e10000000a11466f/content.htm

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

Regards

Vijaya

Former Member
0 Kudos

Guys can alerts send an email to someone's official email ID like Ashish.Goyal@sap.com. If yes then how and where do i configure this info.

Ashish

agasthuri_doss
Active Contributor
0 Kudos

Dear Ashish,

Sure We can send the ALERTS to any mail Address,

Regards

Agasthuri Doss

former_member206604
Active Contributor
0 Kudos

Hi Ashish,

Yes we can send ALERT thru emails.

Check out this thread

/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated

http://help.sap.com/saphelp_webas620/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm

Regards,

Prakash

former_member206604
Active Contributor
0 Kudos

Hi,

Here is Alert Notification step by step

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

I talks about SAPConnect config as well which is used to external communication.

Regards,

Prakash

agasthuri_doss
Active Contributor
0 Kudos

Dear Ashish,

This might help you

/people/sap.user72/blog/2005/02/23/raising-exceptions-in-sap-xi-mapping

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

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/27d2d1d1-0c01-0010-839e-c6d...

http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm

This Thread will help you

Regards

Agasthuri Doss