Professional Documents
Culture Documents
ABAP Cloud & RAP Overview
ABAP Cloud & RAP Overview
PUBLIC
Agenda
INTRODUCTION
BIG PICTURE
BUSINESS OBJECTS
BUSINESS SERVICES
SUMMARY
Public 2
INTRODUCTION
Clean core with the ABAP cloud development model
… is the ABAP development model to build cloud-ready business apps, services and extensions
… comes with SAP Business Technology Platform (BTP) and SAP S/4HANA
… works with public or private cloud, and even on-premise
Public 4
The evolution to ABAP Cloud
TOOLS
DOMAIN-SPECIFIC
IMPLEMENTATION
DOMAIN-SPECIFIC LOGIC
ABAP, CDS
public interfaces
(CLOUD)
remote API
Public
* Classic ABAP can still be used 7
Evolution of the ABAP programming model
Best practice freestyle ABAP CDS, CDS-based BOPF, CDS, Behavior Definition &
programming, (Web) Dynpro, SEGW / @OData annotation Implementation, Business
CDS1 with Referenced Data Source Services
1 starting with release 7.4 SPS05
Public 8
ABAP RESTful Application Programming Model (RAP) at a glance
The centerpiece of ABAP Cloud for building transactional apps
TOOLS
Greenfield development
Public 9
The key players
Powerful frameworks
Take over technical implementation tasks
Business logic added in code exits on protocol-agnostic layers
Public 10
Efficient ABAP development in Eclipse©
HIGH DEVELOPER PRODUCTIVITY WITH THE
ABAP DEVELOPMENT TOOLS (ADT)
ON-PREMISE AND IN THE CLOUD
MODERN DEVELOPMENT TOOLSET
Fully eclipse-based
Syntax check, Code completion
Navigation, Search, Quick Fixes
Full support for the ABAP RESTful
Application Programming Model and CDS
QUALITY ASSURANCE
SUPPORTABILITY
Debugging, profiling, tracing
Static and dynamic logging
Runtime monitoring and analysis
Public 11
Next generation data modeling and access with ABAP CDS – Example
View annotations
Associations
Element annotations
Selection
Public 13
Entity Manipulation Language (EML) – At a glance
EXAMPLES
Public 15
BIG PICTURE
RAP – The big picture
WEB APIs EVENTS SAP FIORI UIs
Consume OData based services Consume business events Consume OData based UI
CONSUMPTION services
EXTENSIBILITY
BUSINESS ABAP: Behavior implementation 1
SERVICE
EXPOSURE
Behaviour
CRUD, Actions, Functions
Locks, eTag, Authorizations,
Feature Control, Draft
Data Model
R
2
COMPOSITION 1 3
TREE Runtime Implementation
(root, parent and child nodes)
INTERACTION PHASE
TX buffer
SAVE SEQUENCE
Public 20
BO runtime implementation types
INTERACTION SAVE
PHASE SEQUENCE UNMANAGED
For brownfield developments with available application code for
finalize interaction phase, transactional buffer, and save sequence
Developers in charge of BO runtime: CRUD operations
check_before_save
Adapters needed to integrate the existing code
MODIFY
adjust_numbers
READ
LOCK
save
MANAGED
For greenfield developments with standard implementation
(opt. unmanaged appl. components: DB tables, lock/PFCG object, update task FM)
Transactional
buffer Standard CRUD operations work out of the box
SAP HANA Developers add BO-specific business logic
BUSINESS OBJECT (BO) RUNTIME
Public 21
BUSINESS SERVICES
Business service
2
3
1 Tool support
Public 27
The development flow
DEFINE ROLES
Role
SERVICE
BINDING PREVIEW
BIND TO SCENARIO
AND PROTOCOL
SERVICE
AUNIT DEFINITION
Scenario and integration test
DEFINE SCOPE
ADD
BEHAVIOR
AUNIT
Unit test
DATA MODEL BEHAVIOR
PROJECTION PROJECTION
ADD IMPLEMENT
BEHAVIOR BEHAVIOR
Authority object CDS role
QUERY
DATA ACCESS CDS BASED CDS BEHAVIOR
CONTROL DATA MODEL DEFINITION ABAP CODE
AUTHORITY-CHECK
APPLICATION DATA
DATABASE TABLES Lock object
Public 28
SUMMARY
Key takeaways
What’s New: SAP BTP ABAP environment | SAP S/4HANA | SAP S/4HANA Cloud
Public 46
More information on RAP
Further information
Modern ABAP Development with the ABAP RESTful Application Programming Model (RAP) | SAP Community
Modernization with RAP | SAP Blogs
Building Apps with RAP | openSAP Course
Acquire Core ABAP Skills | SAP Learning Journey
What’s New in RAP: SAP BTP ABAP Environment | SAP S/4HANA | SAP S/4HANA Cloud
Outlook: SAP BTP ABAP Environment on the interactive SAP Road Map Explorer | ABAP Platform Roadmap Information
Public 51
Exercises
https://github.com/SAP-samples/abap-
exercises-codejam
Thank you.
Contact information:
Rich Heilman
Developer Advocacy
SAP
rich.Heilman@sap.com
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.