SAP CLASSES AND INTERFACES



Get Example source ABAP code based on a different SAP table
  


VERSION 5 IN

Classes and Interfaces
This section describes the definition of classes and interfaces and of their components. Classes and interfaces are the basis of ABAP Objects, the object-oriented part of the ABAP language.
BEGIN_SECTION VERSION 5 OUT Classes and interfaces can be defined in ABAP programs of the following program types:
In a class pool, exactly one global class of the class library can be defined that can be used in all other ABAP programs. In the global declaration part of a class pool, it is possible to define local data types, classes, and interfaces for use in the class pool itself.
In an interface pool, exactly one global interface of the class library can be defined for use in all other ABAP programs. In the global declaration section of an interface pool, it is forbidden to define local data types, classes and interfaces. Type pools can be declared. In interface pools, no other statements are allowed outside of the global interfaces.
In all other ABAP programs except type pools, local classes and interfaces can be defined for use in the program.
END_SECTION VERSION 5 OUT
SUBNODES