Book Image

Mastering SAP ABAP

By : Paweł Grześkowiak, Wojciech Ciesielski, Wojciech Ćwik
Book Image

Mastering SAP ABAP

By: Paweł Grześkowiak, Wojciech Ciesielski, Wojciech Ćwik

Overview of this book

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).
Table of Contents (25 chapters)
Title Page
Copyright and Credits
Dedication
About Packt
Contributors
Preface
Index

Databases


In most cases, business processes in the SAP system are based on recorded data. For this purpose, a model based on relational data is used. A database table is, therefore, an object for storing data. It offers many possibilities to support the work of a programmer.

Creating a table is as simple as it is in the other objects of the dictionary. The user starts this process in the SE11 transaction—they select the Database table checkbox and enter a name (which must start with the character Z or Y), as shown in the following screenshot:

Then, they need to click on the Create button. The SAP system will take the user to a screen where they can choose some options. A short description should be entered as it is an obligatory field. The screen the user will see is as follows:

As we can see, there are two fields to fill in at this stage. The first one (Delivery Class) determines what kind of data will be stored. The following entries are available:

  • A: An application table (master and transaction...