Description 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.