The ABAP RESTful application programming model (RAP) is the cornerstone of modern development for SAP—get on the cutting edge with this guide! Develop applications from the ground up, from data modeling with CDS to interface generation with SAP Fiori elements. Walk through concrete use cases, including managed and unmanaged scenarios, and then adapt your applications to the SAP BTP, ABAP environment. You’re on your way to working with RAP!
In this book, you’ll learn about:
a. The Programming Model
Master the building blocks of the model. Understand REST architecture, work with CDS view entities, implement behaviors, and more. Learn about new features such as the business object interface and extensibility.
b. End-to-End Application Development
Develop applications for SAP S/4HANA and SAP BTP, step by step. Start by building your data model, and then create behavior definitions, implement functions, define business services, and generate your user interface.
c. Practical Scenarios
Apply RAP to suit your development needs. Create an application in a custom managed scenario, and then see how to integrate standard SAP functions. If you want to reuse source code, learn to adapt legacy applications for RAP in an unmanaged scenario.
Highlights include:
1) Application development
2) Managed and unmanaged scenarios
3) Core data services (CDS)
4) Behavior definition
5) Entity manipulation language (EML)
6) Behavior implementation
7) Business services
8) Business object extensibility
9) SAP Fiori elements
10) SAP BTP, ABAP environment
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
AI guide
# ABAP® RESTful Application Programming Model — Reading Guide
## 【One-Line Pitch】
A comprehensive, hands-on guide for SAP developers who want to master the ABAP RESTful Application Programming Model (RAP)—from CDS data modeling and behavior definitions to managed/unmanaged scenarios and SAP BTP deployment. Essential reading for anyone building modern applications for SAP S/4HANA or the ABAP environment in the cloud.
## 【Book Arc】
- **Opening (~0%–9%)**: Introduces RAP as the cornerstone of modern SAP development, explains where the model runs (SAP BTP ABAP environment, SAP S/4HANA Cloud with "Embedded Steampunk," and on-premise ABAP Platform), and sets expectations for the three-part journey: programming model fundamentals, end-to-end development, and practical scenarios.
- **Early (~9%–28%)**: Dives into CDS (Core Data Services) as the data-modeling foundation—covering view extensions, extension include views, and metadata extensions. Shows how to extend standard SAP views like `I_Product` and how layer priorities (CUSTOMER > PARTNER > INDUSTRY > LOCALIZATION > CORE) control annotation overrides.
- **Early-to-Middle (~28%–44%)**: Explains behavior definitions—the heart of RAP business objects. Covers implementation types (managed vs. unmanaged), save options (unmanaged save, additional save, full data), and how the RAP framework handles transactional buffering and persistence.
- **Middle (~44%–53%)**: Details standard operations for CDS entities: CRUD operations (create, update, delete; read is implicit), create-by-association and read-by-association for composition trees, and the distinction between business-object-internal and external consumers.
- **Late (beyond excerpt coverage)**: The excerpts do not cover the later chapters in detail, but the book's stated structure includes end-to-end application development (building data models, behavior implementations, business services, and SAP Fiori elements UIs) and practical managed/unmanaged scenario walkthroughs, plus adaptation for SAP BTP.
## 【Key Takeaways】
- **RAP is the modern SAP development paradigm** (Early): It replaces the older ABAP programming model for SAP Fiori, though the legacy model remains supported. RAP is available across SAP BTP ABAP environment, SAP S/4HANA Cloud (including Embedded Steampunk), and on-premise ABAP Platform 1909+.
- **CDS view extensions let you enhance standard SAP views without modification** (Early): Using `extend view` with annotations like `@AbapCatalog.viewEnhancementCategory`, you can add fields to SAP-delivered views. The `#PROJECTION_LIST`, `#GROUP_BY`, and `#UNION` values control what enhancements are permitted.
- **Extension include views solve the view-stack problem** (Early): When extending a top-level view in a deep hierarchy, you'd otherwise need to extend every level bottom-up. Extension include views (e.g., `E_Product`) are associated into hierarchy levels without being exposed, so you extend just the include view and the top-level view.
- **Metadata extensions separate UI concerns from data definitions** (Early): By moving annotations (especially UI annotations) to separate metadata extensions with `@Metadata.layer`, you improve readability, maintainability, and transportability. Layer priorities determine which extension wins when annotations conflict.
- **Managed vs. unmanaged implementation types define who owns the save logic** (Early-to-Middle): In managed scenarios, RAP handles transactional buffering and database persistence via `persistent table`. With `managed with unmanaged save`, you implement the save sequence yourself (and cannot use `persistent table`). `with full data` supplies all field contents during save.
- **Save options can be combined and scoped** (Middle): You can declare save options at the behavior-definition head (applying to all CDS entities) or per entity. `with additional save` lets you add custom save logic (e.g., updating simple documents) while keeping managed behavior.
- **Standard operations are declared explicitly—except read** (Middle): `create`, `update`, and `delete` must be declared in the behavior definition; read is always implicitly available. Create is only allowed on root entities; child entities use create-by-association.
- **Composition trees are navigated via associations** (Middle): `composition of` and `association to parent` define the business object structure. Create-by-association and read-by-association operations let consumers work with child entities from their parent context.
## 【Reading Tips】
- **Skim Chapter 1** (the platform overview) if you already know where RAP runs; come back to it only when you need release-specific details or the "Embedded Steampunk" distinction.
- **Deep-read the CDS extension chapters** (Early section): The distinction between regular view extensions and extension include views is subtle but critical for real projects. Work through the `I_Product`/`E_Product` examples in ADT to internalize the pattern.
- **Pay special attention to save options** (Middle section): The combinations (managed + unmanaged save, + additional save, + full data) are easy to confuse. Create a small test project and experiment with each combination to see the behavior.
- **Use the code listings as templates**: The book provides complete ADT-ready source code (e.g., CDS view extensions, metadata extensions, behavior definitions). Copy these into your own system and modify them rather than reading passively.
- **Skip ahead if you're only doing managed scenarios**: The unmanaged save details matter mainly for legacy integration; if you're building greenfield on SAP BTP, focus on the managed path first.
## 【Coverage Limits】
This guide covers the book's first half (approximately 0–53%): platform overview, CDS data modeling and extensibility, behavior definitions, implementation types, save options, and standard operations. The later chapters on end-to-end application development, SAP Fiori elements UI generation, and full managed/unmanaged scenario walkthroughs are not covered in the available excerpts.
##
Excerpt 1
duction to the ABAP RESTful Application Programming Model 1.6 Availability of the ABAP RESTful Application Programming Model In this section, you’ll learn...
o top by the additional element, requiring increased effort. It can also result in stability issues, as it’s entirely possible that SAP will replace the CDS...
ovider, the draft handling provider, or both in combination. Unmanaged The RAP business object itself provides the implementation via the behavior pool (unma...
fields that must be populated during the creation operation. Numbering to uniquely identify the created instances across a RAP transaction plays an essential...
ming an event , you must declare this event with parameters. To type the parameters, you can use an abstract CDS entity. [»] Note: Compatible Adjustment of...
e methods of the two steps before the point of no return (i.e., in the FINALIZE and CHECK_BEFORE_SAVE methods). If an error occurs within these methods, this...
filled in the same way for the extension of these CDS views. The entire CDS data model of the business object can therefore be extended. Adding an Additional...
on according to SAP) before we then implement the extension. Checking the Extensibility of the Behavior The extension of the standard behavior of the busines...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Add Tag
Enter tag name (max 50 characters)
Share E-Book
ABAP® RESTful Application Programming Model (Lutz Baumbusch, Matthias Jäger etc.)(Z-Library)
Scan QR code with your phone to access
Copy the link or scan the QR code to access this e-book on your phone
Share to WeChat Moments
ABAP® RESTful Application Programming Model (Lutz Baumbusch, Matthias Jäger etc.)(Z-Library)
Scan the QR code with WeChat to open this book
Tap the ··· menu in the top-right corner
Choose Share to Moments
You are already in WeChat. Tap ··· in the top-right corner and choose Share to Moments.
Share E-Book via Email
Please enter email address
Donation Statistics
¥.00
Total Donations
0
Donation Count
ABAP® RESTful Application Programming Model (Lutz Baumbusch, Matthias Jäger etc.)(Z-Library)
Find Your Favorite Books
Only registered users can comment after logging in. Comments need to be reviewed by administrators before being displayed
这本书围绕 ABAP RESTful 应用编程模型(RAP)展开,把它定位为 SAP 现代开发方式的基石,面向希望掌握这一框架的开发者。全书从零开始搭建应用,起点是使用 CDS 进行数据建模,终点是借助 SAP Fiori elements 生成界面,覆盖了从数据层到用户界面的完整开发链路。作者通过具体用例来讲解,其中包括 managed 与 unmanaged 两类场景,并进一步说明如何把应用适配到 SAP BTP 的 ABAP 环境中。
读者可以抓住的线索大致有几条。其一是数据建模与 CDS 视图的组织方式,书中提到层级结构中的 CDS 视图可能被 SAP 替换为名称不同的视图,这会带来额外的调整工作,甚至影响稳定性,说明模型设计需要为后续变化留出余地。其二是行为定义与业务对象的扩展,摘录涉及在行为定义中指定 additions 与 cleanup 或 full data 的规则,以及在标准行为上追加校验等扩展时,先检查可扩展性的做法。其三是事件机制,定义事件时必须声明参数,参数类型可以借助抽象 CDS 实体来指定,并且事件参数的设计要考虑兼容性调整。其四是界面与应用的落地,书中以预订文档数据模型和对应 App ID ...
Digital LibraryAI Assistant
Hi — I can help you pick a book. Tell me a topic, language, or level, e.g. “a light English read”. If that's too broad, I'll ask one follow-up.
Loading comments...
Reply to Comment
Edit Comment