This course provides a dive into the concepts of classes, abstract/exception classes, interfaces, events and event handlers, SAP Application Log, dynamic method calls, the use of Run Time Type Services (RTTS), and the ABAP Unit testing framework.
The ABAP Unit testing tool is a framework that drastically improves code quality by allowing the programmer to embed test classes directly into an object being developed. This course, SAP ABAP Objects: Advanced Programming Techniques, serves as a follow-up from the earlier “Introduction to ABAP Objects: Concepts and Class Builder” course. The first portion of this course will provide a deeper dive into the concepts from the introductory course. First, using some real-world business scenarios as examples, sample applications are built using base classes, abstract classes, interfaces, events, and event handlers. Error handling & recovery using exception classes is covered in great detail. All of the provided examples are built using a reliable framework that reinforces best practices for coding. Next, you will cover the various tools and APIs that are available within the ABAP environment to improve code quality and productivity. The SAP Application Log is explored and describes how to create Application Log objects, how to write Application Log entries, and how to subsequently retrieve the entries for program analysis and trouble- shooting. Finally, you will discover one of the most powerful tools in the ABAP environment - Run Time Type Services (RTTS). Using this framework, the course shows how to analyze the composition of simple or complex anonymous data objects at run-time, and how to build data-driven processing routines based on the object metadata. In addition, we demonstrate how to use RTTS to dynamically construct custom data objects as needed during program execution. By the end of this course, you will know, step-by-step, how to write test classes and execute unit tests.
Course Overview (Music playing) Hello, I'm Dorian Salmon. Welcome to my course ABAP Objects: Advanced Programming Techniques. I'm an SAP Technical Consultant with SOA-Connect. I've been working with SAP and ABAP since 1995 and created the Introduction to ABAP Objects course that you may have already taken. This course is a natural progression from the earlier introductory course and starts off by taking a detailed look at how and when to use different types of objects to solve a variety of real-world business problems. The first half of the course consists of a deep dive into base classes, abstract classes, interfaces, events and event handlers, and error management using exception classes. You will also be shown a reliable framework that can be used to create programs using ABAP objects that reinforces best practices for coding. In the second half of the course, we explain how to use various tools and APIs that are available within the ABAP environment to improve code quality and productivity. We show how to create your own application log objects and write application log entries that subsequently be retrieved to help with program analysis and troubleshooting. One of the most powerful tools within ABAP is the run time type services, otherwise known as RTTS. You will learn how to determine a structure of anonymous data objects at runtime to build data-driven processing routines, how to dynamically create custom data objects as needed during program execution, and how to make dynamic method calls. We also cover ABAP unit, a testing framework built into the ABAP environment that drastically improves code quality by allowing the programmer to embed test classes directly into an object that is being developed. I hope that you'll join me to learn even more about the SAP ABAP environment with the ABAP Objects: Advanced Programming Techniques course at Pluralsight.