cancel
Showing results for 
Search instead for 
Did you mean: 

How to raise the user defined Exceptions in XI ?

Former Member
0 Kudos

Hi All

I am learning XI ...i want know how to set up the user defined Exceptions

in XI?

Where and What are the settings need to be done ?

Same time where can check the LOG file ? to see all the server information ?

Welcome to your answers

Regards

Rakesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Rakesh,

Check this weblogs which will guide you:

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

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

/people/stefan.grube/blog/2005/12/30/test-user-defined-functions-for-the-xi-graphical-mapping-tool-in-developer-studio

Also check this thread:

---Satish

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Go thro this blog for throwing smart exceptions in UDF:

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

Use this link for logs:

http://server:port/sld/admin/log.jsp(given in XI FAQ-blog by Michal)

Else you can view your logs in Visual admin.

Regards,

P.Venkat

Former Member
0 Kudos

Hi,

plz check these blogs also...

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step ALERTS STEP BY STEP MICHAL

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide ALERTS TROUBLE SHOOTING MICHAL

/people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm Reconciliation of messages in BPM

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

regards

prabhu_s2
Active Contributor
0 Kudos

check out this

<a href="/people/sap.user72/blog/2005/02/23/raising-exceptions-in-sap-xi-mapping Exceptions in SAP XI Mapping</a>

thkx

Prabhu

PS: Award points to all helpful answers

prabhu_s2
Active Contributor
0 Kudos

also try to use this part of a code in UDF for testing the exceptions:

<i>public static String raiseExc(String a, Container container) throws Exception {

//write your code here

RuntimeException e = new RuntimeException("mapping error");

if (<any condition>) {

throw e;

} else {

return a;

}

}</i>

Former Member
0 Kudos

Hi,

Do you mean alerts?

Regards,

Wojciech