ABAP Objects: Introduction to Programming SAP Applications with CD-ROM / Edition 1

ABAP Objects: Introduction to Programming SAP Applications with CD-ROM / Edition 1

by Horst Keller, Sascha Kruger
     
 

ISBN-10: 0201750805

ISBN-13: 9780201750805

Pub. Date: 06/28/2002

Publisher: Addison-Wesley

ABAP (Advanced Business Application Programming) is a powerful programming language created specifically for developing SAP applications. ABAP Objects is the new object-oriented generation of this language, designed to respond to the needs of SAP's future strategies and environments.

Written by two leading experts and approved by SAP's ABAP

Overview

ABAP (Advanced Business Application Programming) is a powerful programming language created specifically for developing SAP applications. ABAP Objects is the new object-oriented generation of this language, designed to respond to the needs of SAP's future strategies and environments.

Written by two leading experts and approved by SAP's ABAP Language Group, ABAP Objects provides an in-depth and comprehensive introduction to SAP application programming for Release 4.6. The focus is on ABAP Objects, which is treated here not as an add-on, but as an integral part of the ABAP language. An indispensable guide for novice and experienced programmers alike, ABAP Objects includes coverage of these essential topics:

  • The new ABAP Workbench and the most important features of the ABAP language.
  • The fundamentals of ABAP programming, including the ABAP runtime environment.
  • The core ABAP language elements.
  • The two ABAP programming models - classical and object-oriented - and their relevant statements.
  • Advanced concepts of OO programming with ABAP Objects.
  • Programming the SAP user interface.
  • Database access with OpenSQL.
  • ABAP glossary and a complete list of system fields.

The book also includes two CDs carrying a fully operational SAP Basis System, and containing all the example programs from the book.

0201750805B04022002

Product Details

ISBN-13:
9780201750805
Publisher:
Addison-Wesley
Publication date:
06/28/2002
Series:
SAP Press Series
Edition description:
BK&CD-ROM
Pages:
576
Product dimensions:
7.40(w) x 9.40(h) x 1.50(d)

Table of Contents

Preface from SAP.

Preface from SHS Informationssysteme AG.

Foreword.

1. Introduction.

What is ABAP Objects?

Target Readership.

How to Read This Book.

How to Use This Book in Practice.

Syntax Conventions.

2. A practical introduction.

Introduction.

First steps with the ABAP Workbench.

Getting started with the ABAP Workbench.

Working with the Object Navigator.

The first program.

ABAP syntax.

General program structure.

Insert: a “Hello World!” program.

View of the first application program.

Copying programs.

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 steps.

Resources.

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.

Processing blocks.

Program types.

Screens.

Program execution.

Calling programs internally.

Ending ABAP programs.

Memory organization of ABAP programs.

4. Basic ABAP language elements.

Introduction.

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.

Assigning values.

Type conversions.

Numeric operations.

Logical expressions.

Control structures.

Conditional branches.

Loops.

Processing character strings.

Operations with character strings.

Comparing character strings.

Addressing subfields.

Field symbols and data references.

Field symbols.

Data references.

Internal tables.

Defining internal tables.

Working with internal tables.

Internal tables with header rows.

Extract datasets.

Error handling in ABAP programs.

Statically identifiable errors.

Runtime errors.

5. The ABAP Programming Models.

Introduction.

The Classical (Procedural) Programming Model.

Modularization.

Excursion: Source Code Modularization.

Visibility and Lifetime of Data.

The Object-oriented Programming Model.

How do we Define Object-orientation?

Classes.

Objects and Object References.

More on Defining and Calling Methods.

Summary and Outlook.

6. Advanced concepts of object-oriented programming with ABAP Objects.

Introduction.

Inheritance.

Basic principles.

Syntax for subclasses.

Visibility sections and namespaces in inheritance.

Method redefinition.

Abstract classes and methods.

Final classes and methods.

Static components in inheritance.

Constructors in inheritance.

Object references in inheritance.

Polymorphism through inheritance.

Interfaces.

Basic principles.

Definition of interfaces.

Implementing interfaces in classes.

Composing interfaces.

Alias names for interface components.

Interface references

Polymorphism through interfaces.

Interfaces and inheritance.

Events.

Defining and triggering events.

Handling events.

Global classes and interfaces.

Class pools and interface pools.

Creating global classes.

Testing global classes.

Using global classes.

7. Programming screens.

General screens.

What are screens?

Defining screens.

Calling screens and screen sequences.

User actions on screens.

Dialog module and data transport.

Input checks.

Field and input helps.

An example transaction.

Selection screens.

What are selection screens?

Why selection screens?

Defining selection screens.

Calling selection screens.

Selection screen processing.

User actions on selection screens.

Classical lists.

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.

Messages.

Creating messages.

Sending messages.

Message Processing.

Advanced screen techniques.

Context menus you program yourself.

Drop-down boxes.

Classical controls.

GUI controls.

8. Working with External Data.

Database Access.

Introduction.

Defining Database Tables in the ABAP Dictionary.

Editing Data with Open SQL.

Consistent Data Retention.

Special Sections on Database Access.

File Interfaces.

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.

Authority Checks.

Authorizations and Authorization Objects.

Evaluating Authorization Objects.

Appendix A.

The Key Flight Data Model Tables.

Glossary.

ABAP System Fields.

Appendix B. Literature.

Appendix C. Installing the SAP Mini Basis System.

System Requirements.

Preliminary Remark.

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.

License. 0201750805T04152002

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >