Show TOC

 Source Code-Based Class BuilderLocate this document in the navigation structure

Purpose

You use the source code-based mode of the Class Builder to edit the complete source of global classes in a single editor window. The complete source includes public, protected, private and package sections and method implementations excluding local class definitions, implementations and macros.

Integration

The Source Code-Based Class Builder is integrated with the ABAP Workbench and is started by default if you have selected it as the default editor. For more information, see Settings of the Class Builder .

Features
  • Displays the complete source of the class or interface in a single window.
  • On-Demand Locking allows you to lock specific parts (sections or methods) of the source code.
  • When running a syntax check, you can navigate directly to the error.
  • You can navigate to any method in the source code from the Repository Browser (transaction SE80).
  • You can navigate from a method definition to its implementation and vice versa by double clicking on either part of the method.
  • Allows you to implement interfaces while editing a class.
  • When a method definition is created, the system automatically adds the implementation of that method to the class.
  • You can switch between the two modes of the Class Builder using the Form-based / Source-based pushbutton.
  • To navigate to class or interface components, choose Ctrl + F5 . In this way you can filter out all attributes, methods, events and method implementations of the class and its upper classes. You can use wildcards in your search.

Source Code-Based Class Builder

Constraints

This mode of the Class Builder is available only for standard ABAP classes and interfaces. Exception classes, global test classes or persistence classes are currently not supported.