Learning Sources
This Documentation
This documentation — named 'capire', italian for understand — is the primary source of information for the SAP Cloud Application Programming Model.
It's organized as follows:
Section | Description |
---|---|
Getting Started Cookbook Advanced | Task-oriented guides that walk you through the most common tasks and advanced topics in CAP-based development. |
CDS Java Node Tools | Reference docs for respective areas. |
Plugins | Curated list of plugins that extend the capabilities of the CAP framework. |
Releases | The place where you can stay up to date with the most recent information about new features and changes in CAP. |
Node/Java Toggles
Feature Status Badges
Within the docs, you find badges that indicate the status of a feature, or API. Here's a list of the badges and their meanings:
Badge | Description |
---|---|
since @sap/... 1.2.3 | The marked feature is available with the given version or higher |
alpha | Alpha features are experimental. They may never be generally available. If released subsequently, the APIs and behavior might change |
beta | Beta features are planned to be generally available in subsequent releases, however, APIs and their behavior are not final and may change in the general release |
concept | Concept features are ideas for potential future enhancements and an opportunity for you to give feedback. This is not a commitment to implement the feature though |
SAP internal | SAP specific features, processes, or infrastructure. Examples are Deploy with Confidence, SAP product standards, or xMake |
CAP Notebooks Integration
Sample Projects
In here, we collected several interesting sample projects for you. Not all of them are maintained by the CAP team, not all of them cover CAP in its entirety, but they are well-prepared sources we can recommend for your learning. From the short description we provide for every resource, you're hopefully able to tell if that fits to the need you're currently having.
Bookshop by capire
The bookshop sample is our original sample provided by the CAP team and featured in the getting started guides. It's available in both Node.js and Java. The Node.js variant contains additional samples besides bookshop that demonstrate various features of CAP.
Incidents Mgmt
A reference sample application for CAP and the SAP BTP Developer Guide.
CAP SFlight
This sample is a CAP adaptation of the popular SFLIGHT sample app in ABAP. It's a great source for how to add SAP Fiori applications to a CAP project, including adding UI test suites on various stacks.
Star Wars App
SWAPI - the Star Wars API. This sample is based upon the sample at swapi.dev which in turn was based upon swapi.co. The original source can be found at https://github.com/Juriy/swapi.
The projects described previously have fallen out of maintenance but still offered the opportunity for a fun yet challenging learning experience from a non-trivial data model. The many bi-directional, many-to-many relationships with the data provide a good basis for an SAP Cloud Application Programming Model and Fiori Draft UI sample.
BTP SusaaS App
The Sustainable SaaS (SusaaS) sample application has been built in a partner collaboration to help interested developers, partners, and customers in developing multitenant Software as a Service applications using CAP and deploying them to the SAP Business Technology Platform (SAP BTP).
Partner Reference App
The Partner Reference Application repository provides you with a “golden path” to becoming a SaaS provider of multitenant applications based on the SAP Business Technology Platform (SAP BTP). The guidance covers building, running, and integrating scalable full-stack cloud applications. It includes an ERP-agnostic design that lets you deliver your application as a side-by-side extension to consumers using any SAP solution, such as SAP S/4HANA Cloud, SAP Business One, and SAP Business ByDesign.
By using BTP services and the SAP Cloud Application Programming Model (CAP), your application meets SAP standards for enterprise-class business solutions. It offers a harmonized user experience and seamless integration, including:
- centralized identity and access management,
- a common launchpad,
- cross-application front-end navigation,
- and secure back-channel integration.
The repository includes the “Poetry Slam Manager” application as a ready-to-run example. It also provides tutorials on how to build the application from scratch using an incremental development approach. Based on this sample application, you find the bill of materials and a sizing example. This addresses the question "Which BTP resources do I need to subscribe to and in what quantities?" and serves as a basis for cost calculation.
Open Source Projects
- Plugins by SAP + CAP Teams
- Plugins by Community
- ...
Learning Journeys
- Getting started with SAP Cloud Application Programming Model (Beginner)
- Building side-by-side extensions on SAP BTP (Intermediate)
SAP Discovery Center Missions
- Develop a Full-Stack CAP Application Following the SAP BTP Developer's Guide
- Develop a Side-by-Side CAP-Based Extension Application Following the SAP BTP Developer's Guide
- Implement Observability in a Full-Stack CAP Application Following SAP BTP Developer's Guide
Tutorials
- TechEd 2023 Hands-On Session AD264 – Build Extensions with CAP
- Build a Business Application Using CAP for Node.js
- Build a Business Application Using CAP for Java
- CAP Service Integration CodeJam by DJ Adams
Videos
- Back to basics: CAP Node.js
by DJ Adams - Hybrid Testing and Alternative DBs
by Thomas Jung - Consume External Services
by Thomas Jung - Building a CAP app in 60 min
by Martin Stenzig - Integrating an external API into a CAP service
by DJ Adams
Blogs
- Surviving and Thriving with the SAP Cloud Application Programming Model
by Max Streifeneder (2023) - Multitenant SaaS applications on SAP BTP using CAP? Tried-and-True!
by Martin Frick (2022)