Analytics Legends The knowledge platform for SAP Analytics
Concept card

CDS Views

CDS Views — Analytics Legends section illustration for the SAP Analytics knowledge base (concepts, studies, Academy)

As of 2026-07-24T14:00:00Z

What is CDS Views?

CDS views are the bridge layer between S/4HANA business logic and every analytics consumer — three view types (basic, composite, consumption) draw the line between 'S/4 application' and 'analytics platform'.

What it is

Core Data Services, shortened to CDS, is SAP's declarative modelling layer for defining semantically rich views directly on the HANA database inside S/4HANA. Instead of writing procedural ABAP loops or hand-tuned SQL, a developer writes a compact DDL statement that describes what a view should expose — fields, associations, currency and quantity semantics, authorisation rules — and HANA compiles that declaration into an optimised database view. For anyone doing SAP analytics work, CDS is not an optional skill to pick up later; it is the connective tissue between S/4HANA's transactional world and every downstream consumer, from Datasphere and SAC to Joule and third-party BI tools. Most extraction logic a consultant touches on a modern S/4 engagement is written, or should be written, as a CDS view.

Why it matters

  • Consumption CDS views carry the @Analytics and @VDM annotations that Datasphere reads to auto-build compatible Analytic Models — get the annotations wrong and the model build breaks.
  • Composite views are where business semantics (currency conversion, time filters) actually live — misplacing that logic at the wrong layer creates rework later.
  • CDS view authoring is daily-bread skill: it's where most extraction logic and most consumption-layer definitions live in a real S/4 estate.

Key points

  • Three view types: basic (over tables) · composite (with business logic) · consumption (analytics-exposed).
  • Annotation system is the differentiator: @Semantics, @Analytics, @VDM, @AccessControl, @ObjectModel.
  • ODP-CDS protocol bridges S/4 → Datasphere with metadata + extraction (50-100k rows/sec).
  • Five canonical patterns: extract · currency convert · hierarchy · auth push-down · embedded analytics.
  • CDS for 'what an S/4 record means'; Datasphere SQL for 'how sources combine for analytics'.
  • Authorisation push-down via @AccessControl; or Datasphere DAC at catalog — pick one, don't stack.
  • Three-layer pattern (basic → composite → consumption); avoid 3+ deep nesting.
  • S/4 release-management dependency: CDS changes follow S/4 transports (2-4 week cycle).
  • CDS Views is mastered only when it changes a named buyer decision.
  • Start with the semantic contract and control model before demonstrating the tool.

Terms used on this page

CDS (Core Data Services)
SAP's declarative DDL framework — typed views with associations, annotations, authorisations, exposure. Sits on HANA SQL.
Annotation
Inline metadata declaration decorating fields/views with semantics (@Semantics, @Analytics, @VDM, @AccessControl, @ObjectModel).
ODP-CDS
Extraction protocol bridging S/4 (CDS views) to Datasphere. Reads CDS annotations + creates compatible Analytic Models.
VDM (Virtual Data Model)
SAP's hierarchical CDS view organisation — basic → composite → consumption. Each layer has annotation-defined role.
@Analytics dataCategory
Annotation marking a CDS view's analytics role (#FACT, #DIMENSION, #AGGREGATIONLEVEL). Drives Datasphere AM auto-creation.
CURRENCY_CONVERSION
Standard CDS function using TCURR/TCURX delivered tables for S/4-native currency conversion. Used inline in CDS view.
@AccessControl
Annotation enabling S/4-side authorisation push-down. Calling user must have S/4 role; reaches Datasphere consumers via identity propagation.
Embedded analytics
Pattern of exposing CDS views directly to SAC via OData, bypassing Datasphere. For simple operational reporting only.

Sources

  1. SAP CDS — official reference
  2. TechEd 2025 — recorded sessions
  3. SAP Note — CDS performance tuning
  4. Joule-assisted CDS drafting (preview)
  5. SAP News Center — Accelerate the Autonomous Enterprise with SAP Business Data Cloud
  6. SAP News Center — SAP Unveils the Autonomous Enterprise
  7. SAP News Center — The Future of the Enterprise Is Autonomous
  8. SAP News Center — 2026 SAP Sapphire Keynote: Powering the Autonomous Enterprise
  9. SAP Datasphere — Help Portal
  10. SAP Datasphere — official product page
  11. SAP Analytics Cloud — Help Portal
  12. SAP Analytics Cloud — official product page
  13. SAP BW/4HANA — Help Portal
  14. SAP S/4HANA — Help Portal
  15. SAP News Center
  16. SAP Community
  17. SAP — industries overview
  18. Gartner — research & analyst site
  19. BARC — BI & Analytics research
  20. TDWI — data & analytics research
  21. DSAG — German-speaking SAP user group
  22. ASUG — Americas' SAP User Group
  23. Databricks — official site
  24. EU AI Act Art. 9 risk management requirements
  25. SAC Performance optimisation guide
  26. Beyond SAP BW: How SAP HANA Native SQL and Google Cloud Are Redefining Enterprise Analytics — SAP Community (Technology Blog Posts by Members)
  27. Building an Inventory System with RAP on BTP Trial — CDS Views Explained — SAP Community (Technology Blog Posts by Members)
  28. Building a Sales Order Backlog Report Using Custom CDS Views (Sales + Billing) — SAP Community (Enterprise Resource Planning Blog Posts by Members)
  29. Displaying CDS Views in ALV using SALV IDA — SAP Community (Technology Blog Posts by SAP)
  30. Improving SAP HANA DB Performance: Two Common CDS View Pitfalls and How to Fix Them — SAP Community (ABAP Blog Posts)
  31. Conversational Analytics on SAP S/4HANA CDS View Data with AI Claude Code and SAP BusinessObjects — SAP Community (Artificial Intelligence Blogs Posts)
  32. Fullstack CAP Application with HANA Cloud (Decoupled Architecture) [Part-2] — SAP Community (Technology Blog Posts by Members)
  33. S/4HANA CDS View Dependency Navigator — SAP Community (Enterprise Resource Planning Blog Posts by Members)
  34. Sales Configuration display by CDS with table function/HANA SQL for Embedded Analytics and Fiori RAP — SAP Community (Technology Blog Posts by Members)
  35. CDS View Linkage between Outbound Delivery, ODO, Warehouse Order & Warehouse Task — SAP Community (Enterprise Resource Planning Blog Posts by SAP)
  36. Dump When Checking Faulty RAP Object Based On Union CDS-View (OnPremise 2023 SP01) — SAP Community (ABAP Blog Posts)
  37. SAP Sales & Service Cloud V2 + ESM - Track your API Consumption via Embedded Analytics table — SAP Community (CRM and CX Blog Posts by SAP)
  38. How to create a RAP application using a parameterized CDS view — SAP Community (ABAP Blog Posts)
  39. Enhancing Standard CDS Views in FIORI My Inbox — SAP Community (Technology Blog Posts by Members)
  40. HOW TO FETCH DATA FOR THE LATEST RECORD FROM SAP TABLE USING CDS VIEW — SAP Community (ABAP Blog Posts)
  41. Why SELECT returns different rows when querying a CDS View on MSEG versus MSEG directly — SAP Community (ABAP Blog Posts)
  42. What is SAP S/4HANA Embedded Analytics and How Can I Develop My Skills? — SAP Community (Data and Analytics Learning Group Blog posts)
  43. Calculating IBP Technical Week “Key Figure Date” in S/4HANA Using CDS View — SAP Community (ABAP Blog Posts)
  44. Custom CDS Views – What’s New up to 2602 — SAP Community (Enterprise Resource Planning Blog Posts by SAP)
  45. Consuming Data Products in SAP HANA Cloud via SAP Business Application Studio/SAP Build Code — SAP Community (Technology Blog Posts by SAP)
  46. Resources for Learning and Enablement: SAP Incentive Management and Embedded Analytics — SAP Community (Customer Experience Learning Group Blog Posts)
  47. A Handy Custom Report to Scan SAP CDS Views for Usage of Search Strings — SAP Community (ABAP Blog Posts)
  48. Detecting CDS View 2nd Level Dependencies on Custom Fields in SAP Transport Cross Reference Check — SAP Community (Technology Blog Posts by Members)
  49. Building a GL Account Hierarchy for SAC Planning with CDS Views – Part 3: Description for Hierarchy — SAP Community (Technology Blog Posts by Members)
  50. Authorization setup for SAC Import Model from S4 ABAP CDS Views — SAP Community (Tooling (+ SAP Build) Blog Posts)

Full card available to members. What the full card adds: the full decision framework · the SAP vs Snowflake / Databricks / Fabric comparison · the common pitfalls and their fix · the cheat sheet · the architecture schemas · the code blocks · the facts worth quoting.

Open in the app →