You can create local or global ABAP classes to build a template for objects.
The back-end system creates an inactive version of a class pool in the selected package that is stored in the class library of the repository. In the Project Explorer, the new class is added to the Source Library of the corresponding package node. In the source code editor, the initially generated source code is displayed and ready for editing.
After you have created an ABAP class, the following tabs are available in the class editor:
Tab | Description |
---|---|
Global Class | Class that is stored in the class library of the central ABAP Repository |
Class-Relevant Local Types | Contains local definitions that are referenced in the private
section of the global class Note When these local
definitions are changed, all subclasses and friends of the
global class must be recompiled because they might depend on
these definitions.
|
Local Types | Contains local definitions that are NOT referenced by the global class |
Test Classes | Contains ABAP Unit test classes that enable automated tests during the development phase |
Macros | Allows you to add macro definitions for the given global class
Caution Macros are regarded as obsolete technology
and should no longer be used in ABAP classes.
|