Ansicht
Dokumentation

ABENCDS_V1_VIEWS - CDS V1 VIEWS

ABENCDS_V1_VIEWS - CDS V1 VIEWS

PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

- DDIC-Based Views

A is defined for existing DDIC database tables, DDIC views or other non-SQL CDS entities using the statement DEFINE VIEW in the CDS DDL of ABAP Core Data Services (CDS) in the DDL source code of a CDS data definition in the ABAP Development Tools (ADT). The DCL source code of a CDS view can also be displayed in Repository Browser in ABAP Workbench.

When a CDS data definition of a CDS DDIC-based view is activated, two artefacts are created:

The CDS entity represents the CDS view and the view should be accessed using the name of the CDS entity. The name of the CDS entity is defined after the DEFINE VIEW keyword. The definition of the CDS entity occurs only as DDL source code. As a global data type, the CDS entity represents a structured type with the elements of the CDS view as components and can be used like any CDS entity.

  • In ABAP CDS, the CDS entity can be used as a data source of other CDS entities.
  • In ABAP programs, the CDS entity can be used as a data type and in read statements.

The name of this CDS entity is in the namespace of all global types of an AS ABAP.

The keyword KEY can be used to define key elements in CDS views. This key is the semantic key of the CDS view. If the name of the CDS entity is used to access a CDS view in , this key is used for the syntax check.

The following sections describe client handling and table buffering for CDS DDIC-based views plus the role of a CDS-managed DDIC view:

Notes

  • As well as the specific functions available for CDS views, such as the definition of CDS associations, the options for the regular SQL DDL of the CDS DDL are far more comprehensive than the form-based ABAP Dictionary tool in ABAP Workbench used to define DDIC table views.
  • CDS views can be enhanced with CDS view extensions. These enhancements are stored in separate entities, so the CDS view itself is not modified.





rdisp/max_wprun_time - Maximum work process run time   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 4885 Date: 20240427 Time: 034345     sap01-206 ( 57 ms )