cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging transform method - JAVA Mapping

itabhishek9
Participant
0 Kudos

HI SDNites,

I have written JAVA mapping using NWDS and looking forward to debug the transform method. Can you please let me know is it possible to debug the the transform method in NWDS and if yes how?

Regards,

Abhishek

Accepted Solutions (0)

Answers (3)

Answers (3)

stefan_grube
Active Contributor
0 Kudos

You can write an additional method to seperate the logic in order to test it with files like this:

http://scn.sap.com/thread/2123525

asdasd_asdasd
Active Participant
0 Kudos

Please check this:

former_member184720
Active Contributor
0 Kudos

I don't think you can debug it like a standalone java program but

you can easily change it to an standalone executable program

or

make use of getTrace.addDebugMessage() to debug from the operation mapping.

itabhishek9
Participant
0 Kudos

Thanks Hareesh for the response.

I am trying to create a wrapper main method and checking if the same help me in debugging.

Also can you please let me know more details on getTrace.addDebugMessage() and how to make it standalone executable program.