cancel
Showing results for 
Search instead for 
Did you mean: 

exception text in error segment of the header

Former Member
0 Kudos

Hello All,

It is well documented in SDN on how to add trace messages and then raise an runtime exception error that will stop message mapping process.

References:

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

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

The exception text can be extracted from the Trace segment in SXMB_MONI. This is an acceptable way but not the best one. The "error information" button only indicates to the exception but one needs to dig out the text from the trace section.

The ideal scenario would be to be able to write to the error segment of the message header (for e.g. "Additonal Text" section). Has anybody worked on this / what are the mechanisms to achive this from UDF/Java functions.

Regards,

Varadharajan.

Accepted Solutions (0)

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Interesting Requirement. If you can figure a way out, believe me this is worth a Blog on SDN

Meanwhile, Can you have a look at my blog and check if this can help you as a workaround,

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

Regards

Bhavesh