Why CDS Is the Foundation of RAP and Modern SAP Development
Throughout this chapter, we explored why SAP introduced Core Data Services (CDS) and how CDS became the cornerstone of SAP's modern development architecture.
We started with the challenges of traditional ABAP development, where large volumes of data were transferred from the database to the application server for processing.
This approach became increasingly difficult to scale as enterprise systems grew and business requirements became more complex.
To address these challenges, SAP introduced the Code Pushdown paradigm, enabling calculations and data processing to execute directly inside the database.

The Technologies That Made CDS Possible
The transformation to modern SAP development was made possible by SAP HANA and its underlying innovations:
- In-Memory Computing
- Column Store Architecture
- Data Compression
- Parallel Processing
Together, these technologies created a platform capable of processing massive datasets in real time.
CDS emerged as SAP's strategic data modeling framework for leveraging this new architecture.
More Than Just a View Technology
One of the most common misconceptions among new developers is that CDS is simply a modern replacement for database views.
In reality, CDS is much more than that.
CDS combines:
- Data Modeling
- Business Semantics
- Relationships
- Metadata
- Security
- Service Consumption
within a single framework.
This allows developers to define business-oriented models that can be reused across multiple applications and technologies.
Business-Oriented Data Modeling
Instead of exposing raw database tables, CDS exposes meaningful business entities such as:
- Product
- Business Partner
- Sales Order
- Purchase Order
- Supplier
- Accounting Document
This business-oriented approach aligns perfectly with SAP's vision for modern application development.
CDS as the Foundation of SAP S/4HANA
Today, CDS sits at the center of SAP S/4HANA architecture.
Many core SAP technologies are built on top of CDS, including:
- SAP Fiori Elements
- Embedded Analytics
- OData Services
- Released APIs
- Virtual Data Model (VDM)
- RAP Business Objects
This means that understanding CDS is no longer optional for SAP developers.
Whether you are building reports, APIs, analytical applications, or transactional business applications, CDS will almost always be involved.
Why CDS Is Critical for RAP
The relationship between CDS and RAP is especially important.
Every RAP Business Object starts with a CDS data model.
CDS defines:
- Business Entities
- Associations
- Compositions
- Search Capabilities
- Metadata
- Authorization Behavior
RAP then builds upon this foundation by introducing:
- Create
- Update
- Delete
- Actions
- Determinations
- Validations
- Draft Handling
- Transaction Management
In simple terms:
CDS defines the business data model.
RAP defines the business behavior.
Without CDS, RAP cannot exist.
This is why SAP recommends mastering CDS before moving into advanced RAP topics.
CDS and ABAP Cloud
The importance of CDS becomes even greater in ABAP Cloud.
Modern SAP development is built around the principles of:
- Clean Core
- Released APIs
- Upgrade Stability
- Cloud Readiness
CDS plays a critical role in achieving these objectives.
Instead of directly accessing SAP tables, developers consume released CDS APIs and VDM entities that provide stable and supported access to business data.
This approach reduces upgrade risks and aligns custom development with SAP's long-term architecture strategy.
Evolution of SAP Development
| Era | Architecture | Development Focus |
|---|---|---|
| Traditional ABAP Era | Database Tables → ABAP Programs → User Interface | Table-Centric Development |
| SAP HANA Era | Database Tables → CDS Views → Applications | Data Modeling and Code Pushdown |
| RAP & ABAP Cloud Era | Database Tables → CDS View Entities → Business Objects → Services → Applications | Business Object-Centric Development |
Real Project Example: Building a Sales Order Application
Imagine building a Sales Order application today.
Twenty Years Ago
- Access database tables directly.
- Create custom joins.
- Build custom authorization checks.
- Develop custom UI screens.
- Implement business logic manually.
Modern SAP Development
- CDS models the Sales Order business object.
- RAP defines the transactional behavior.
- Service Definitions expose the application.
- Fiori Elements generates the user interface.
The developer focuses on business requirements rather than technical plumbing.
This dramatically improves productivity and maintainability.
Looking Ahead
Now that you understand the architecture, purpose, and strategic importance of CDS, the next step is learning how CDS models are actually built.
In the next chapter, we will compare:
- ABAP Dictionary Views
- Classic CDS Views
- CDS View Entities
and understand why CDS View Entities have become SAP's recommended approach for RAP and ABAP Cloud development.
This knowledge will form the foundation for everything that follows in the RAP learning journey.
What Comes Next?
You now understand why CDS is the foundation of modern SAP development.
In the next learning path, we will move from CDS fundamentals into practical CDS development using CDS View Entities.
You will learn how to create CDS entities, define keys, associations, compositions, annotations, calculated fields, and prepare CDS models for RAP Business Objects.
Architect Perspective
Architect InsightIf RAP is the engine of modern SAP application development, then CDS is the foundation on which that engine is built.
Developers who understand CDS can learn RAP.
Developers who master CDS can design enterprise-grade SAP solutions.
Interview Questions
Why is CDS important in SAP S/4HANA?
Answer: CDS provides semantic data modeling, code pushdown, reusable business entities, metadata annotations, security integration, and service exposure capabilities. It serves as the foundation of modern SAP application development.
What SAP technologies are built on top of CDS?
Answer: Several SAP technologies rely heavily on CDS, including RAP, Fiori Elements, OData Services, Embedded Analytics, SAP APIs, and many SAP S/4HANA applications.
Why does SAP consider CDS the foundation of RAP?
Answer: RAP Business Objects are built on CDS entities. CDS provides the business data model, relationships, metadata, search capabilities, security integration, and service exposure foundation upon which RAP implements transactional behavior, validations, determinations, actions, and lifecycle management.
💡 Key Takeaway
CDS is far more than a database view technology.
It is SAP's strategic data modeling framework and the foundation upon which RAP, Fiori Elements, Embedded Analytics, OData Services, APIs, and ABAP Cloud development are built.
Understanding CDS is the first major step toward mastering RAP, Clean Core development, and modern SAP architecture.