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

Chapter 4. Import and Export to Document Formats

Each reasonable algorithm has some input data in addition to the specific processing steps. Input data is processed by a program to generate the expected output. It is no different in the case of algorithms written in the ABAP language. Our input will usually be some business data used in a client-specific process. In this chapter, we will go through some of the possibilities of reading and saving data from and to the application server. We will also go through the steps needed to read and write data from local PC. The chapter will show you typical problems for this type of task and how to deal with the multitude of file formats each developer must deal with on a daily basis. We will be covering the following topics:

  • Reading files from the local PC using gui_upload
  • Writing files to the local PC using gui_download
  • Basic transactions related to server-side files
  • Writing files to the application server
  • Reading files from the application server
  • Reading...