Skip to Content

ABAP Development Tools (ADT) 2.19 provides a various set of quick assists that help you to change ABAP source code in a semi-automated way as follows:

  • Refactoring aids for changing the structure of source code without changing its behavior
  • ABAP Quick fixes for resolving errors and warnings
  • Generators for adding new functionality

In SAP NetWeaver NW7.40 SP5, following new quick assist functionalities make your daily development tasks easier to handle:

Refactoring Aids

              

Identifier

Function

Description

Variables

Declaring Variables from Usage

You define a new local variable, attribute, or parameter from its usage.

Declaring Inline Variables Explicitly

You convert local inline declarations of one or several variables into explicit declarations.

Extracting Local Variables from Expressions

You create a local variable from an expression.

Converting Local Variables to Parameters

You promote local variables to a parameter of a method.

Assigning a Statement to a New Variable

You declare a new variable and assign the result of a statement to this variable.

Variables / Constants

Extracting Parameters from Literals

You create a new importing parameter for the current method with the literal as default value. Then, this parameter is used instead of the literal.

Methods

Extracting Methods from Expressions

You can move an expression to a new method and replace it with the call of a new method.

Exceptions

Declaring Exceptions from a Raise Statement

You add an exception to the method signature based on an existing RAISE EXCEPTION statement in the method implementation.

ABAP Quick Fixes

    

Function

Description

Creating ABAP Function Modules from Usage

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

Creating ABAP Includes from Usage

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

Generating ABAP Source Code

Identifier

Function

Description

Classes

Generating Class Constructor Methods

You can create an empty static class  constructor method in the public section of the current ABAP class.

Generating Constructor Methods

You can create an instance method in the public section of the current ABAP class.

Generating Factory Methods

You can create a static create method in the public section of the current ABAP class.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply