cancel
Showing results for 
Search instead for 
Did you mean: 

How to output results to a file?

Former Member
0 Kudos

If there is no Debug capability, how to output test results to a file? Are there any other ways to do this?

Thanks!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Where to find the log viewer in NWDS?

p330068
Active Contributor
0 Kudos

Dear Sapport

You can find ERROR LOGS etc in NWDS but it will not serve you requirement.

Have a look at Window > Show View > Others > PDE RUntime > Error Logs.

For Webdynpro Logs, You can refer to the blog metioned above.

Best Regards

Arun Jaiswal

Former Member
0 Kudos

I want to display the values that are stored variables. The place where I work does not have Debugger in NWDS; therefore, i need to find another way to debug.

Can you please suggest ways to do this?

junwu
Active Contributor
0 Kudos

you can use sap log.

the class generated by web dynpro has defined the log "logger"

you can use logger.infoT() to print the message, it will be printed at default trace. you can view it in log viewer in nwa.

p330068
Active Contributor
0 Kudos

Dear Sapport,

You can use the IWDMessageManger to print the message on the webdynpro application iview screen.

Please refer to the more details for the Webdynpro Logging and Tracing to find the root cause:-

[|]

[http://wiki.sdn.sap.com/wiki/display/WDJava/LoggingandTracinginWebDynpro|http://wiki.sdn.sap.com/wiki/display/WDJava/LoggingandTracinginWebDynpro]

Hope it will resolve your issue.

Best Regards

Arun Jaiswal

Edited by: Arun Jaiswal on Mar 5, 2012 12:47 PM

junwu
Active Contributor
0 Kudos

have you tried to put some log at default trace?