Ansicht
Dokumentation

ABENCDS_PROJ_VIEWS - CDS PROJ VIEWS

ABENCDS_PROJ_VIEWS - CDS PROJ VIEWS

ROGBILLS - Synchronize billing plans   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

- 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 a CDS entity and exposes a subset of its features.

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 doesn't 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:

Transactional queries define the projection layer of a RAP business object.
For details, see the section about Transactional Queries.
CDS transactional interfaces serve as stable public interface layer in a CDS data model. They are typically used in the context of the ABAP RESTful Application Programming Model to provide the basis for a RAP BO interface.
For details, see the section about CDS Transactional Interfaces.
CDS analytical queries are intended for modelling analytical queries within the CDS data model. They are evaluated by the analytical engine.
For details, see the section about Analytical Queries.
  • no provider contract specified
Deprecated. It is strongly recommended that a provider contract is always specified. If no provider contract is specified, the same features are available as for transactional queries. There are only a few differences in the syntax checks to transactional queries. The differences are listed in topic no contract..

Note

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.






Vendor Master (General Section)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 5208 Date: 20240425 Time: 081751     sap01-206 ( 67 ms )