Share E-Book

Object-Oriented Programming with ABAP® Objects (3rd updated and revised edition 2026) (Jeffrey Boggess, Colby Hemond, James Wood etc.)(Z-Library)

Author Jeffrey Boggess, Colby Hemond, James Wood, Joseph Rupert

Programming
Language English

ABAPers, get on the cutting edge of object-oriented programming for ABAP! Start by mastering the ABAP Objects syntax and then walk through object encapsulation, initialization, inheritance, and polymorphism. Dive into case studies that demonstrate object-oriented programming in real-world scenarios, from consuming services with SAP BTP ABAP environment to modeling behavior with the ABAP RESTful application programming model. Get expert tips, downloadable code examples, and best practices! In this book, you’ll learn about: a. Working with ABAP Objects Explore the benefits of object-oriented programming over classic procedural code. Get ABAP Class Builder and ABAP Development Tools up and running, and then learn the ABAP Objects syntax to build your first object-oriented program. b. Basic to Advanced Object-Oriented Programming Create flexible and reusable code with ABAP Objects. Combine data and behavior through encapsulation, initialize and clean up objects, implement inheritance and polymorphism techniques, and more. c. Modern Development Scenarios Apply your skills with real-world case studies! Work with SAP Business Technology Platform, the ABAP RESTful application programming model, and the Business Object Processing Framework to tackle today’s programming challenges. Highlights include: 1) Encapsulation 2) Instantiation 3) Inheritance 4) Polymorphism 5) Component-based design 6) Error handling 7) Unit testing 8) ABAP Class Builder 9) ABAP Development Tools 10) ABAP RESTful application programming model 11) SAP BTP, ABAP environment 12) Business Object Processing Framework (BOPF)

Format EPUB
Size 10.5 MB
171
Views
0
Downloads
0.00
Total Donations

AI Guide

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Full assistant
AI guide
# Object-Oriented Programming with ABAP® Objects (3rd Edition) ## 【One-Line Pitch】 A comprehensive, hands-on guide for ABAP developers who want to master object-oriented programming—from core syntax and design principles to modern SAP development scenarios like BTP and the ABAP RESTful application programming model. If you're ready to move beyond procedural ABAP and build cleaner, more maintainable code, this is your roadmap. --- ## 【Book Arc】 - **Opening (~0%–6%)**: Introduces the "why" of OOP—contrasting procedural languages like C and classic ABAP with object-oriented thinking. The authors frame OOP as a way to bridge the gap between problem domains and code, reducing "semantic dissonance" and making programs resemble the real-world entities they model. - **Early (~6%–16%)**: Lays the groundwork for object-oriented design with UML class diagrams. You'll learn how to visualize classes, attributes, operations, and associations—the blueprint language that carries through the rest of the book. - **Early (~16%–28%)**: Deepens UML notation: visibility modifiers, cardinality, composition vs. simple attributes, and notes. This section is about designing before coding—getting the model right so the implementation follows naturally. - **Early (~28%–38%)**: Shifts to tooling. Covers the ABAP Development Tools (ADT) in Eclipse—installation, project setup, and connecting to an AS ABAP backend. Explains the workspace model and how source code lives in the ABAP Repository, not locally. - **Middle (~38%–53%)**: Walks through the ADT Class Editor in detail: creating global classes, code completion, templates, mark occurrences, and refactoring with Quick Fix. This is the practical "how to work efficiently" section for daily development. - **Middle (~53%+)**: Begins the transition into core OOP implementation—comparing function groups with object-oriented approaches, setting up the pattern for encapsulation, instantiation, and the design patterns that follow. --- ## 【Key Takeaways】 - **OOP is about bridging problem and solution spaces** (Opening): The core motivation for objects is reducing the translation gap between real-world requirements and code. When your code models your problem domain directly, debugging and maintenance become dramatically easier. - **UML class diagrams are the design language** (Early): Before writing a single line of ABAP, you can model your system with classes, attributes, operations, and associations. The book emphasizes keeping diagrams readable—include only the key elements, not every detail. - **Visibility and cardinality matter in design** (Early): Understanding `+` (public), `-` (private), and `#` (protected) visibility, plus cardinality notation (0..1, 1, *, m..n), lets you specify precise contracts between classes before implementation. - **Use associations for composition** (Early): When reusing a class within another, prefer an association over a simple attribute—it makes the composition relationship explicit and easier to adjust as your model evolves. - **ADT gives you a modern Eclipse-based IDE** (Early): ABAP development tools run as Eclipse plug-ins, requiring AS ABAP kernel 7.20+ and Basis 7.31 SP04+. You can use it alongside the classic ABAP Workbench, toggling between both. - **Source code lives in the ABAP Repository** (Middle): Unlike Java projects with local files and Git, ADT projects store only project metadata locally—all source code stays on the backend. This is a key mental model shift for developers coming from other ecosystems. - **Templates and refactoring boost productivity** (Middle): ADT's code templates (triggered with Ctrl+Space) drop in familiar ABAP idioms, while Mark Occurrences + Quick Fix (Ctrl+1) enables safe, previewable refactoring like renaming variables across your codebase. --- ## 【Reading Tips】 - **Skim the UML chapters if you're already design-savvy**: Chapters 1's UML sections (~6%–28%) are essential for beginners but can be skimmed if you've done object-oriented design before. Focus on the ABAP-specific notation examples. - **Deep-read the ADT setup section (~28%–38%)**: If you're new to Eclipse, follow the installation and project creation steps carefully. The workspace model (source on backend, not local) is a common point of confusion. - **Try the templates and refactoring as you read**: The middle sections (~44%–53%) are hands-on. Open ADT and experiment with Ctrl+Space templates and Ctrl+1 Quick Fix as you read—these are muscle-memory skills. - **Watch for the function group comparison (~53%)**: This is where the book starts showing concrete OOP advantages over classic ABAP. Pay attention to how object state eliminates the need for manual variable tracking. - **Keep the downloadable code examples handy**: The book references code listings throughout—download them from the publisher's site to follow along, especially for the case studies later in the book. --- ## 【Coverage Limits】 The excerpts cover the book's opening through roughly the midpoint (~53%), focusing on OOP motivation, UML design, and ADT tooling. Later chapters on encapsulation, inheritance, polymorphism, error handling, unit testing, and the BTP/RAP/BOPF case studies are not covered in this guide. --- ##

Passage locations

Excerpt 1
ent 12) Business Object Processing Framework (BOPF) Cover Introduction to Object-Oriented Programming 1     Introduction to Object-Oriented Programming This...
View in text
Excerpt 2
require you to specify every element defined within a class. Instead, the goal is to include the key elements that are needed to convey the point of the clas...
View in text
Excerpt 3
pment tools, we’ll give you a brief introduction to Eclipse. Eclipse is a flexible, Java-based integrated development environment (IDE) initially developed b...
View in text
Excerpt 4
e Window • Preferences menu option as shown in Figure 2.44 . From there, select ABAP Development • Editors • Source Code Editors • Templates to access the te...
View in text

Recommended for You

Loading recommended books...
Failed to load, please try again later

Tip the Site

Scan the WeChat Pay or Alipay code to tip. No login required.

WeChat Pay
Alipay
Back to List