Show TOC

 Local Definitions not Referred by the Global ClassLocate this document in the navigation structure

Use

In this include program you place all local interface declarations, local class declarations, and local type definitions that are not referred to in the private section of the global class. These local declarations are used in the implementation of the global class only. When this include program is changed, there is no need to recompile subclasses and friends of the global class.

You place here all local class implementations.

The respective local classes can be declared in the same Include program or in the one for Local Definitions Referred by the Global Class .

Procedure
  1. Open the class you want to edit in the Class Builder.
  2. Choose Goto →Local Definitions/Implementations →Local Definitions/Implementations or the Local Definitions/Implementations pushbutton in the tool bar.

    The ABAP Editor for the respective Include program appears.

  3. Go to change mode.
  4. Edit the local declarations and the implementation parts of the local classes.

Local Auxiliary Class Implementation Source Code

Note

Before Release 7.1 (SP4) this include was accessible by means of the function Implementation and SAP recommended you place only the implementations of local classes here, while all declarations should be placed in the include accessible through the function Local Types. This recommendation and the naming of the functions has changed in order to minimize the compilation effort due to changes in the local definitions.

If you open the include for global classes that were created before Release 7.1, you might find only implementations there, while all declarations are still in the include accessible through Local Definitions Referred by the Global Class . We recommend you copy all declarations that are not referred to in the private section of the global class into the include described in the current section.