Ansicht
Dokumentation
ABENCDS_VIEW_EXTEND - CDS VIEW EXTEND
General Data in Customer Master ABAP Short ReferenceThis documentation is copyright by SAP AG.
- Extending CDS Views
There are currently two different statements that can be used to extend a CDS view in CDS DDL:
- This variant is used to define a CDS view entity extension for a CDS view entity or a CDS projection view.
- Available since release .
- This variant is used to define a CDS view extension that is also linked with a DDIC append view in ABAP Dictionary.
- Available since release .
- Recommended for extending CDS DDIC-based views, defined using the statement DEFINE VIEW.
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 )