Improving the Quality of ABAP Code


Book Description

Gain an in-depth understanding of the large number of common problems found in ABAP programs and have a robust methodology for fixing problems when you find them. This book also shows you how to prevent them from occurring in new programs. A large chunk of the world's biggest organizations use SAP software and virtually all of them have very large amounts of custom code. However, a lot of that custom code is not as good as it could be. In this book we look at why object-oriented programming is the basic building block for improved program quality and at the test-driven development that this enables. We cover the three pillars of clarity, stability, and high performance on which a high-quality ABAP program stands. You will then move on to the user interface, which needs its own set of standards for high quality. In the final chapters, you will learn about specialist topics such as user exits, making sure code will run on the latest releases of SAP, and how to add your own automated custom code quality checks. You will: Know why object-oriented programming and test-driven development are the cornerstones of high-quality custom code Ensure that the three pillars of clarity, stability, and high performance are fulfilled Make sure your applications are user friendly Ensure that your custom code works on newer SAP releases Create your own custom code quality checks.







Clean ABAP


Book Description

ABAP developers, are you looking to clean up your code? Then pick up this official companion to the Clean ABAP GitHub repository. This book is brimming with best practices, straight from the experts, to help you write effective ABAP code. 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: a. 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. b. 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. c. 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: 1) Classes and interfaces 2) Methods 3) Names 4) Variables and literals 5) Internal tables 6) Control flow 7) Comments 8) Formatting 9) Error handling 10) Unit testing 11) Packages




ABAP to the Future


Book Description

ABAP to the Future is back, and better than ever! Looking for the latest in ABAP syntax? The code examples are fully rewritten. Need to start working in the cloud with the ABAP RESTful application programming model? We've got you covered. Got a new IDE like SAP Business Application Studio? We'll show you the ins and outs of your environment. From abapGit and ABAP2XLSX to SAPUI5 and Web Dynpro ABAP, this new edition has everything you need to be on the cutting edge!




Official ABAP Programming Guidelines


Book Description

How do you program good ABAP? This book, the official SAP programming style guide, will show you how to maximize performance, readability, and stability in your ABAP programs.




ABAP Development for SAP HANA


Book Description

See how SAP HANA has changed ABAP Whether you're studying for certification or just want to see what's new, you can learn to design simple and advanced SAP HANA applications with ABAP by using this comprehensive guide. Learn to enable code pushdown, use new Open SQL enhancements and CDS views, and integrate native SAP HANA objects. Use detailed programming examples to develop database procedures and optimize your applications. You'll be programming for SAP HANA in no time Basic Principles Explore essential SAP HANA principles like in-memory technology and architecture, the SAP Web IDE, and AS ABAP database programming. Advanced Techniques Learn to use tools like InfoProviders, EasyQuery Interface, and the Application Function Modeler for SAP HANA. Discover how to integrate geographical data from SAP HANA in ABAP programs. Optimizing Existing Applications Get step-by-step instructions to help you optimize existing ABAP applications, and learn how to speed up applications with SAP HANA. Highlights: Code pushdown SAP Web IDE Eclipse CDS views SQLScript Native SAP HANA object integration Open SQL enhancements Geo-information Text searches Error analysis




SAP ABAP Advanced Cookbook


Book Description

This book is written in simple, easy to understand format with lots of screenshots and step-by-step explanations. If you are an ABAP developer and consultant looking forward to build advanced SAP programming applications with ABAP, then this is the best guide for you. Basic knowledge of ABAP programming would be required.







Test-Driven Development with ABAP Objects


Book Description

Code-based test improvement -- Design-based test improvement -- Robust integration test -- Minimizing dependencies -- Isolated component test -- Redesign with unit tests.




ABAP Cookbook


Book Description

Are you an aspiring ABAP cook looking for professional ABAP recipes? Or are you already the executive chef in your ABAP kitchen, just looking for new ideas? Either way, you will find classic and new recipes in ABAP Objects and ABAP/4 for common and specific development tasks in this ABAP Cookbook! This book quickly provides answers to typical ABAP development problems or tasks: persistence programming, interface programming, security and tracing techniques, etc. You'll discover best practices in developing solutions, and you can use this book to broaden your skills and see how to apply ABAP to solve various types of problems. The complexity of the recipes ranges from the simple starter plates to the complex main courses - and some sweet desserts, of course! Each chapter is a short tutorial in itself, all organized and consolidated into an easy-to-read format. Many code samples, screenshots, and different icons will help you to follow the best practices provided. Enjoy your ABAP meal! 1. Best PracticesLearn best practices for programming and the solutions to both simple and complex programming problems. 2. Programming TechniquesDiscover various techniques for dynamic, database, transactional, persistence, interface, and security programming in ABAP. 3. Comprehensive Approach to Problem SolvingExplore the context of a problem, solution alternatives, and the thought process involved in the development of a solution. 4. Instructive IconsEasily identify quick tips, step-by-step instructions, and warnings, thanks to the use of helpful icons throughout the text. 5. Numerous Examples and Source CodesExplore coding examples in every chapter, as well as two source code bundles that you can install on your local AS ABAP system. Highlights: String Processing Techniques Working with Numbers, Dates, and Bytes Dynamic and Reflective Programming ABAP and Unicode Working with Files Database Programming Transactional Programming XML Processing in ABAP Interacting with the ICF Web Services Sending E-Mails Using BCS Programming for Security Logging and Tracing Interacting with the Operating System Inter-process Communication Parallel and Distributed Processing with RFCs