Ansicht
Dokumentation

ABENCDS_PV_TRANSACTIONAL_QUERY - CDS PV TRANSACTIONAL QUERY

ABENCDS_PV_TRANSACTIONAL_QUERY - CDS PV TRANSACTIONAL QUERY

General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

- CDS Projection View, Transactional Queries

CDS transactional queries are intended for modelling the projection layer of a RAP business object. A transactional projection view must always be part of a business object. That means it must either be a root entity itself, or it must be part of a composition tree that contains a root entity. The feature set focuses on specializing the RAP BO operations of the underlying business object. The runtime for transactional queries is mainly the RAP query engine, but also the RAP transactional engine.

The following image shows the role of CDS transactional queries within the ABAP RESTful Application Programming Model.

IMAGE @@transactional_pv_1.png@@900@@515@@

As a global data type, a CDS transactional query represents a structured type with the elements of the CDS projection view as components. Usage:

  • Unlike other CDS entities, CDS transactional queries currently can't be used as data source of other CDS entities.
  • They can be used in ABAP programs as a data type for definitions and in ABAP SQL read statements.

Note

Transactional projection views have evolved from and will in the future replace consumption views. Both serve the same purpose, namely, to simplify the access to business objects. While consumption views were used for data modelling in the obsolete ABAP Programming Model for SAP Fiori, projection views take over this role in its successor RAP.

  • Development guide for the ABAP RESTful Application Programming Model, topic CDS Projection View.





Vendor Master (General Section)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2700 Date: 20240511 Time: 095312     sap01-206 ( 80 ms )