Home Data Warehousing Core Data Service (CDS) Views in SAP Business Warehouse

Core Data Service (CDS) Views in SAP Business Warehouse

Wiki What are CDS views

The wiki article provides an introduction to SAP Core Data Services (CDS) and their importance for data modeling in SAP S/4HANA. CDS views enable the definition and use of semantic, virtual data models (VDM) that are used for both business processes and analyses. By performing calculations in the database, these models reduce runtime and simplify application coding. The article explains the role of CDS views in SAP S/4HANA Embedded Analytics, as well as their use for data extraction in SAP BW/4HANA. In addition, it highlights the challenges of using non-released CDS views and provides tips for finding CDS views in SAP systems.

1. CDS-what?

When I first heard about CDS Views, I thought "hm, yet another three-digit abbreviation from SAP ...". I couldn't do much with the three words "Core Data Service" either; so I tried to understand what was behind it.

2. Virtual Data Model

An ABAP Core Data Service is an SAP-compliant infrastructure that can be used to define and consume semantic data models (here, data is given a business- or process-relevant meaning). This is also referred to as virtual data models (VDM).
VDMs are the basis of SAP S/4 HANA and are used by both business processes and analytics to provide data for various reporting front ends. CDS views perform intensive calculations on the database, which reduces execution time and simplifies application coding.
Especially in the area of SAP S/4HANA embedded analytics, virtual data models play a major role because they deliver business process information in real time and without data replication, without the user having to have detailed knowledge of the data structures.

3. Areas of Application for Core Data Service Views

Another area of application for CDS views is data extraction to SAP BW.
Thus, in BW/4HANA and S/4HANA, it is possible to replace the familiar LIS extractors, e.g. in SD Sales, Billing and Conditions, with CDS View extractors. This has a number of advantages: Anyone who knows the time-consuming filling of set-up tables for initializing the BW data layer (plus system block!) knows what I'm talking about - not to mention the time-consuming enrichment of the LIS extractors with new fields in an extraction process that is already running productively.

4. Released or not released? - that is the question!

SAP S/4HANA brings with it more than 42000 CDS views. However, 90% of these are not released by SAP for further use, i.e. these VDMs can change in the future - similar to unreleased function modules. Whether to use them or not must be weighed up in each individual case. Since CDS views are often nested and based on different views, the overall structure can go through several levels and become correspondingly complex.

5. How can an existing Core Data Service View be found?

There are several ways to find core data views. In SAP Fiori, for example, there is a tile that displays a list of views. If you want to find out which SAP tables end up in which CDS views, you can also use transaction code SE11 in S/4 and the where-used list.

6. Core Data Service View – Components

Here is a brief overview of the existing domain-specific languages and services to semantically define data models and consume data:

7. CDS-View types

Interface View (I_*)

Serves as a basis for consumption views

    • Master View (Master, Text, Hierarchy)
    • Transaction View
    • Data Source View

 

Consumption View (C_*)

This view can be used to provide data to applications, such as queries in Analysis for Office, Fiori tiles, SAP Analytics Cloud Models, and Stories. This type of views can propagate data in the following ways:

    • via ODATA service
    • via InA service

 

8. Consumption view as a source for SAP Analytics Cloud

A Consumption view, such as C_FinStmntComparison, which can be used to map a profit and loss statement and balance sheet structure, can also be used via a direct live connection S/4HANA to SAP Analytics Cloud (prerequisite is an OData service on the view) to create a model and story with it.
Big advantage here: Real-time data without replication or data loads directly in an appealing dashboard.
The term "view" should not mislead you into thinking that it is a combination of table and view. A consumption view is rather to be considered as a query or frontend object.

9. Transient Provider

A transient provider - sometimes also called transient query - is a construct that can result, for example, from two CDS views. The first CDS view [A] must be defined with the annotation "@Analytics.dataCategory: #CUBE". The second CDS view [B] selects the data from [A] and must contain the annotation "@Analytics.query: true". This transient provider can then be consumed in Analysis-for-Office.

This is only a small part of what is possible with CDS Views and should serve as a first introduction. The fields of application are very diverse and extend to SAP's latest platform technologies (SAP Business Process Technology).

Know more?

Would you like to delve deeper into this topic? We would be delighted to present all the advantages of CDS Views to you in person—and we would be happy to combine this with details on other SAP Datasphere functions. Just get in touch with us!

Christiane Maria Kallfass is a Recruiting and Marketing Specialist at s-peers AG
Christiane Grimm
Inside Sales

Published by:

Sven Knöpfler

Head of Technology

author

How did you like the article?

How helpful was this post?

Click on a star to rate!

Average rating 3.7 / 5.
Number of ratings: 22

No votes so far! Be the first person to rate this post!

INFORMATION

More information

IT Change Management

IT Change Management: Definition, Process, and Best Practices

Companies realize less than one-third of the expected benefits from digital transformations, not because the technology fails, but because...

What Is FP&A? Definition, Core Processes, and the Future of Corporate Management

Companies aren't managed by reports—they're managed by better decisions. FP&A, or Financial Planning & Analysis, is the strategic...

Mission Lakehouse – All Wikis at a Glance

Our Lakehouse mission is complete. In a series of 10...

How to Build a Code-Based AI Agent in SAP: A Step-by-Step Guide Using Python & AI Core

The wiki is intended for developers and technically savvy SAP consultants who are creating a code-based AI agent using Python for the first time,...

FinOps: The Art of Maximizing Cost-Value in the Cloud

How does this work in data sharing with SAP and Databricks? The strategic partnership between SAP and Databricks enables...
Mosaic AI

Databricks Mosaic AI: AI agents that truly master your SAP business logic

Data access does not equate to mastery of logic. An AI agent only “masters” SAP when it operates at the semantic level—working with key performance indicator definitions, organizational structures...
Your guide to successful SAC migration

SAC Migration by Q2 2026: The Guide to Transitioning to the Optimized Story Experience

The time for the conversion of SAP Analytics Cloud (SAC)...