cancel
Showing results for 
Search instead for 
Did you mean: 

How can i inject log statements in java mapping and see them - SAP netweaver

Former Member
0 Kudos

My 300 line java class does not exactly make msg mapping. It's the middleman - it prepares sql query. I want to see the final sql string.

I m newbie, and can't just pull out the class into Eclipse and test - it has many references to other things.

So I want to put log statements into it and run it inside the server. I want to see the logs in the SAP log viewer:

Logs like "System.err" or "System.out" - I dont know exactly the code. How would u approach this issue? How to inject logs into java class in SAP XI?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Moved to the Eclipse forum