Synopsis
Start by learning when to apply each clean ABAP practice. Then, dive into detailed code examples and explanations for using classes, methods, names, variables, internal tables, and more. From writing code to troubleshooting and testing, this is your complete style guide!
In this book, you'll learn about:
Clean ABAP Concepts - What is clean ABAP and why is it important to write clean code? Understand clean ABAP concepts with insight from the experts, including special considerations for legacy code and performance. Best Practices - Walk through the what, why, and how behind clean ABAP best practices. Learn to improve your code, including using classes and interfaces appropriately, handling method design and control flow, designing and running unit tests, and much more. Practical Examples - See clean ABAP practices in action! Improve your understanding of how to write effective code. Use detailed examples for each best practice that demonstrate the difference between clean and messy code. Highlights include:
Classes and interfaces Methods Names Variables and literals Internal tables Control flow Comments Formatting Error handling Unit testing Packages
About the Authors
Klaus Haeuptle is a developer, trainer, and product owner for engineering topics. During his career at SAP, he has worked as a developer on several products based on various technologies. Additionally, he facilitates communities across SAP with the intention of sharing knowledge and improving practices and tools. He has influenced testing improvements for ABAP, SAP HANA, and SAPUI5. Together with Florian Hoffmann, he wrote an internal Clean ABAP guide, which was later published externally as an open-source project and serves as the foundation for this book.
Florian Hoffmann is a software architect for governance, risk, and compliance applications at SAP. As an agile driver, he is constantly trying to make writing code more efficient. Together with Klaus Haeuptle, he started the Clean ABAP open source style guide that complements this book.
Rodrigo Jordão is a development architect at SAP currently working on integrated business planning (IBP) with a focus on SAP Supply Chain Control Tower. He has spent his SAP career working on various SAP products, from industry-specific solutions like SAP Intellectual Property Management to foundational products like sales and distribution. Prior to joining SAP, he worked as a web developer with Perl and Java and as a consultant with Microsoft technologies.
Michel Martin is a development architect at SAP. He has played various roles during his SAP career, including leading trainings, managing projects, and coaching teams on ASE, lean principles, and scrum. He has a strong technical background and is constantly looking for new ways to improve team efficiency and quality focus, from using technology and tools to adopting lean processes.
Anagha Ravinarayan is a developer at SAP working on SAP S/4HANA Cloud and on-premise applications in capacity planning and demand-driven replenishment product areas using ABAP, SAP HANA, and SAPUI5. She started her career as a full-stack developer of SAP S/4HANA procurement applications. She is also passionate about web development using TypeScript, Node.js, React.js, MySQL, and MongoDB, and is an open-source software enthusiast.
"About this title" may belong to another edition of this title.