With the CL_WD_TRACE_TOOL class, which points to the IF_WD_TRACE_TOOL interface through its static attribute INSTANCE, applications developers can supply additional data to the Web Dynpro Trace Tool.
To do this the IF_WD_TRACE_TOOL interface contains method ADD_TRACE_DATA.
IF CL_WD_TRACE_TOOL=>INSTANCE IS BOUND.
DATA TRACE_DATA TYPE XSTRING.
" <<< collect your application-specific trace data
" Add your collected trace data to the trace file for
" the current roundtrip
NAME = 'YourDomain/FileName.Ext'
XSTRING = TRACE_DATA
We recommend that you add the application area as a prefix to the trace files, for example, SRM/ and that you do not start the name with a slash (/).