Show TOC

Function documentationWeb Dynpro Trace Tool Locate this document in the navigation structure

 

The Web Dynpro trace tool supports the analysis of problems and errors arising in Web Dynpro ABAP, by collecting and listing the data related to the Web Dynpro ABAP application.

Prerequisites

For the additional function to display the trace file you need software that can read ZIP files.

Features

The Web Dynpro trace tool can be activated for a specific user on an application server. All Web Dynpro applications started by this user within 30 minutes can then be traced. A window for the trace tool is displayed in each Web Dynpro application so that you can add extra information to the trace and manage the trace.

Example Example

Tracing DEMO_ROADMAP (Tracing DEMO_ROADMAP)

End of the example.

Activities

  1. Activate tracing in the SAP GUI.

    In transaction WD_TRACE_TOOL choose the pushbutton Activate for this User. This sets the status of the trace to active for this user.

    1. Choose OK to confirm the warning relating to the necessary security settings.

    2. Select any additionally required features, such as rendering traces for the UI tree, and confirm your entries with OK.

  2. Start the Web Dynpro application you want to trace.

    A new window, Web Dynpro Trace Tool, appears under the window of the Web Dynpro application. It contains a text field in which you can enter comments about the screen displayed.

  3. Run the application through until you get to the problem spot.

    1. Describe the separate interaction steps to reproduce the problem, for instance, choose Continue.

    2. Describe what should have happened, for example, the table should have been filled.

    3. Describe what actually did happen, for example, the table remained empty.

    The text field is automatically sent off when you make your next interactive step. Alternatively, you can also send it with Insert, and specify whether a screenshot is to be attached.

    For further explanation of the problem we recommend that you insert a file with additional information. To do this choose Browse... to navigate to the file you want, and attach it with Add File.

  4. Download the trace file, then exit the tracing by choosing Save Trace as ZIP File... & Stop Trace.

    Attach the trace file to a customer message in the SAP Support Portal and send the message to SAP.

    Caution Caution

    All the UI-relevant data is saved in the trace, even data from fields whose status was switched to hidden. For this reason you should not send traces from applications that contain sensitive data.

    End of the caution.

More Information

For more information about IF_WD_TRACE_TOOL, see the system documentation.

Tuning and Error Search