cancel
Showing results for 
Search instead for 
Did you mean: 

Java mapping

former_member240483
Contributor
0 Kudos

Hi Experts,

How can we debug the java maping ,could anyone please send me documents related to how to debug the Java mapping.

Thnaks for your time.

Regards

Rao

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Go through these blog:

/people/harrison.holland5/blog/2006/12/08/mapping-context-changes-in-xi

/people/sap.user72/blog/2005/12/14/sending-java-code-as-payload-to-do-mapping-in-xi

these may help you.

BR,

Alok

Former Member
0 Kudos

Hi Rao,

Refer the below weblog:

/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio

if u want to debug the java UDF in graphical mapping then u have to use mapping trace.

This object enables you to transfer messages to the mapping trace. If the trace level is set correspondingly, then the trace is visible in message monitoring (transaction SXMB_MONI). The execution of the mapping is not interrupted when the entries are written to the trace.

Method void addInfo(String message):- adds a message to the mapping trace with the trace level info.

Example:

java.util.Map map;

trace = container.getTrace();

trace.addInfo("INTERFACE_NAMESPACE:" + headerField);

return headerField;

Thnx

Chirag