Show TOC

Version 2.19Locate this document in the navigation structure

Here is an overview of the most significant changes in the context of ABAP core development that relate to the:

  • Back end: SAP NetWeaver 7.4 SP5
  • Client: ABAP Development Tools (ADT) 2.19
ABAP Development Objects

Previewing a Message Long Text

In the message class editor, you can display the long text of a message that was added through the back end in an ABAP project. For this purpose, select the Preview button in the toolbar.

The Long Text Preview window displays the:

  • message number and short text in the header
  • long text in the main frame
Example of a Long Text Preview window
Figure 1: Example of a Long Text Preview window

Take note of the following prerequisites for executing this function:

  • Your ABAP project is opened in the original language.
  • The message is not activated as self-explanatory.
Note This function is also available in SAP NetWeaver 7.3 EHP1 SP10.

More on this: Previewing a Message Long Text

Refactoring Aids

Declaring Variables from Usage

Defining a local variable, attribute, or parameter from its usage

More on this: Declaring Variables from Usage

Declaring Inline Variables Explicitly

Converting local inline declarations of one or several variables into explicit declarations

More on this: Declaring Inline Variables Explicitly

Extracting Parameters from Literals

Creating a new importing parameter for the current method with the literal as default value. This parameter is used instead of the literal.

More on this: Extracting Constants from Literals

Extracting Local Variables from Expressions

Creating a local variable from an expression

More on this: Extracting Local Variables from Expressions

Converting Local Variables to Parameters

Promoting local variables to a parameter of a method

More on this: Converting Local Variables to Parameters

Assigning a Statement to a New Variable

Declaring a new variable and assigning the result of a statement to this variable

More on this: Assigning a Statement to a New Variable

Extracting Methods from Expressions

Moving an expression to a new method and replace it with the call of a new method

More on this: Extracting Methods from Expressions

Declaring Exceptions from a Raise Statement

Adding an exception to the method signature based on an existing RAISE EXCEPTION statement in the method implementation

More on this: Propagating an Exception

ABAP Quick Fixes

Creating ABAP Function Modules from Usage

Creating an ABAP function module from the name of the missing repository object. For this purpose, the corresponding creation wizard is opened.

More on this: Creating ABAP Function Modules from Usage

Creating ABAP Includes from Usage

Creating an ABAP include from the name of the missing repository object. For this purpose, the corresponding creation wizard is opened.

More on this: Creating ABAP Includes from Usage

Generating ABAP Source Code

Generating Class Constructor Methods

Creating an empty static class constructor method in the public section of the current ABAP class

More on this: Generating Class Constructor Methods

Generating Constructor Methods

Creating a instance method in the public section of the current ABAP class.

Note

If the class has attributes, a dialog is opened where you can select the attributes that should be instantiated.

More on this: Generating Constructor Methods

Generating Factory Methods

Creating a static create method in the public section of the current ABAP class

Note

If the class has attributes, a dialog is opened where you can select the attributes that should be instantiated.

More on this: Generating Factory Methods

ABAP Source Search

Searching ABAP Source Code

The SAP HANA-based ABAP Source Search enables you to find text that is developed in source-based repository objects (like classes, programs, function pools) of an ABAP project.

Note In order to enable the ABAP code search functionality, your ABAP system must use a SAP HANA database.

More on this: Searching ABAP Source Code

Enhancement with Source Code Plug-ins

Displaying Source Code Plug-ins

In the source code editor of an ABAP class, ABAP program, or an ABAP function group, you can display the source code plug-ins of the available enhancement implementations in the enhancement popup. If there are several enhancement implementation elements available, the hierarchy of the source code plug-ins is displayed in addition.

Source code plug-in marker that highlights an enhancement option in the ruler of the source code editor
Figure 2: Source code plug-in marker that highlights an enhancement option in the ruler of the source code editor

Example

The following enhancement popup is displayed if one source code plug-in is added at an enhancement option:

Enhancement popup for a single source code plug-in
Figure 3: Enhancement popup for a single source code plug-in

More on this: Displaying Source Code Plug-ins

Debugging ABAP Code

Setting ABAP Watchpoints

When debugging ABAP code, you can use watchpoints to track the value of individual ABAP variables. The ABAP debugger stops as soon as the value of a watched variable has changed. Furthermore, you can specify conditions for watchpoints. The debugger then additionally checks whether this condition is fulfilled.

More on this: Using Watchpoints

Changing Internal Tables

The tables view of the ABAP Debugger has been enhanced to support changing, deleting, and inserting rows in internal tables.

More on this: Displaying and Changing Internal Tables