Skip to Content
0

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

Nov 27, 2017 at 11:48 AM

31

avatar image
Former Member

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?

screenshot-56.png (82.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Don Williams
Nov 29, 2017 at 06:03 PM
0

Moved to the Eclipse forum

Share
10 |10000 characters needed characters left characters exceeded