AS ABAP Release 758, ©Copyright 2024 SAP SE. All rights reserved.
ABAP - Keyword Documentation → ABAP - ABAP Release News → News for ABAP Release 7.5x → News for ABAP Release 7.54 →
ABAP CDS in ABAP 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
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
ABAP CDS 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:
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.
These changes are slightly incompatible.
Root Nodes and Compositions
The new addition ROOT is available for CDS entities to mark an entity as a CDS root entity. In addition, CDS associations can be declared as COMPOSITION or TO PARENT. In this way, a CDS composition tree can be modeled for use in the ABAP RESTful Application Programming Model.