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

Other Format (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $15.35
Usually ships in 1-2 business days
(Save 83%)
Other sellers (Other Format)
  • All (17) from $15.35   
  • New (10) from $66.48   
  • Used (7) from $15.33   

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

Read More Show Less

Editorial Reviews

From The Critics
With a focus on ABAP Objects, this textbook introduces SAP programming, with attention to ABAP workbench, programming basics, the runtime environment, core language elements, classical and object- oriented models, OO programming, and database access. A glossary and a list of system fields are included. Two companion CDs contain a fully operational SAP Basis System and all the example programs used in the text. Keller is a programmer with SAP, and Krüger is a consultant. Annotation c. Book News, Inc., Portland, OR (booknews.com)
Read More Show Less

Product Details

  • ISBN-13: 9780201750805
  • Publisher: Addison-Wesley
  • Publication date: 6/28/2002
  • Series: SAP Press Series
  • Edition description: BK&CD-ROM
  • Edition number: 1
  • Pages: 576
  • Sales rank: 711,090
  • Product dimensions: 7.22 (w) x 9.53 (h) x 1.45 (d)

Meet the Author

Dr Horst Keller is a member of SAP's ABAP Language Group and one of the authors of the ABAP Objects official documentation.
Sascha Krüger is a certified SAP consultant and project leader with leading German IT and telecomms consultancy SHS Informationssysteme AG (www.shs.de).

Read More Show Less

Read an Excerpt

From SAP

ABAP, the programming language of SAP for business applications, is a language with a long-standing tradition. Having started off over 20 years ago as a reporting language in the mainframe world and having developed between 1985 and 1995 into a complete 4GL with SQL integration and language support for dialog and transaction programming, ABAP is now a modern object-oriented, statically typed yet flexible, portable and universally applicable programming language offering particular support for control- and web-based applications.

However, ABAP is more than just a language. It is embedded within a complete development environment with all the editors, tools and repositories needed for large and complex software development projects. A large number of services contained in SAP's application server middleware infrastructure can also be addressed readily and independently of a particular platform.

I am delighted that the two authors, Horst Keller and Sascha Krüger, have taken it upon themselves to portray the object-oriented basic structure of modern ABAP alongside the full scope of the programming concepts developed over time in ABAP. Within a single book they offer the reader the distinct advantage of being able to find descriptions of both the new concepts of object-oriented development with ABAP Objects and the older technologies of earlier releases — a knowledge of which remains essential due to the volume of ABAP code still in existence.

I hope that this book will bring all readers further joy and success in programming in ABAP.

Walldorf, August 2000

Andreas Blumenthal

Development Manager ABAP Language

SAP AG

From SHS Informationssysteme AG

Dear Reader

As a member of the board of SHS Informationssysteme AG it is a particular pleasure for me that our employee Sascha Krüger has found time in his busy schedule to publish the present book on ABAP Objects together with Dr Horst Keller. Practical and customer-driven implementation based on a thorough theoretical grounding in technological developments as well as dedication is the sole basis for any successful project.

In the past SAP has played a significant part in the development of standard ERP software and will, in particular through mySAP.com, continue to do so in the future. From the position of our company, SAP's development in CRM (Customer Relationship Management) with new technological and strategic market orientation is of particular interest in this respect. Following the ERP boom of the past two decades, these customer-oriented systems are now in widespread use throughout companies — above all in the telecommunications industry with its enormous growth in new customers.

Anyone wishing to be successful in this kind of market must come to terms with the SAP Basis technology in order to integrate CRM systems in their existing IT landscape. As many leading companies implement the SAP System, this requires innovative concepts. Not least through the use of EAI (Enterprise Application Integration) tools, object-orientation is being increasingly established as the standard in integration. With ABAP Objects, SAP is intensifying its support of object-oriented (outbound) development and thereby allowing the seamless integration of different object models such as DCOM and CORBA.

The present book by Dr Horst Keller and Sascha Krüger is an introduction to the new world of ABAP Objects and will give you an understanding of how to start with or change to a new programming model. Our wish for both authors is that this book will soon become the standard for the new type of object-oriented development under SAP and will become an indispensable resource in practical applications.

Munich, August 2000

Dr Stefan Möller

SHS Informationssysteme AG

Member of the Board

From the Authors

In recent years the ABAP programming language has undergone an enormous development, the latest stage of which has been the gradual introduction of ABAP Objects between Releases 4.0 and 4.6. Of the books concerned with ABAP currently available on the market, only a few really get to grips with the new language concept. Those that refer to ABAP Objects do so only in terms of a supplement to existing material. This situation therefore led us to write the present book on ABAP Objects. As, however, ABAP Objects cannot be considered in isolation from ABAP as a whole, it developed into a comprehensive description of the ABAP programming language based on the current Release 4.6.

If you compare the current scope of the language with that of Release 3.0, for which the last official ABAP book KRE96 was written, you will find many other new additions apart from the introduction of ABAP Objects. These include the integration of the ABAP type concept into the ABAP Dictionary, the introduction of new internal tables, the possibility of using GUI controls and not least the redesigned ABAP Workbench, to name but a few. All these new concepts have finally transformed ABAP from a language focused on generating lists and processing transactions to a universally applicable programming language. This development required us to present ABAP from a universal standpoint, with less emphasis on the earlier programming paradigms of reporting and dialog programming. In this context, it has been helpful that the book has been written jointly by an SAP employee and an external consultant. The insider view from a member of the ABAP Language Group, with precise ideas as to how ABAP should be used, has blended well with the view of an external user with a knowledge of ABAP gained from training seminars, previous publications and daily experience. We have used the synergy effect resulting from these different viewpoints to provide you with a thorough and yet practical guide to ABAP Objects.

Certainly, we could not have successfully concluded this project without the direct and indirect contribution of many people in drawing up and checking the manuscript. We are grateful to the following colleagues from the "ABAP and GUI" department of SAP who despite their many duties found time to proof-read the sections on their specialized subjects: Thomas Bareiß, Adrian Görler, Mathias Hanbuch, Rolf Hammer, Peter Januschke, Ulrich Koch, Andreas Neubacher, Helmut Prestel, Andreas Simon Schmitt, Werner Schuster, Christoph Stöck, and Ralf Wendelgass. In particular we thank Mrs Kerstin Gebhard from the ABAP Training Development department who read large parts of the manuscript and was always on hand to provide constructive criticism. We would like to thank the students Wolfgang Kiess and Torben Simon for creating the ABAP system field overview and proof-reading some of the chapters. Jürgen Heymann kindly provided us with the object-orientation literature references. We would also like to thank anyone else we have not mentioned but who has suggested improvements along the line.

We have Michael Demuth's initiative to thank for the fact that the accompanying CDs contain an SAP Basis system including the example programs from this book. Andrea Fritsch entered the examples into the system and created the template. Jürgen Krüger supported us with the downloadable files for the transport request for the example programs. For the program for generating training data we used an ABAP training template from Thilo Buchholz. Lastly, we would like to thank also Tomas Wehren and his team from Galileo Press, in particular Iris Warkus, for their cooperation.

For the English edition we would especially like to thank Gabriele Buchner, Michèle Coghlan, and Julie Plummer from Product Management (Development Platforms) for their indispensable commitment during our technical editing of the translated text.

Horst Keller would also like to thank the Development Manager of the ABAP Language Group, Andreas Blumenthal, for all his support with the project in providing all the necessary resources and many useful hints. Above all he is indebted to his wife Ute for her patience and encouragement over the many evenings and weekends he spent working on the book.

Sascha Krüger would like to thank Stefan Möller, board member of SHS Informationssysteme AG, and the manager of the Cologne office, Frank Pensel, for their support. He would also like to thank his SHS project team for their excellent cooperation which allowed him to spare the time for writing this book. Particular thanks go to his wife Katja who continued to support his authoring commitments throughout, despite the restrictions it placed on their private life.

Horst Keller

Walldorf, August 2000

Sascha Krüger

Cologne, August 2000

Read More Show Less

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

Read More Show Less

Preface

From SAP

ABAP, the programming language of SAP for business applications, is a language with a long-standing tradition. Having started off over 20 years ago as a reporting language in the mainframe world and having developed between 1985 and 1995 into a complete 4GL with SQL integration and language support for dialog and transaction programming, ABAP is now a modern object-oriented, statically typed yet flexible, portable and universally applicable programming language offering particular support for control- and web-based applications.

However, ABAP is more than just a language. It is embedded within a complete development environment with all the editors, tools and repositories needed for large and complex software development projects. A large number of services contained in SAP’s application server middleware infrastructure can also be addressed readily and independently of a particular platform.

I am delighted that the two authors, Horst Keller and Sascha Krüger, have taken it upon themselves to portray the object-oriented basic structure of modern ABAP alongside the full scope of the programming concepts developed over time in ABAP. Within a single book they offer the reader the distinct advantage of being able to find descriptions of both the new concepts of object-oriented development with ABAP Objects and the older technologies of earlier releases — a knowledge of which remains essential due to the volume of ABAP code still in existence.

I hope that this book will bring all readers further joy and success in programming in ABAP.

Walldorf, August 2000

Andreas Blumenthal

Development Manager ABAP Language

SAP AG

From SHS Informationssysteme AG

Dear Reader

As a member of the board of SHS Informationssysteme AG it is a particular pleasure for me that our employee Sascha Krüger has found time in his busy schedule to publish the present book on ABAP Objects together with Dr Horst Keller. Practical and customer-driven implementation based on a thorough theoretical grounding in technological developments as well as dedication is the sole basis for any successful project.

In the past SAP has played a significant part in the development of standard ERP software and will, in particular through mySAP.com, continue to do so in the future. From the position of our company, SAP’s development in CRM (Customer Relationship Management) with new technological and strategic market orientation is of particular interest in this respect. Following the ERP boom of the past two decades, these
customer-oriented systems are now in widespread use throughout companies — above all in the telecommunications industry with its enormous growth in new customers.

Anyone wishing to be successful in this kind of market must come to terms with the SAP Basis technology in order to integrate CRM systems in their existing IT landscape. As many leading companies implement the SAP System, this requires innovative concepts. Not least through the use of EAI (Enterprise Application Integration) tools, object-orientation is being increasingly established as the standard in integration. With ABAP Objects, SAP is intensifying its support of object-oriented (outbound) development and thereby allowing the seamless integration of different object models such as DCOM and CORBA.

The present book by Dr Horst Keller and Sascha Krüger is an introduction to the new world of ABAP Objects and will give you an understanding of how to start with or change to a new programming model. Our wish for both authors is that this book will soon become the standard for the new type of object-oriented development under SAP and will become an indispensable resource in practical applications.

Munich, August 2000

Dr Stefan Möller

SHS Informationssysteme AG

Member of the Board

From the Authors

In recent years the ABAP programming language has undergone an enormous development, the latest stage of which has been the gradual introduction of ABAP Objects between Releases 4.0 and 4.6. Of the books concerned with ABAP currently available on the market, only a few really get to grips with the new language concept. Those that refer to ABAP Objects do so only in terms of a supplement to existing material. This situation therefore led us to write the present book on ABAP Objects. As, however, ABAP Objects cannot be considered in isolation from ABAP as a whole, it developed into a comprehensive description of the ABAP programming language based on the current Release 4.6.

If you compare the current scope of the language with that of Release 3.0, for which the last official ABAP book KRE96 was written, you will find many other new additions apart from the introduction of ABAP Objects. These include the integration of the ABAP type concept into the ABAP Dictionary, the introduction of new internal tables, the possibility of using GUI controls and not least the redesigned ABAP Workbench, to name but a few. All these new concepts have finally transformed ABAP from a language focused on generating lists and processing transactions to a universally applicable programming language. This development required us to present ABAP from a universal standpoint, with less emphasis on the earlier programming paradigms of reporting and dialog programming. In this context, it has been helpful that the book has been written jointly by an SAP employee and an external consultant. The insider view from a member of the ABAP Language Group, with precise ideas as to how ABAP should be used, has blended well with the view of an external user with a knowledge of ABAP gained from training seminars, previous publications and daily experience. We have used the synergy effect resulting from these different viewpoints to provide you with a thorough and yet practical guide to ABAP Objects.

Certainly, we could not have successfully concluded this project without the direct and indirect contribution of many people in drawing up and checking the manuscript. We are grateful to the following colleagues from the "ABAP and GUI" department of SAP who despite their many duties found time to proof-read the sections on their specialized subjects: Thomas Bareiß, Adrian Görler, Mathias Hanbuch, Rolf Hammer, Peter Januschke, Ulrich Koch, Andreas Neubacher, Helmut Prestel, Andreas Simon Schmitt, Werner Schuster, Christoph Stöck, and Ralf Wendelgass. In particular we thank Mrs Kerstin Gebhard from the ABAP Training Development department who read large parts of the manuscript and was always on hand to provide constructive criticism. We would like to thank the students Wolfgang Kiess and Torben Simon for creating the ABAP system field overview and proof-reading some of the chapters. Jürgen Heymann kindly provided us with the object-orientation literature references. We would also like to thank anyone else we have not mentioned but who has suggested improvements along the line.

We have Michael Demuth’s initiative to thank for the fact that the accompanying CDs contain an SAP Basis system including the example programs from this book. Andrea Fritsch entered the examples into the system and created the template. Jürgen Krüger supported us with the downloadable files for the transport request for the example programs. For the program for generating training data we used an ABAP training template from Thilo Buchholz. Lastly, we would like to thank also Tomas Wehren and his team from Galileo Press, in particular Iris Warkus, for their cooperation.

For the English edition we would especially like to thank Gabriele Buchner, Michèle Coghlan, and Julie Plummer from Product Management (Development Platforms) for their indispensable commitment during our technical editing of the translated text.

Horst Keller would also like to thank the Development Manager of the ABAP Language Group, Andreas Blumenthal, for all his support with the project in providing all the necessary resources and many useful hints. Above all he is indebted to his wife Ute for her patience and encouragement over the many evenings and weekends he spent working on the book.

Sascha Krüger would like to thank Stefan Möller, board member of SHS Informationssysteme AG, and the manager of the Cologne office, Frank Pensel, for their support. He would also like to thank his SHS project team for their excellent cooperation which allowed him to spare the time for writing this book. Particular thanks go to his wife Katja who continued to support his authoring commitments throughout, despite the restrictions it placed on their private life.

Horst Keller

Walldorf, August 2000

Sascha Krüger

Cologne, August 2000

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)