SAP
RAP
SAP RAP – RESTful ABAP Programming Model
End-to-End Application Development on SAP BTP
ABAP Environment
PRESENTED BY
PRADYUM JAISWAL
Table of Contents
1 RAP OVERVIEW
2 RAP ARCH ITECTURE
3 DEVELOPMEN T FLOW
4 WHAT WE CAN BUILD WITH RAP
5 FIORI & WEB AP P USAGE
6 INTEGRATION OPTIONS
7
11
About
RAP
RAP (RESTful ABAP Programming Model) is
SAP’s modern framework for building cloud-
ready, OData-based business applications using
ABAP.
RAP is SAP’s opinionated pattern for modeling business objects in ABAP and
exposing them as standardized OData services for modern UIs and integrations.
IT ENABLES:
Business object modeling
OData API exposure automatically
Ready-to-use Fiori UI generation
Clean-core, upgrade-safe development
Why should we use RAP?
SAP’S STRATEGIC
APPLICATION
FRAMEWORK
Supports:
S/4HANA Extensions
Side-by-Side apps on BTP
KEY BENEFITS
No SAP GUI dependency
OData APIs auto-created
Minimal UI coding via Fiori
Elements
Cloud & future-ready
Built-in validations, actions &
workflows
Use RAP because it creates upgrade-
safe, cloud-ready apps quickly while
providing built-in APIs and UI
generation.
RAP Architecture
RAP has 3 main layers:
CDS Layer
Data model
1 Associations
Annotations
Value Helps
Behavior Layer
CRUD operations
2 Actions
Determinations
Validations
Service Layer
OData Service definition
3 UI Exposure for Fiori
RAP Development Flow
Step-By-Step Process
PHASE 1 PHASE 3 PHASE 5
Create CDS Data Model Implement Business Logic in Publish Service Binding
Handler Class (OData)
PHASE 2 PHASE 4 PHASE 6
Define Behavior Definition Create Service Definition Generate Fiori App
(BDEF)
These steps convert a data model into a fully functional application and API
consumed by Fiori or other apps.
What Can You Do with
RAP?
RAP Supports:
full CRUD apps
Draft-enabled applications
Business rules & validations
Actions (e.g., Submit, Approve,
Reject)
Complex object handling (header –
item)
Side-effects (auto-update fields)
Mass Upload / Bulk Update
Value Helps (Search helps)
RAP supports almost every common SAP business
application scenario.
Fiori UI with RAP
RAP :
UI auto-generated from CDS
annotations
Zero or minimal UI coding
Responsive web UI
SAP Fiori standards
Fiori Page Types
List Report
Object Page
Analytical List Page
Fiori Elements reads CDS annotations to automatically
render enterprise-grade web UIs.
RAP Business Objects
RAP Supports:
Sales Orders
Purchase Requisitions
Material Master
Service Requests
Approval Forms
•
Business objects in RAP represent real-life business entities
that are processed via APIs and UIs.
RAP for Web & External
Apps
Exposes standard OData V4 APIs
Can be used by non-SAP apps
Works with SAP Build Apps
Supports mobile frameworks
Any application capable of calling REST APIs can consume
RAP services.
RAP Integration
RFC and BAPI calls from RAP
Consume SAP APIs
Connect external REST APIs
Workflow integration
Business events
RAP acts as both consumer and provider of enterprise
integrations.
RAP in External
Scenarios
Web dashboards using RAP data
Mobile approvals
Financial system integrations
Third-party data sync
RAP APIs enable SAP data usage outside traditional SAP UI
environments.
RAP Tools
Eclipse (ADT)
SAP BAS
Fiori Tools
Postman
SAP API Hub
These tools support the complete RAP development lifecycle.
Thank You