ABAP · ABAP Cloud
SAP ABAP Cloud: Object-Oriented Programming
Modern SAP is written with objects: ABAP Cloud and RAP leave no other option. This course covers object orientation in ABAP from start to finish (encapsulation, inheritance, interfaces, polymorphism, events, exceptions, ABAP Unit and design patterns), with cloud-based development and a guided lab in every block.
What you will learn
By the end, you will be able to do this
- Design classes with encapsulation, inheritance and polymorphism in ABAP Objects
- Master interfaces, abstract classes, association and composition
- Handle events, local components and self-reference
- Manage errors with class-based exceptions (TRY/CATCH/CLEANUP/RETRY)
- Write tests with ABAP Unit and TDD: test doubles, seams, injection and coverage
- Apply design patterns: Singleton, Factory, Template Method, Observer, MVC
- Set up your ABAP Cloud environment on SAP BTP, free and from scratch
- Code following Clean ABAP and the Clean Core model
Syllabus
13 sections · 118 videos
9 labs · 2 tests · assignments with solutions
01 Introduction
- Course contents
- Introduction to OOP programming
02 Development environments
- sap.com account
- SAP BTP account
- ABAP instance in the cloud
- Installing the development environment
- ABAP development tools
- ABAP Cloud project
03 Object-oriented programming fundamentals lab test
- Class: creation
- Encapsulation
- Instance and static attributes
- Instance and static methods
- Instance
- Static members: access
- Parameters by reference / by value
- Functional methods
- Data types with classes
- Constants in classes
- Optional and supplied parameters
- Restricting write access
- Self-reference
+ Documentation · Lab · Solution · Test
04 Instances lab test
- Creating the instance
- Instance constructor
- Static constructor
- Constructor visibility
+ Documentation · Lab · Solution · Test
05 Inheritance, Casting and Friend Classes lab test
- Concepts
- Inheritance
- Constructors with inheritance
- Attributes with inheritance
- Method redefinition
- Narrowing Cast
- Widening Cast
- Final classes and methods
- Instance encapsulation
- Friend classes (friends)
- Inheritance with friend classes
+ Documentation · Lab · Solution · Test
06 Interfaces and abstract classes lab test
- Interfaces: concepts
- Defining interfaces
- Calling interface methods
- Implementing multiple interfaces
- Nested interfaces
- Aliases
- Abstract classes
+ Documentation · Lab · Solution · Test
07 Polymorphism, association and composition lab test
- Polymorphism: concepts
- Polymorphism with classes
- Polymorphism with interfaces
- Association
- Composition
- Multiple references to the same object
- Instances of different types
- The generic OBJECT class
+ Documentation · Lab · Solution · Test
08 Events in Object Orientation lab test
- Events: concepts
- Defining and raising events
- Setting the handler class and reference
- SENDER: the raising object
- Events in interfaces
- Deactivating a handler object
- Static events
- Handling events for all instances
+ Documentation · Lab · Solution · Test
09 Local components lab test
- Class-relevant Local Types
- Local Types
- Local components: usage
+ Documentation · Lab · Solution · Test
10 Exceptions lab test
- Class-based exceptions
- Exception classes
- Linking texts to a message class
- Raising exceptions
- TRY-CATCH-ENDTRY
- RETRY
- Exceptions in the Debugger
- Granularity
- CLEANUP
- Resumable exceptions
- Exception mapping
+ Documentation · Lab · Solution · Test
11 ABAP Unit Test: Test Classes lab test
- ABAP Unit TDD: Test Driven Development
- Relationships
- Execution
- Creating a local test class
- Test-Seam
- Test-Injection
- Partially implemented interfaces
- ABAP Coverage
+ Documentation · Lab · Solution · Test
12 Design patterns lab test
- Singleton
- Factory Method
- Template Method
- Observer
- Model-View-Controller
- Conclusions
+ Lab · Solution · Test
13 Course certificate
- Final test
- Getting your certificate of completion
- Adding the certificate to LinkedIn
Who it is for
Is this course for you?
- Procedural ABAP developers moving to ABAP Cloud
- SAP consultants who want to master the modern technical side
- Developers from other object-oriented languages entering the SAP ecosystem
Requirements
What you need to get started
- Basic ABAP: syntax, data types and control structures
- Nothing else is needed: the first block sets up the ABAP Cloud environment for free and from scratch
- A drive to make the jump to cloud development
Your instructor
SAP architect with 20 years of experience on real projects. He shares what he has learned along the way, with day-to-day examples.
Training used by SAP professionals in banking, industry, retail, and the public sector.
Path · ABAP Cloud: Advanced Programming
Other courses in this certification path
Fundamentals
FundamentalsSAP ABAP Cloud: Data Dictionary
View courseFundamentals
FundamentalsSAP ABAP Cloud SQL
View courseIntermediate
IntermediateSAP ABAP Cloud CDS: Core Data Services
View courseIntermediate
IntermediateSAP ABAP Cloud ATC and abapGit
View courseAdvanced
AdvancedSAP ABAP Cloud Push Down
View courseFrequently asked questions
How do I get access to this course?
With a Logali Tech subscription (courses are not sold individually). The Free plan opens the first three sections of every course; Standard and Premium unlock the full course. See Pricing.
Do I need my own SAP instance?
Logali Tech does not provide access to SAP systems. In most of the training you do not need your own license: hands-on work is done on a free SAP BTP Trial account that you create, and the course walks you through setting it up step by step. For the On-Premise courses (classic ABAP, Web Dynpro, ALV, Adobe Forms and Fiori administration) you can run the free trial system that SAP makes available (ABAP Cloud Developer Trial) on your own infrastructure, or use the SAP system in your own company environment.
Are there live classes?
Recordings are available 24/7. Live classes and live master programs are included in the Premium plan.
Do I get a certificate?
Yes. When you complete the course you earn a certificate of completion that you can add to your LinkedIn profile.
Start this course today
The first three sections are free. With a subscription you get this full course and the entire SAP catalog.