Show TOC Start of Content Area

Function documentation Source Code  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 in a back-end editor.

Note

To display the Source Code 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 Text Front-End Editor.

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. If the tool has not been part of the work area, it is displayed. If the work area already has the highest number of tools allowed, a dialog appears in which you can choose which tool you want to swap.

      By double-clicking outside a data object, you create a breakpoint in the Source Code Tool. If the line already had a breakpoint, the existing breakpoint is deactivated. Another double-click permanently deletes the breakpoint.

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 services:

      Standard services include the following:

       Save to Local File

       Search

       Find Next

      Tool-Specificservices include the following:

       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

       Change to Line Length 72

To improve the readability of very long source code lines, you can limit the line length to 72 characters.

       Source Code services include the following:

       Automatic Source Recognition

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

       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)

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

End of Content Area