Ansicht
Dokumentation

ABENCDS_VIEWS - CDS VIEWS

ABENCDS_VIEWS - CDS VIEWS

BAL Application Log Documentation   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

- Views

A CDS view is defined for existing DDIC database tables dictionary views or other non-abstract 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.

There are three types of CDS views defined by different variants of the statement DEFINE VIEW:

A CDS entity is created as a repository object whenever a CDS data definition in either of these CDS view types is activated. On both cases, the CDS entity represents the CDS view and this view should only be accessed using the name of the CDS entity. The name of this entity is defined in the definition of a CDS view after DEFINE VIEW. 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.

For a CDS view, KEY can be used to define key elements. 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 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.
  • For CDS views, CDS view enhancements are a separate way of making enhancements without making modifications.





PERFORM Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 6463 Date: 20240329 Time: 124431     sap01-206 ( 77 ms )