Show TOC Start of Content Area

Component documentation Refactoring Assistant  Locate the document in its SAP Library structure

Purpose

In the context of software development, the term refactoring refers to the practice of changing the structure of a program without changing its behavior. Refactoring ranges from simple renaming of variables and classes to restructuring a class hierarchy by substituting inheritance with composition.

Refactoring aims at improving the design of a system in terms of reusability, extensibility and so on. Unfortunately, the practice of refactoring also puts at risk the semantic integrity of a software system because the process is very prone to errors.

The purpose of the Refactoring Assistant is to simplify and accelerate the process of refactoring ABAP source code.

Integration

The Refactoring Assistant is part of the ABAP Workbench and is integrated in the following tools:

·        Class Builder

·        Function Builder

·        ABAP Editor.

Features

The Refactoring Assistant has the following features:

Constraints

The following development objects cannot be refactored:

     Enhanced compilation units (for example, global classes, reports and so on). For more information, see Enhancement Framework.

     Includes containing two or more distinct compilation units.

See also:

Extracting Source Code Segments

Removing Unused Data Declarations

Inserting GET and SET Methods

 

 

 

 

End of Content Area