on 02-26-2007 6:27 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.