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.




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




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.




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!




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







Mastering SAP ABAP


Book Description

Take your SAP ABAP skills to the next level by mastering ABAP programming techniques with the help of real-world examples Key FeaturesBecome adept at building interfaces and explore ABAP tools and techniquesDiscover the modern functionalities available in the latest version of ABAPLearn the process of creating stunning HTML5 applications using SAPUI5Book Description Advanced Business Application Programming (ABAP) is an established and complex programming language in the IT industry. This book is designed to help you use the latest ABAP techniques and apply legacy constructions using practical examples. You'll start with a quick refresher on language and database concepts, followed by agile techniques for adding custom code to a modern ABAP system. After this, you will get up to speed with the complete ABAP toolset for importing data to and from different environments. Next, you'll learn how to print forms and work with the different ABAP tools for Extensible Markup Language (XML) manipulation. While covering further chapters, you'll gain insights into building stunning UI5 interfaces, in addition to learning how to develop simple apps using the Business Object Processing Framework (BOPF). You will also pick up the technique of handling exceptions and performing testing in ABAP. In the concluding chapters, you can look forward to grasping various techniques for optimizing the performance of programs using a variety of performance analysis tools. By the end of this book, you will have the expertise you need to confidently build maintainable programs in Systems, Applications, and Products (SAP). What you will learnCreate stable and error-free ABAP programsLeverage new ABAP concepts including object-oriented programming(OOP) and Model-View-Controller (MVC)Learn to add custom code to your existing SAP programSpeed up your ABAP programs by spotting bottlenecksUnderstand techniques such as performance tuning and optimizationDevelop modern and beautiful user interfaces (UIs) in an ABAP environmentBuild multiple classes with any nesting levelWho this book is for This book is for developers who want to learn and use ABAP skills to become an industry expert. Familiarity with object-oriented programming concepts is expected.




ABAP Performance Tuning


Book Description

This book is your guide for analyzing and optimizing ABAP source code. You ll learn about the analysis tools and performance-relevant technologies, and discover how you can analyze existing source code and enhance your programming style. This is the resource you need to ensure that your ABAP programs are fully optimized. 1 Analysis Tools After reading this book, you ll know when and how to use analysis tools properly including Code Inspector, performance trace, ABAP trace, or single records statistics. 2 Programming Technologies Get detailed information on parallel processing, internal tables, SQL data processing, and much more, and learn how these technologies affect performance. 3 Buffering Explore the different buffers that are available on the SAP NetWeaver Application Server ABAP, and learn the most important buffer options to avoid unnecessary database accesses. 4 Database Tuning You ll obtain a description of the database architecture and the technical background of database accesses, and master the tuning options for database accesses. 5 New Developments Learn from a comprehensive overview of the new developments in ABAP Release 7.0, EhP2, such as Transaction SAT, the innovations of the performance trace, and changes of internal tables.




SAP ABAP


Book Description

SAP ABAP (Advanced Business Application Programming) offers a detailed tutorial on the numerous features of the core programming platform, used for development for the entire SAP software suite. SAP ABAP uses hands on business oriented use cases and a valuable dedicated e-resource to demonstrate the underlying advanced concepts of the OO ABAP environment and the SAP UI. SAP ABAP covers the latest version (NetWeaver 7.3 and SAP application programming release 6.0) of the platform for demonstrating the customization and implementation phases of the SAP software implementation. Void of theoretical treatments and preoccupation with language syntax, SAP ABAP is a comprehensive, practical one stop solution,which demonstrates and conveys the language’s commands and features through hands on examples. The accompanying e-resource is a take off point to the book. SAP ABAP works in tandem with the accompanying e-resource to create an interactive learning environment where the book provides a brief description and an overview of a specified feature/command, showing and discussing the corresponding code. At the reader's option, the user can utilize the accompanying e-resource, where a step-by-step guide to creating and running the feature’s object is available. The presentation of the features is scenario oriented, i.e. most of the features are demonstrated in terms of small business scenarios. The e-resource contains the scenario descriptions, screen shots, detailed screen cams and ABAP program source to enable the reader to create all objects related to the scenario and run/execute them. The underlying concepts of a feature/command are conveyed through execution of these hands-on programs. Further exercises to be performed independently by the reader are also proposed. The demonstration/illustration objects including the programs rely on some of the SAP application tables being populated, for example an IDES system which is now a de facto system for all SAP training related activities.




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.