This text covers the contemporary object-orientated generation of SAP's programming language ABAP. It can be used as a tutorial for beginners and a reference for the more experienced programmer.
Preface from SAP.
Preface from SHS Informationssysteme AG.
What is ABAP Objects?
How to Read This Book.
How to Use This Book in Practice.
2. A practical introduction.
First steps with the ABAP Workbench.
Getting started with the ABAP Workbench.
Working with the Object Navigator.
The first program.
General program structure.
Insert: a “Hello World!” program.
View of the first application program.
Creating a screen.
Dialog modules in the ABAP program.
Working with the ABAP Debugger.
Creating a GUI status.
The data interface between the program and screen.
A classical main program.
Creating a class.
Working with objects.
Working with global classes.
Final comments on the practical introduction.
3. Basics of ABAP programming.
The environment of an ABAP program.
The architecture of an SAP System.
ABAP programs in the client-server architecture.
The SAP Basis System.
The ABAP runtime environment.
ABAP programs in the runtime environment.
ABAP program structure.
Calling programs internally.
Ending ABAP programs.
Memory organization of ABAP programs.
4. Basic ABAP language elements.
Data types and data objects.
Introduction to the ABAP type concept.
The ABAP type hierarchy.
Built-in elementary data types.
Data types and data objects local to the program.
Data types in the ABAP Dictionary.
Flat and deep data types.
Generic data types for typings.
Data objects in detail.
Operations and expressions.
Processing character strings.
Operations with character strings.
Comparing character strings.
Field symbols and data references.
Defining internal tables.
Working with internal tables.
Internal tables with header rows.
Error handling in ABAP programs.
Statically identifiable errors.
5. The ABAP Programming Models.
The Classical (Procedural) Programming Model.
Excursion: Source Code Modularization.
Visibility and Lifetime of Data.
The Object-oriented Programming Model.
How do we Define Object-orientation?
Objects and Object References.
More on Defining and Calling Methods.
Summary and Outlook.
6. Advanced concepts of object-oriented programming with ABAP Objects.
Syntax for subclasses.
Visibility sections and namespaces in inheritance.
Abstract classes and methods.
Final classes and methods.
Static components in inheritance.
Constructors in inheritance.
Object references in inheritance.
Polymorphism through inheritance.
Definition of interfaces.
Implementing interfaces in classes.
Alias names for interface components.
Polymorphism through interfaces.
Interfaces and inheritance.
Defining and triggering events.
Global classes and interfaces.
Class pools and interface pools.
Creating global classes.
Testing global classes.
Using global classes.
7. Programming screens.
What are screens?
Calling screens and screen sequences.
User actions on screens.
Dialog module and data transport.
Field and input helps.
An example transaction.
What are selection screens?
Why selection screens?
Defining selection screens.
Calling selection screens.
Selection screen processing.
User actions on selection screens.
What are classical lists?
Classical lists prior to the advent of ABAP Objects.
Classical lists in ABAP Objects.
Creating classical lists.
Displaying classical lists.
User actions on classical lists.
Classical list processing and detail lists.
Example of classical list processing.
Sending lists to the SAP spool system.
Advanced screen techniques.
Context menus you program yourself.
8. Working with External Data.
Defining Database Tables in the ABAP Dictionary.
Editing Data with Open SQL.
Consistent Data Retention.
Special Sections on Database Access.
Files on the Application Server.
Files on the Presentation Server.
Storing Data as Clusters.
Data Clusters in the ABAP Memory.
Data Clusters in Database Tables.
Data Clusters in Cross-transaction Application Buffers.
Authorizations and Authorization Objects.
Evaluating Authorization Objects.
The Key Flight Data Model Tables.
ABAP System Fields.
Appendix B. Literature.
Appendix C. Installing the SAP Mini Basis System.
Installing the Application Server and the Database.
Installing the SAP GUI (Front End).
Starting the SAP System.
Configuring the SAPLogon and Calling the SAP GUI.
Logging on to the SAP System.
Generating Example Data.
Linking the Basis Documentation to the SAP Library.