ABAP - Keyword Documentation →  ABAP - Core Data Services (ABAP CDS) →  ABAP CDS - Data Definitions →  ABAP CDS - DDL for Data Definitions →  ABAP CDS - CDS Entities → 
Mail Feedback

ABAP CDS - Projection Views

A CDS projection view is defined in the DDL source code of a CDS data definition using the statement DEFINE [TRANSIENT] VIEW ENTITY AS PROJECTION ON in the CDS DDL of the ABAP Core Data Services (CDS). DDL source code in a CDS projection view can also be displayed in Repository Browser in ABAP Workbench.

A CDS projection view is based on another CDS view entity (called projected entity). CDS projection views adapt a CDS data model for service-specific use cases.

The name of a CDS projection view is in the namespace of all global types of an AS ABAP.

Client handling is done implicitly and automatically for CDS projection views. The rules are the same as for CDS view entities, see section ABAP CDS - Client Handling in CDS View Entities.

Table buffering does not work for CDS projection views, since buffering in general does not work with another CDS view as data source.

There are different types of projection views available, depending on the purpose and use case of the projection view. The type of projection view is specified using the syntax addition PROVIDER CONTRACT. The following types of CDS projection views are available:

Further Information

ABAP Data Models development guide, section about CDS projection views.

Hint

A CDS projection view can be extended using a CDS view entity extension EXTEND VIEW ENTITY. For details, see topic CDS DDL - EXTEND VIEW ENTITY.



Continue
CDS DDL - CDS Projection View, Transactional Queries
CDS DDL - CDS Projection View, Transactional Interface
CDS DDL - CDS Projection View, Analytical Queries
CDS DDL - CDS Projection View, No Contract