sapdev logo background
sapdev logo sapdev logo
Comments

SAP CLASSES AND INTERFACES documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Classes and Interfaces
This section describes the definition of classes and interfaces and of their components . Classes and interfaces form the basis for ABAP Objects , the object-oriented part of the ABAP language. Classes and interfaces can be defined in ABAP programs of the following
program types :
  • In a class pool , you use the Class Builder tool of the ABAP Workbench to define exactly one global class of the class library, which can then be used in all other ABAP programs. In the global declaration section of a class pool, you can individually define local data types, classes and interfaces to be used in the class pool and make type groups

  • known.
  • In an interface pool , you use the Class Builder tool of the ABAP Workbench to define exactly one global interface of the class library to be used in all other ABAP programs. In the global declaration section of an interface pool, you are not allowed to define local data types, classes and interfaces. You can declare type groups. In interface pools, no other statements are allowed outside of the global interfaces.

  • In all other ABAP programs, except type groups, you can define local classes and interfaces to be used in the program itself.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




  • CLASSES
    CLASS_ABEXA




    comments powered by Disqus