Skip to Content
0
Former Member
Feb 26, 2007 at 06:27 AM

exception text in error segment of the header

11 Views

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.