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.53 →
ABAP CDS in ABAP Release 7.53
CDS Hierarchies
The new statement DEFINE HIERARCHY can be used to create
CDS hierarchies that are accessed as
hierarchies in ABAP SQL read statements.
New Condition IS INITIAL
The new condition IS INITIAL can be used to check the initial value of operands.
Literals
A literal of a respective value is now always handled
as a field of the type INT8, including in the definition of associations.
Annotation Definitions
In the DDLA source code of a
CDS annotation definition delivered by SAP, the new annotation @CompatibilityContract
must be used to specify the usability of the annotation in CDS entities, depending on their release contract.
New Scope for Annotations
In a CDS annotation definition, the new enumeration symbol #ENTITY, which defines a scope for entity annotations, can be specified after the annotation @scope. Annotations with this scope can be specified in the definitions of all CDS entities in front of the statement DEFINE.
The ABAP annotations @EndUserText.label
and @Metadata.allowExtensions were switched to this scope.
CDS Abstract Entities
An CDS abstract entity defines the type properties of a
CDS entity without creating an instance of a database object. An abstract CDS entity is defined using DEFINE ABSTRACT ENTITY in a CDS data definition.
Metadata Extensions for CDS Entities
The variant ANNOTATE ENTITY
was added to the previous statement ANNOTATE VIEW. This makes it possible to define
CDS metadata extensions for any
CDS entities with the exception of
CDS table functions. Metadata extensions of this type can contain entity annotations, parameter annotations, and element annotations.
Access Control
The following enhancements have been implemented in CDS access control: