CAP_Small
CAP_Small
Public 3
Introduction to SAP Cloud Application
Programming Model
Introduction – Cloud Application Programming Model
Public 5
SAP Cloud Application Programming Model – One Level Deeper
We complement cloud-native technologies with…
SAP
App
Fiori
UIs?
+ other
Platform Services
• w/ intrinsic enterprise & cloud qualities
Web
localbased IDE
CDS
CDS
CDS Domain
Service
Logic?
SDKs
w/ 1st-class support by and for…
web
Domain
SAP HANA
Model?
+ other
• SAP Business Application Studio
• SAP Fiori
Infrastructure without lock-in!
• SAP HANA
• S/4 Extension scenarios, …
SAP BAS
Eclipse
VSCode CDS
CLI
→ Guidance and best practices leveraging proven
Node.js Service SAP technologies + Open Source software
express SDKs
HANA Fiori
Public 6
Context And CAP’s Focus
Consumers
Frontends / UIs
Services Services Services
Scaling
Provisioning
Profiling
Data
CI/CD
Identities
SAP HANA
Setup
Caching CI/CD
API Management
Public 7
CAP Focus Areas Breakdown
Consuming Services
Public 8
CAP: Key Value Propositions
✓ Guidance and Best Practices → opinionated and staying open and flexible
Public 9
Cookbook — Walking Through Your Tasks…
▪ Derive Data Models → Run ▪ Import ext. Service APIs ▪ To SAP BTP
▪ Deploy to DBs → Run ▪ Consume Services ▪ for own use
▪ Add Initial Data → Run ▪ Service-level Mashups ▪ as SaaS solution
▪ Add Custom Logic → Run ▪ Service-level Replication ▪ to K8S
▪ Reading / Writing Data ▪ Serve required Interfaces ▪ Serverless
▪ Add Authorization, I18n, …
Public 10
CAP: A Layered Model
SAP Fiori
Studio IDE
CI / CD
SAP Service SDKs, Events, FaaS
Cloud-Native Technologies
Public 11
Introduction to SAP Business
Application Studio
12
Introduction to SAP Business Application
Studio / Build Code
SAP Business Application Studio on BTP
General Availability on Azure, AWS, Google, and Ali-Cloud
Public 14
SAP Business Application Studio / Build Code
Value Proposition
SAP Business Application Studio is built on Open Source and leading industry standards
Public 15
The Big Picture
Browser
based
access Data Sources
SAP BTP
Dev-Space
SAP HANA Native Applications Internet / Cloud
Additional Extensions
Dev-Space
Workflow SAP Cloud Business Application
Dev-Space
Open VSX SAP Fiori On-Premise
Custom
Additional Extensions Development File System
Extensions (per scenario) environment
• SAPUI5
• Layout Editor
• LSP
• … and more
Source Control
SAP BTP, Cloud Foundry SAP BTP, ABAP SAP HANA Cloud
SAP S/4HANA Cloud On-premise ABAP
environment environment SAP HANA service
Public 16
SAP Business Application Studio Vs. SAP Web IDE
Available on SAP BTP, Cloud Foundry environment SAP BTP, Neo environment
Deployment target SAP BTP, Cloud Foundry environment, SAP BTP, Cloud Foundry environment,
on-premise ABAP on-premise ABAP,
SAP BTP, ABAP environment SAP BTP, Neo environment
Solution Instantly spin-up pre-packaged isolated Generic workspace that contains many tools.
environments/Dev-spaces (“virtual machine on the cloud”) Some tools are not necessarily required for the target business
with tools and runtimes, tailored per business scenario which scenario
provide more control over the environment and code
Configure and share Dev-spaces*
Experience Embraces VS Code experience, will provide the ability to add SAP proprietary experience
custom extensions* Browser based experience
Desktop like experience in the cloud including local test,
run & debug, terminal (CLI) access, and superior code editors
Support for various Better support for pro-code, cloud and full stack • Cloud and full stack developers – partial
personas developers with superior for Java and node. js coding • Web/mobile developers
Additional personas can be supported with a suited • Similar experience for all personas
experience per persona using dev-spaces concept.
Open Source & Based on open source & leading industry standards Uses open sources but majority is proprietary
standards Provides possibility to quickly integrate capabilities and SAP proprietary framework with limited number of extensions
technologies that exist in the market*
Public 17
Visual Studio Code and SAP Business Application Studio
Public 18
Hands-on Exercises
https://github.com/SAP-samples/cap-hana-
exercises-codejam
19
Hands-on Exercises
Where to Find More Information
https://github.com/SAP-samples/cap-hana-exercises-codejam
Exercise Instruction
https://pages.community.sap.com/topics/hana
HANA Topic Page
https://pages.community.sap.com/topics/business-application-studio
Business Application Studio Topic Page
https://pages.community.sap.com/topics/cloud-application-programming
SAP Cloud Application Programming Model Topic Page
https://cap.cloud.sap/docs/
SAP Cloud Application Programming Model Documentation
Public 21
Key Points to Take Home
• The value of the dev space in the SAP Business Application Studio
• How to use SAP Cloud Application Programming Model (CAP) Core Data
Services (CDS) to create simple database entities
Public 22
Thank you.
Contact information:
Thomas Jung
[email protected]
© 2022 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.