Ansicht
Dokumentation

ABENCDS_PV_TRANSACTIONAL_INTERFACE - CDS PV TRANSACTIONAL INTERFACE

ABENCDS_PV_TRANSACTIONAL_INTERFACE - CDS PV TRANSACTIONAL INTERFACE

ROGBILLS - Synchronize billing plans   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

- CDS Projection View, Transactional Interface

A CDS transactional interface is a CDS projection view that is intended to serve as stable public interface. A CDS transactional interface should be released system internally under the C1 contract, and it can be released additionally under the C0 contract for extensions. A CDS transactional interface is typically used in the context of the ABAP RESTful Application Programming Model to provide the basis for a RAP BO interface. The feature set is restricted to projecting elements from the underlying projected entity. No new associations, virtual elements, or fields can be defined.

The following image shows the position of a CDS transactional interface in a CDS data model.

IMAGE @@ABDOC_TRANS_INTERFACE.png@@195@@400@@

A CDS transactional interface is built on top of a CDS view entity or CDS DDIC-based view (deprecated). The projected entity must be part of a RAP BO: It must either be a root entity or contain a to-parent association. The transactional interface projects a subset of elements of its projected entity and is released for a specific API state. Under the precondition that the transactional interface is released under the C1 stability contract, a consumer can build a CDS transactional query on top of a CDS transactional interface. This transactional query is the top-most layer of the data model and prepares the data for the particular use case.

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

  • CDS transactional interfaces can be used as data source for CDS transactional queries. They cannot be used as data source for any other CDS entity.
  • They can be used in ABAP programs as a data type for definitions and in read statements.

  • Development guide for the ABAP RESTful Application Programming Model, topic Business Object Interface.





General Material Data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 3202 Date: 20240511 Time: 190154     sap01-206 ( 49 ms )