Abap Restful Programming Model: The in Sap Cloud Platform Abap Environment and Sap S/4Hana
Abap Restful Programming Model: The in Sap Cloud Platform Abap Environment and Sap S/4Hana
PUBLIC
Disclaimer
The information in this presentation is confidential and proprietary to SAP and may not be disclosed without the permission of SAP.
Except for your obligation to protect confidential information, this presentation is not subject to your license agreement or any other service
or subscription agreement with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or any related
document, or to develop or release any functionality mentioned therein.
This presentation, or any related document and SAP's strategy and possible future developments, products and or platforms directions and
functionality are all subject to change and may be changed by SAP at any time for any reason without notice. The information in this
presentation is not a commitment, promise or legal obligation to deliver any material, code or functionality. This presentation is provided
without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a
particular purpose, or non-infringement. This presentation is for informational purposes and may not be incorporated into a contract. SAP
assumes no responsibility for errors or omissions in this presentation, except if such damages were caused by SAP’s intentional or gross
negligence.
All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from
expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates,
and they should not be relied upon in making purchasing decisions.
Overview
Business Objects
Business Services
Demo
Best practice freestyle Core Data CDS-based Core Data Behavior Definition
ABAP programming Services (CDS) BOPF Services & Implementation
TECHNOLOGIES
Extensions
Universally usable
programming model
TOOLS New developments
BEST PRACTISES
SAP S/4HANA®
Available on premise
and in the cloud SAP Cloud Platform,
ABAP environment
… for the efficient development of
ENTERPRISE GRADE APPLICATIONS
Powerful frameworks
Take over technical implementation tasks
Business logic added in code exits on protocol agnostic layers
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC * Not yet supported 8
Business Objects
What is a business object?
Behaviour
CRUD, Actions, Functions
Locks, eTag
Authorizations, Feature Control
Data Model Draft
R
2
COMPOSITION 1 3
TREE Runtime Implementation
(root, parent and child nodes)
INTERACTION PHASE
TX buffer
SAVE SEQUENCE
Read, modify,
Validate, ➔ Adapters needed to integrate the existing code
adjust, save,
lock
clean up
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC * Currently only available on SAP Cloud Platform ABAP Environment 11
ABAP RESTful Programming Model – Development flow
AUNIT
Scenario & integration test
AUNIT
Unit test
ADD IMPLEMENT
BEHAVIOR BEHAVIOR
Authority object CDS role
QUERY
DATA ACCESS CDS BASED CDS BEHAVIOR
CONTROL DATA MODEL DEFINITION ABAP CODE
AUTHORITY-CHECK
Lock object
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 12
Business Services
What is a business service
2
3
1 Tool support
UI: SAP Fiori Elements preview
4 Web API: Swagger UI preview
SERVICE
AUNIT DEFINITION
Scenario & 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
Lock object
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 15
Demo
Building a SAP Fiori elements UI service with the managed BO runtime implementation
Modern ABAP development in Eclipse
QUALITY ASSURANCE
SUPPORTABILITY
Debugging, profiling
Static and dynamic logging
Runtime monitoring and analysis
Goals
2020
SAP CLOUD PLATFORM
ABAP ENVIRONMENT
SAP S/4HANA
The ABAP RESTful Programming Model is available starting with SAP Cloud Platform
01 ABAP Environment 1808: Cloud-first delivery.
The feature scope of the ABAP RESTful Programming Model is enhanced on a quarterly
02 basis in SAP Cloud Platform ABAP Environment and on-premise on a yearly basis in
SAP S/4HANA.
The ABAP Programming Model for SAP Fiori WITH DRAFT SUPPORT is available as of
03 AS ABAP 7.51 and remains the current best practice for greenfield implementations in
SAP S/4HANA.
ABAP RESTful
Programming Model
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 21
Further information