Show TOC

DebuggingLocate this document in the navigation structure

Use

Problems that occur when you display or execute BSP applications can be caused by all sorts of different reasons. If a problem occurs, you can debug to find the solution.

A special HTTP debugger is available for the coding in your BSP application. You can use HTTP debugging in exactly the same way as usual debugging.

Caution

HTTP debugging is user-specific, that is, breakpoints are set user-specific.

Debugging is not possible for a public or Internet user.

If it is set for the HTTP request, authentication must be carried out.

For more information, see:

You can find additional information about debugging in the Debugger documentation.

You can also set Breakpoints for BSP Page Fragments.

If the debugger does not help you, you can use a trace for your BSP application. To do tihs you can either use ICM Tracing or HTTP Browser Tracing.

Prerequisites

Before you debug, ensure that:

  • The Internet Communication Manager (ICM) is active.

    To do this, branch to transaction SMICM: The status of ICM should be running and the green traffic light should be displayed. The ICM is running with the correct parameters (see also Parameterizing the ICM).

  • The correct domain or DNS configuration is specified for your BSP application.

    See also SAP Note 434918 Information published on SAP site.

Activities

You can set or activate HTTP debugging for BSPs in different ways:

  • By setting a breakpoint in your BSP application

  • When maintaining the HTTP service tree (Transaction SICF)

    Choose Start of the navigation path Edit Next navigation step Debugging Next navigation step Activate Debugging End of the navigation path. For further information, refer to Error Handling and Monitoring.

  • In the development workbench (Transaction SE80).

    Choose Start of the navigation path Utilities Next navigation step Settings End of the navigation path. On the following dialog box for the user-specific settings, on the tab ABAP Editor choose the embedded tabstrip HTTP Debugging and activate HTTP debugging globally for your user.

    In the Web Application Builder of the development workbench, you can also activate or deactivate HTTP debugging:

    Choose Start of the navigation path Utilities Next navigation step Breakpoints Next navigation step (De)activate for HTTP User End of the navigation path.

    Caution

    Ensure that deleting all breakpoints does not automatically deactivate HTTP debugging.