O'Reilly logo

SAP ABAP Objects: A Practical Guide to the Basics and Beyond by Rehan Zaidi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Rehan Zaidi 2019
R. ZaidiSAP ABAP Objectshttps://doi.org/10.1007/978-1-4842-4964-2_1

1. Creating Classes and Objects

Rehan Zaidi1 
(1)
Dubai, United Arab Emirates
 

Within ABAP object-oriented programming, classes are defined which encapsulate data as well as functions. Objects (also known as instances) can then be created based on the class in question. Classes can be created locally (within a program) or globally (available to all programs in a system). ABAP also supports polymorphism via simple inheritance interfaces.

In this chapter, we start by defining the key terms used in the ABAP Objects arena. Then, we look at the various components of a typical class in ABAP Objects and walk through the steps required to create a local class in an ABAP program. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required