Mastering SAP ABAP
- Length: 548 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2019-05-31
- ISBN-10: 1787288943
- ISBN-13: 9781787288942
- Sales Rank: #292686 (See Top 100 Books)
Take your SAP ABAP skills to the next level by mastering ABAP programming techniques with the help of real-world examples
Key Features
- Become adept at building interfaces and explore ABAP tools and techniques
- Discover the modern functionalities available in the latest version of ABAP
- Learn the process of creating stunning HTML5 applications using SAPUI5
Book 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 learn
- Create stable and error-free ABAP programs
- Leverage new ABAP concepts including object-oriented programming(OOP) and Model-View-Controller (MVC)
- Learn to add custom code to your existing SAP program
- Speed up your ABAP programs by spotting bottlenecks
- Understand techniques such as performance tuning and optimization
- Develop modern and beautiful user interfaces (UIs) in an ABAP environment
- Build multiple classes with any nesting level
Who 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.
Table of Contents
- Creating Custom Code
- The basic structures of ABAP
- Database access in ABAP
- Import and export to document formats
- Exposing data to print forms
- ABAP and XML
- Building user interfaces
- Creating stunning UI5 interfaces
- Business Object Processing Framework
- Modification and customization techniques
- Handling exceptions in ABAP
- Testing ABAP programs
- Advanced techniques in ABAP objects
- Integrating SAP with third party systems
- Background processing of ABAP programs
- Performance and optimization of ABAP code
Title Page Copyright and Credits Mastering SAP ABAP Dedication About Packt Why subscribe? Packt.com Contributors About the authors About the reviewer Packt is searching for authors like you Preface Who this book is for What this book covers To get the most out of this book Download the example code files Download the color images Code in action Conventions used Get in touch Reviews Creating Custom Code Technical requirements Making changes Design thinking BDUF/LDUF Designing for quality and use Designing the UI Designing services Designing the business logic Designing the database Agile principles DevOps Continuous delivery Summary Questions The Basic Structure of ABAP Technical requirements The Data Dictionary Domains Data elements Structures Search helps Table types Databases Data declaration Field symbol Summary Questions Database Access in ABAP Technical requirements Starting with OpenSQL Basics Possibilities with SELECT - the first part of the SQL statement Possibilities with INTO - the third part of the SQL statement The WHERE condition How to see data selected from a database More advanced possibilities in OpenSQL WHERE conditions Dynamic SELECT in WHERE SINGLE FOR UPDATE GROUP BY ORDER BY UP TO and ROWS SELECT and ENDSELECT FOR ALL ENTRIES Subqueries Reading data from several tables Identifying and saving the changes Creating datasets Updating datasets Deleting datasets The optimization of reading big datasets The new SQL syntax Inline declaration SQL expression Using the SQL Trace tool for performance analysis Summary Questions Import and Export to Document Formats Technical requirements Client-side file processing Reading files from the local PC using gui_upload Writing files to the local PC using gui_download Server-side file processing Basic transactions related to server-side files Writing files to the application server Reading files from the application server Working with Microsoft Office files Reading data from Microsoft Excel Saving a table to a Microsoft Excel file Working with Microsoft Word Using DOI to integrate Microsoft Office applications into ABAP reports Summary Questions Further reading Exposing Data to Print Forms Technical requirements Introduction to printouts in SAP SAPScript - the great-grandfather of all printouts Creating our first SmartForm Adobe Forms Creating our first Adobe Form Summary Questions Further reading ABAP and XML Technical requirements Using the CL_XML_DOCUMENT class for XML Reading and parsing XML files to ABAP Changing XML data Simple transformations in ABAP Serialization using ST Deserialization using ST sXML library for XML and JSON Converting XML to JSON Summary Questions Further reading Building User Interfaces Technical requirements Classic DynPro Screen painter Selection screens More advanced options of the selection screen Checkbox Radiobutton Blocks in selection screens Selection screen event model ALV Basics Advanced capabilities of ALV sand screens Zebra Coloring Event of an ALV, exemplified by a button click Icons in the ALV Text fields and translations Input/output field Radiobuttons and checkbox Button Dynamic display possibilities for individual elements and groups Summary Questions Creating Stunning UI5 Interfaces Technical requirements Development tools Layouts and floorplans SAP Fiori elements The analytical list page The list report The object page The overview page The worklist Layouts Floorplans The initial page floorplan The multi-instance floorplan The wizard floorplan Basic templates The SAPUI5 library Control documentation page and inheritance Contextual info Overview Constructor Properties Associations Aggregations Events Methods Inheritance Main controls Custom controls Creating our first mobile app Application and project structure index.html The standard variant The content delivery network The miscellaneous variants Component.js manifest.json Views and controllers MainView.view.xml SearchView.view.xml SearchView.controller.js i18n.properties Testing SAPUI5 apps Mock Server Unit tests Integration tests Summary Questions Further reading Business Object Processing Framework Technical requirements An introduction to BOPF Transaction Nodes and entities First BOPF example Creating the object Displaying an object Summary Questions Further reading Modification and Customization Techniques Technical requirements Legacy ways of changing the standard Customer Exits Using BTE to extend FI functionality Modifications FQEVENTS Appends Classical BAdl Enhancement framework and its components Enhancement sections and Enhancement points Implicit enhancements Summary Questions Further reading Handling Exceptions in ABAP Technical requirements Classic exception handling Handling Raising Class-based exceptions Handling Raising Assertions Building a checkpoint group Defining assertions Using assertions Runtime errors ABAP dump analysis tool Error log System environment User View ABAP developer View BASIS developer View Summary Questions Testing ABAP programs Technical requirements Testing the quality of code Static testing with Code Inspector and ABAP Test Cockpit Testing and troubleshooting ABAP Memory Inspector Advanced ABAP debugger techniques Testing with eCATT Summary Questions Further reading Advanced Techniques in ABAP Objects Technical requirements Global versus local classes Creating a local class Creating a global class The static method versus the instance method Nested classes A class as an attribute of the class Inheritance Interfaces The event concept ABAP Objects design patterns Prototype - creation pattern Singleton - creation pattern Facade - structural pattern Decorator - structural pattern Observer - behavioral pattern Strategy - behavioral pattern Summary Questions Integrating SAP with Third-Party Systems Technical requirements IDoc IDoc overview The construction of IDoc The EDI system ALE Differentiating ALE from EDI BAPI Implementing BAPI SAP Gateway Deployment variants Embedded Hub Hub (with development) Main tools Gateway Service Maintenance Gateway Client Error Log Gateway Service Builder The OData protocol Characteristics The service definition Developing our first OData application Design time Providing data Summary Questions The Background Processing of ABAP Programs Technical requirements Background processing in SAP Background remote function call Scheduling background jobs Creating a background job Recording batch input sessions Summary Questions Performance and Optimization of ABAP Code Technical requirements Ways of measuring ABAP programs performance ABAP runtime analysis ABAP trace analysis ABAP SAT transactions Best practice techniques Summary Questions Assessments Answers Chapter 1 - Creating Custom Code Chapter 2 - The Basic Structures of ABAP Chapter 3 - Database Access in ABAP Chapter 4 - Import and Export to Document Formats Chapter 5 - Exposing Data to Print Forms Chapter 6 - ABAP and XML Chapter 7 - Building User Interfaces Chapter 8 - Creating Stunning UI5 Interfaces Chapter 9 - Business Object Processing Framework Chapter 10 - Modification and Customization Techniques Chapter 11 - Handling Exceptions in ABAP Chapter 12 - Testing ABAP Programs Chapter 13 - Advanced Techniques in ABAP Objects Chapter 14 - Integrating SAP with Third-Party Systems Chapter 15 - Background Processing of ABAP Programs Chapter 16 - Performance and Optimization of ABAP Code Additional tutorials Creating a report from the template Uploading graphics to SE78 Another Book You May Enjoy Leave a review - let other readers know what you think
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Mastering SAP ABAP
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.