SAP-samples/recap2026-cap-level-data-federation
A reCAP 2026 workshop that federates flight master data from one CAP application into another via service-level replication and HANA synonyms, then imports a Business Data Cloud data product.
Two simplified CAP applications play provider and consumer: xflights exposes flight master data as an API package, and xtravels imports that package, builds consumption views on it and uses them in its own CDS model as if they were local entities. The exercises federate that data two ways, through service-level replication and through HANA synonyms, then reuse the synonym approach to import a Business Data Cloud data product's customer data into xtravels. It runs as a preparation step followed by four exercises, from creating the API package through consuming the external data product.
Facts
Where it sits
Who is behind it
In the atlas: maintains 222@SAP-samplesmaintainerSteffen WeinstockContributes to this
In the atlas: contributes to 14@stewsk1 contributor
What it declares
Every artifact
- Type
- Sample
- Origin
- By SAP
As a sample
- Form
- Workshop or CodeJam material
Connections
Reading data from another system as if it were local
Download
README
quoted from SAP-samples/recap2026-cap-level-data-federation under Apache-2.0, readCAP-level data federation
Created for a re>≡CAP 2026 hands-on workshop.
Prerequisites
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
Names
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
Overview
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.
Exercises
- 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
How to obtain support
Support for the content in this repository is available during the actual time of the workshop event for which this content has been designed.
License
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.
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
Contributors
History in the atlas
- First seen.
For your agent
- Ref
artifact:sap-samples-recap2026-cap-level-data-federation- JSON
- /artifacts/sap-samples-recap2026-cap-level-data-federation.json
- MCP
- Connecting an agent