Ansicht
Dokumentation

ABENNEWS-754-ABAP_CDS - NEWS-754-ABAP CDS

ABENNEWS-754-ABAP_CDS - NEWS-754-ABAP CDS

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

in Release 7.54





Temporal Hierarchies

The new addition PERIOD of the statement DEFINE HIERARCHY can now be used to create temporal hierarchies in which the hierarchy nodes are limited by time intervals.



Annotation for Database Hints

The framework-specific annotation @Consumption.dbHints replaces the ABAP annotation @AbapCatalog.dbHints and makes it obsolete. The ABAP annotation is evaluated by frameworks such as SADL and not by the ABAP runtime environment.



Annotations for Releasing Elements

The new element annotations

  • can be used to override releases of the individual elements and successors can be specified for forbidden elements.



CDS Projection Views

A CDS projection view is a direct projection of the underlying CDS view and exposes only a subset of elements of the projected entity. A CDS projection view is defined using DEFINE VIEW ENTITY AS PROJECTION ON in a CDS data definition.



New Date Functions

ABAP CDS now supports the following new date functions:

New Time Stamp Functions

ABAP CDS now supports the following new time stamp functions:

New Date/Time Conversion Functions

now supports the following new date/time conversion functions:

Hierarchy Load Options

The hierarchy generator DEFINE HIERARCHY can now use the new addition LOAD BULK$|INCREMENTAL$|load_option to specify the load policy for a generated hierarchy.



CDS Custom Entities

A new type of CDS entity is available: the CDS custom entity. CDS custom entities are used in the RAP framework to implement ABAP queries in CDS.



Handling of Annotation Values

A change in the handling of annotation values has been introduced with the following consequences:

  • Annotations that require an enumeration symbol as annotation value no longer accept string values. They only accept enumeration symbols.
Example: Until release 7.54, the following was accepted: @AccessControl.authorizationCheck: '#CHECK'. From release 7.54, this is no longer accepted. The quotation marks must be removed.
  • If # is the first or the only character of EndUserText.label or EndUserText.quickInfo, then it is not removed from the unescaped value any more.

These changes are slightly incompatible.






ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 7685 Date: 20240425 Time: 135621     sap01-206 ( 84 ms )