IT CanvassTalk to an advisor
SAP reference · LessonBy , SAP Solution Architect · Published · SAP S/4HANA 2023 · all levels

CDS views

CDS views are the modern SAP data models; this reference explains finding and understanding the many SAP-delivered (and custom) CDS views (the "I_", "C_", "P_" views).

Quick answer

The CDS virtual data model is the backbone of S/4HANA data access, analytics and Fiori.

Key takeaways
  • SAP delivers a large virtual data model of CDS views (interface views prefixed I_, consumption views C_, private P_, etc.
  • Use ADT (Eclipse) to browse and preview CDS views.
  • Check the view’s fields, associations and annotations.
  • Watch out: Guessing instead of using the reference tools.

What it is

SAP delivers a large virtual data model of CDS views (interface views prefixed I_, consumption views C_, private P_, etc.) that expose S/4HANA data for reuse, analytics and OData. Custom views (Z_/Y_) build on them. Each view has fields, associations and annotations.

How to find/use it

  • Use ADT (Eclipse) to browse and preview CDS views.
  • Check the view’s fields, associations and annotations.
  • Prefer released interface views (I_) as reuse sources.
  • Use the data preview to see the data a view returns.

Why it matters

The CDS virtual data model is the backbone of S/4HANA data access, analytics and Fiori. Knowing how to find and reuse released CDS views (rather than querying raw tables) is central to modern development and a growing reference need.

Common pitfalls

  • Guessing instead of using the reference tools.
  • Editing/using without understanding the object.
  • Relying on memory for details you can look up.

Practice challenge

+0 XPStreak ×0
Question 1 of 3
Which statement is true of CDS views?

Frequently asked questions

What does CDS views mean in the ABAP reference?
CDS views are the modern SAP data models; this reference explains finding and understanding the many SAP-delivered (and custom) CDS views (the "I_", "C_", "P_" views).
What is connected to CDS views in an SAP landscape?
SAP delivers a large virtual data model of CDS views (interface views prefixed I_, consumption views C_, private P_, etc.
What is another point to note about CDS views?
The CDS virtual data model is the backbone of S/4HANA data access, analytics and Fiori.
What tends to go wrong with CDS views in the ABAP reference?
Guessing instead of using the reference tools. Editing/using without understanding the object. Relying on memory for details you can look up.
Already working on SAP and stuck on a live ticket?Get an expert SAP developer on screen-share to finish your daily tasks with you. Deliver on time, protect your reputation and your job. Monthly support only, no task-wise plans.Task assigned · no idea where to startStill stuck · your job on the lineExpert joins your screenDelivered on timeExplore On Job Support