
Just go through twice to get familiar with the terminology.
For High Quality just click on the HD button on the right bottom of the video player,
place your mouse on the bottom of the screen and you will see the button,
I am specifying it because it is not default.
Explore inheritance, polymorphism, interfaces, abstract classes, and type casting in SAP OO ABAP objects. Learn definitions, differences, and how to reuse code and extend behavior.
object in a class can be called as
Methods are where we manipulate the data inside attributes.
Import and Export parameters are used to transfer data from one object to other
we will use MARA table which is material master in this example
and the fields MTNR which is material number
Because we don't have any option to create table types in se24
We create them in se11 and add them where required in class builder
Create and utilize user defined types in a global class within SAP OO ABAP objects. Declare public types, define attributes, and prepare fields for reports and method calls.
Instantiate the global class, define fields with defined types, and call the get_materials method to retrieve data for printing material fields in the report.
static attributes and static methods can be called in programs using the class name instead of creating object.
Compare static and instance methods, noting static methods use the class name and initialize once, while instance methods require an object. See how polymorphism enables method redefining with instance methods.
Always remember that when we create Events there should be a Event handler method
Learn to define an event and its event handler in class builder, link the event to the handler, and implement a no material available check that triggers feedback.
Learn how to register and use event handlers in ABAP by wiring events to method handlers, triggering responses, and decoupling object design for flexible event-driven behavior.
Constructors are special kind of methods, they are called as soon as the object is created,
Constructors are used to initialize the default values
Define a constructor in the class builder to set language-based default values for material descriptions. Use a static method to fetch language descriptions.
Class constructor is nothing but it is static.
Interfaces only contains method declaration, It contains only methods names and parameters.
Implementation is done in class which adds this interface
Instead of writing the methods when creating class, We can inherit all the properties of the class through inheritance
Learn how to inherit from a superclass, mark a class as final to prevent inheritance, and implement or override methods in the subclass to extend functionality.
Master typecasting theory in SAP OO ABAP objects, covering narrow casting and widening casting, inheritance with superclass and subclass, and method overriding.
Encapsulation is the protective wrapper that ties code and data together, and visibility is clarified through public, protected, and private sections, defining interfaces between class, subclass, and external users.
Local class is only for that program and in that program
Define and implement a local ABAP OO class with attributes and class data set to public by default; create objects, access attributes, and call static methods via the class name.
Learn how to define and implement a local ABAP class, use deferred definitions and exporting parameters, and create and call objects with static methods and end-of-program implementation for readability.
learn how to use webware types in a local class and implement methods, showing the definition and implementation parts and how table types are handled in local ABAP objects.
Define and use user defined types inside a local class, mirroring the global class approach with type statements, class definition, and implementation, then print data via the workarea.
Explore how the constructor in a local class initializes default values and triggers automatically when an object is created, using public sections and parameter imports.
Learn to implement interfaces in a local ABAP class, declaring input and output parameters, and call interface methods to fetch material details and descriptions by material number.
Learn how to implement inheritance in a local ABAP class by creating a parent and a child class and redefining the parent method in the child.
Explore the singleton pattern in ABAP objects, ensuring a single instance and global access, with logger-class examples and practical implementation steps.
>>The price will go up from $29 to $129 on September 30th so join now and save $100<<
OOALV also included in the course
SAP OO-ABAP is object oriented programming approach to ABAP developed by SAP and traditional approach is now becoming obsolete, Every one who learned abap and who are learning abap should learn the object oriented approach because all the application are going to build by SAP in abap objects, This approach is very simple to learn, All the concepts will be on classes and objects which are very near to the real life scenarios.
This course is well explained with every concepts covered with examples. You will learn SAP ABAP Objects from the ground up, building on your procedural coding knowledge to ensure you have a thorough grasp of the how best to make use of OO programming techniques in SAP enterprise systems. You will slowly work through all the key aspects of ABAP Objects such as attributes, methods, class definitions and visibility scope all the way through to more advanced concepts such as inheritance, polymorphism and interfaces.
This training course not only gives you an a thorough insight into how SAP ABAP Objects works but is delivered in such a way that everyone who takes the course will have absolutely no problem in understanding all the topics discussed.