Show TOC

Web Dynpro trace toolLocate this document in the navigation structure

Use

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 is able to 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

Tracing DEMO_ROADMAP

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 the user in question.

    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. Open the Web Dynpro application that 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. Execute the application until you get to the problem spot.

    1. Describe the separate interaction steps to reproduce the problem, for instance, enter "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 interaction step. Alternatively, you can also send it with Insert, and specify whether a screenshot is to be appended.

    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 and 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

    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.

Authorization

It always takes one day until a newly created authorization for the trace tool or technical help becomes active. To speed this up, you can use report SWDR_RESET_TRACETOOL_AUTHCACHE. This report deletes existing entries made in the shared buffer during the last authorization check, and immediately transfers the new authorization data. To run the report, you need authorizations S_ADMI_FCD STOM and S_DEVELOP DEBUG. When an authorization is removed, it is deleted directly without the need for the report.

More Information

For more information about IF_WD_TRACE_TOOL, see the system documentation.

Tuning and Error Search