ABAP Webdynpro的跟踪工具WD_TRACE_TOOL

You can use tcode WD_TRACE_TOOL to switch on trace.

ABAP Webdynpro的跟踪工具WD_TRACE_TOOL
ABAP Webdynpro的跟踪工具WD_TRACE_TOOL

After that when you launch your webdynpro application, you can observe there is a Webdynpro trace window embedded in the bottom of the application. You can either deactivate the trace in old Dynpro tool or in that embedded window.

ABAP Webdynpro的跟踪工具WD_TRACE_TOOL

After you click Store trace as Zip File & Finish trace,you can save the trace file as zip locally.

ABAP Webdynpro的跟踪工具WD_TRACE_TOOL

The trace setting is checked and loaded in the very beginning phase of webdynpro runtime initialization,

ABAP Webdynpro的跟踪工具WD_TRACE_TOOL

The trace is actually added in the runtime via the utility macro below:

ABAP Webdynpro的跟踪工具WD_TRACE_TOOL

And finally into trace file with xml format

ABAP Webdynpro的跟踪工具WD_TRACE_TOOL

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
ABAP Webdynpro的跟踪工具WD_TRACE_TOOL