Goal: model ZI and ZC projections.
See explanation
CDS Interface & CDS Projection in RAP
CDS Interface View (ZI_*)
CDS Interface Views represent the core semantic model of the business object in RAP. Built on
persistence and draft tables, they define structure, associations, keys, and semantic aspects
(types, units, statuses).
ZI views are stable and UI-independent, designed to be reusable and extensible over time.
Key role
The CDS Interface is the source of business truth: it describes what the object is, without
focusing on how it is displayed.
CDS Projection View (ZC_*)
CDS Projection Views expose a controlled, UI-oriented view of the business object.
They allow you to:
- select only the fields required by the app,
- hide internal model complexity,
- adapt exposure to functional context.
UI annotations & metadata
UI annotations (lineItem, identification, selectionFields, etc.) live on projections to define
Fiori behavior, list/object pages, and guided data entry.
Metadata Extensions
Metadata Extensions separate the data model from UI annotations, improving readability and
maintenance and allowing UI adjustments without touching the core CDS model.
This is a key best practice for structured RAP projects.
Value Helps (VH)
Value Helps are usually implemented via:
- dedicated CDS (Projection or VH),
- linked to fields in the CDS Projection.
They help:
- secure user input,
- offer consistent values,
- standardize the Fiori experience.
In RAP, VH are native to the model, with no UI-specific logic.
Position in RAP architecture
- ZI: stable, reusable business definition
- ZC: controlled, UI-oriented exposure
This separation enables a clean, scalable architecture aligned with SAP best practices.