Show TOC Start of Content Area

Function documentationSource Code (Edit Control)  Locate the document in its SAP Library structure

Use

You use the Source Code tool to display the current source code of a program or screen.

Note

To display the Source Code (Edit Control) tool by default every time you start the Debugger, from the Object Navigator, choose Utilities Settings…. Under the ABAP Editor tab, choose the Editor tab and select ABAP Front-End Editor.

Prerequisites

The ABAP Front-End Editor Control function is available with SAP GUI 6.40 Patch Level 10 or above.

Features

      There is a variety of functions you can use to navigate through and examine the source code.

For more information, see Navigating through the Source Code.

      By double-clicking a data object, you transfer its current content to the Variables Fast Display tool. This is forward navigation. For more information, see Navigation in Variables Fast Display.

Display Features

The most important additional features of the ABAP Front-End Editor in the Debugger are:

      Syntax coloring

      Standard editor functions such as vertical and horizontal scrolling in the source code, display of current scope, opening and closing source code blocks.

      If you hover the cursor over a valid variable in the source code, a data quick info text displays the type and the value of this variable.

      If you choose Settings Options, a dialog box appears, where you can change various settings.

Tool Services

You can use additional services of the Source Code tool by choosing This graphic is explained in the accompanying text with the quick info text Services of the Tool.

A dialog appears containing the following Tool-Specific services:

      Position on Current Statement

Displays the part of source code where the currently executed statement is located.

      Go to Source Code

Opens the source code in the ABAP Editor

      Source Code services include the following:

       Automatic Source Recognition

This service recognizes and displays the source code in the most convenient way.

       ABAP Byte Code

This service displays the source code in ABAP byte code. It is used only by SAP employees.

       ABAP Byte Code (Debug Macro)

You use this service if you need to step into a macro to debug it.

End of Content Area