
The data model projection consists of one CDS projection view for each data definition view of the data model.
Projection views provide means within the service to define service-specific projections including denormalization of the underlying data model. Fine-tuning, which does not belong to the general data model layer, is defined in projection views, for example, UI annotations, value helps, calculations, or defaulting.
For the CDS view projection, a subset of the CDS elements is projected in the projection view. These elements can be aliased, whereas the mapping is done automatically. That means that the elements can be renamed to match the business service context of the respective projection. You cannot add new persistent data elements in the projection views. Only the elements that are defined in the underlying data model can be reused in the projection. However, you can add virtual elements to projection views. These elements must be calculated by ABAP logic.

To create the data definition for a CDS projection view, we recommend using the context menu on the name of the data definition view. By doing so, the name of the data definition view is automatically set as Referenced Object and template define Projection View is preselected by default.







