SAP OO ABAP Training Introduction
One object can interact with another by accessing its attributes directly in a method, calling methods or triggering . An event Classes consist of source code containing the definition of possible objects. An object is always an instance of a class, which is addressed by at least one reference variable. All components and properties of its objects are declared in a class. The basis for encapsulation in ABAP Objects is always the class, rather than the object-1 Classes are either global for all programs or local in a single program. They can be specialized by inheritance and can incorporate standalone interfaces as a public interface. Attributes describe the status of an object. Technically speaking, attributes (instance attributes) are the local variables of an object, which cannot normally be changed directly from the outside. A class may also contain static attributes, which are jointly used by all objects of the class.Static attributes may be variables or constants. Methods allow objects to perform operations.
Instance method always works in a specific object. In other words, it reads and changes the status of this object and interacts with other objects by calling their methods or by triggering events. A method has a parameter interface and can pass on exceptions. A class may also contain static methods, which only accessstatic attributes and can trigger static events only.
SAP OO ABAP Online Training Course Content
- Introduction to Object-Oriented Programming
- The Need for a Better Abstraction
- Classes and Objects
- Establishing Boundaries
- Reuse
- Object Management
- UML Tutorial: Class Diagram Basics
- Summary
- Syntax Overview
- Creating and Using Objects
- Building Your First Object-Oriented Program
- Getting Started with the Class Builder
- Case Study: Working with Regular Expressions
- UML Tutorial: Object Diagrams
- Summary
- Encapsulation and Implementation Hiding
- Lessons Learned from the Procedural Approach
- Data Abstraction with Classes
- Defining Component Visibilities
- Hiding the Implementation
- Designing by Contract
- UML Tutorial: Sequence Diagrams
- Object Initialization and Cleanup
- Creating Objects
- Controlling Object Initialization with Constructors
- Garbage Collection
- Tuning Performance
- Generalization and Specialization
- Inheriting Components
- The Abstract and Final Keywords
- Inheritance
- Using the Refactoring Assistant
- UML Tutorial: Advanced Class Diagrams Part I
- Object Reference Assignments Revisited
- Dynamic Method Call Binding
- Interfaces
- UML Tutorial: Advanced Class Diagrams Part II
- Error Handling with Exceptions
- Lessons Learned from Prior Approaches
- The Class Based Exception Handling Concept
- Dealing with Exceptions
- Raising and Forwarding Exceptions
- Creating Exception classes
- UML Tutorial: Activity Diagrams Summary
- Working with the SAP List Viewer
- Overview of the SAP Control Framework
- Overview of the ALV Object Model
- Getting Started with the Flight Query Report
- Event Handling with the ALV Object Model
- UML Tutorial: Communication Diagrams
- Object Relational Mapping Concepts
- Persistence Service Overview
- Building Persistent Classes
- Working with Persistent Objects
- UML Tutorial: Advanced Sequence Diagrams
- Debugging Objects Using the Classic ABAP Debugger
- Debugging Objects Using the New ABAP Debugger