SAP ABAP OO or ObjectOriented ABAP is a programming language used in SAP for developing business applications. It is an extension of the basic ABAP (Advanced Business Application Programming) language incorporating the objectoriented programming paradigm.
In ABAP OO the software is structured in reusable components or objects which can include both data and the methods that operate on that data. This approach allows for more efficient and modular software development as objects can be reused and extended across different parts of an application or even across different applications.
Objectoriented programming in ABAP includes features like:
Classes: These are blueprints for objects. They encapsulate data and methods that operate on that data.
Objects: These are instances of classes. An object is created using the blueprint defined by a class.
Inheritance: This allows a class to inherit characteristics from another class.
Polymorphism: This allows objects of different classes to be treated as objects of a common superclass.
Encapsulation: This restricts direct access to an objects data and methods maintaining the integrity of the object.
SAP ABAP OO is widely used in SAPs latest software like SAP S/4 HANA and in SAPs development environment SAP NetWeaver.
Implementation is mandatory