Ansicht
Dokumentation

ABENCDS_VIEW_EXTEND - CDS VIEW EXTEND

ABENCDS_VIEW_EXTEND - CDS VIEW EXTEND

General Data in Customer Master   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

- Extending CDS Views

There are currently two different statements that can be used to extend a CDS view in CDS DDL:

  • Available since release .

  • Available since release .

Differences Between View Extensions and View Entity Extensions

  • A view entity extension does not have a DDIC append view.
  • For a view entity extension, no name is specified after WITH. A view entity extension has only one name, which is the name of the repository object. This name is assigned in the wizard for creating a new repository object.
  • In view entity extensions, no header annotations are allowed. That means that no annotations are allowed in front of the statement EXTEND VIEW ENTITY.
  • View entity extensions were developed for CDS view entities and they have the same advantages, for example, a better performance during activation. The advantages of CDS view entities over DDIC-based views is explained in topic ABAP CDS - DDIC-Based Entities.

Note

For compatibility and migration reasons, EXTEND VIEW can also be used to extend CDS view entities and CDS projection views. Activation is possible without errors. However, the syntax elements specific to CDS view entities and CDS projection views are not supported in this variant of view extensions. It is recommended that the statement EXTEND VIEW ENTITY is used for CDS view entities and CDS projection views.






rdisp/max_wprun_time - Maximum work process run time   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 4004 Date: 20240329 Time: 005734     sap01-206 ( 46 ms )