ABAP Keyword Documentation → ABAP - Release-Specific Changes → Changes in Releases 7.5x → Changes in Release 7.52
ABAP CDS in Release 7.52
2. Cardinality in LEFT OUTER JOIN
Other versions:
7.31 | 7.40 | 7.54
Modification 1
Annotations as CDS Objects
From Release 7.52, it is possible to define CDS annotations as standalone CDS objects using the statement DEFINE ANNOTATION in DDLA source code.
A CDS annotation definition dictates precisely how the annotation needs to be specified in CDS source code in annotation syntax.
In DDL source code, annotation definitions are covered by source code coloring and Code Completion. In DDLA source code and DDLX source code, the definitions are also covered by the syntax check.
SAP delivers annotation definitions for the SAP annotations. No other annotations should be used at present.
Modification 2
Cardinality in LEFT OUTER JOIN
In a LEFT OUTER JOIN, an addition TO ONE or TO MANY can be specified for the cardinality. This addition is evaluated by an SAP HANA database as a note for optimization.
This option exists in earlier releases in ABAP CDS, but has been documented only from Release 7.52. In ABAP SQL, the corresponding syntax was introduced in Release 7.52.
Modification 3
Access Control
The following enhancements have been implemented in CDS access control:
- CDS roles can now also be defined for CDS table functions. When a CDS table function is accessed in ABAP SQL. The access conditions are evaluated by default.
-
Extensions in DCL for defining CDS roles:
- When access conditions cond_expr are specified, there are no longer any restrictions on how Boolean operators and parentheses are used. The Boolean operator NOT can now also be used and any combination of parentheses is possible.
- When a path is specified for an element in an access condition, multi-value associations are now also tracked.
- Further conditions can now be appended after INHERIT using AND.
- In a literal condition [NOT] LIKE, it is now possible to specify an escape character using ESCAPE.
- Blanks are now no longer forced in certain positions.
Modification 4
Extensions
CDS view extensions are now connected to Switch Framework whenever they are defined in a package that is assigned a switch.