Home > Store

SAP.Keller:ABAP Objects_c

Register your product to gain access to bonus material or receive a coupon.

SAP.Keller:ABAP Objects_c


  • Your Price: $73.20
  • List Price: $91.50
  • We're temporarily out of stock, but order now and we'll send it to you later.


  • Copyright 2002
  • Dimensions: 7-3/8" x 9-1/4"
  • Edition: 1st
  • Book
  • ISBN-10: 0-201-75080-5
  • ISBN-13: 978-0-201-75080-5

  • No direct competition
  • Written in collaboration with and approved by SAP's own ABAP specialists
  • Tutorial for beginners and practical reference for the more experienced programmer

Sample Content

Table of Contents

Preface from SAP.

Preface from SHS Informationssysteme AG.


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.


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.


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.


Program execution.

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


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


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



Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020