Created for a re>≡CAP 2026 hands-on workshop.
To follow the exercises, you need the following things to be installed on your computer:
- Node.js and cds-dk
- git (gh and github not needed)
- Cloud Foundry CLI
cf - (recommended) Visual Studio Code
In this document, we use the following abbreviations:
- CAP for SAP Cloud Application Programming Model
- HANA for SAP HANA Cloud, SAP HANA Database
- BTP for SAP Business Technology Platform
- BDC for SAP Business Data Cloud
In this session, you use CAP-Level Service Integration and CAP-level Data Federation to make flights masterdata of CAP application xflights ("provider app") available to another CAP application xtravels ("consumer app"). The apps are simplified versions of the public CAP sample applications xflights and xtravels.
In the provider, you define API services to expose the data and export them as API packages. In the consumer, you import the API packages, build consumption views on top and use them in the CDS model as if they were local entities. You federate data both via service-level replication and via HANA synonyms. Finally, you also import the API of a BDC Data Product to xtravels and use the synonym approach to access the its data.
- Preparation
- Exercise 1 - Create API package for xflights
- Exercise 2 - Service-level replication
- Exercise 3 - Synonym-based federation
- Exercise 4 - Consume Data Product "Customer" from S/4
Support for the content in this repository is available during the actual time of the workshop event for which this content has been designed.
Copyright 2026 SAP SE or an SAP affiliate company and recap2026-cap-level-data-federation contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.