ABAP - Keyword Documentation →  ABAP - Reference →  Declarations →  Declaration Statements →  Classes and Interfaces → 

ABAP Objects - Overview

ABAP Objects is the object-oriented part of ABAP.

ABAP Objects adds a complete set of language elements to ABAP (previously only a procedural language) that allow object-oriented programming. This object-oriented extension of ABAP builds on the previous range of languages, and is fully compatible with them. ABAP Objects can be used in existing programs, and the statements that can be used in ABAP Objects correspond to practically all of the remaining SAP language scope. Certain obsolete language elements, however, are not permitted in conjunction with ABAP objects due to a previous cleanup of the ABAP language.

ABAP Objects supports:


The package SABAP_DEMOS_CAR_RENTAL contains a complete example application written in ABAP Objects. Its presentation layer is implemented using a dynpro or Web Dynpro. The Web Dynpro calls interface methods that are implemented in a class and that, in turn, access classes that implement database accesses.

Executable Example


Object Orientation
Definition of Classes and Interfaces
Friends - Friendship Between Classes
Statements in ABAP Objects
Examples for ABAP Objects