
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.







