SAP NEWS-769-ABAP CDS



Get Example source ABAP code based on a different SAP table
  



ABAP_CDS in ABAP Release 7.69
ITOC

ABAP_MODIFICATION_NN Annotations as CDS Objects

From ABAP_RELEASE 7.69, it is possible to define CDS annotations as standalone CDS objects using the statement DEFINE ANNOTATION in DDLA source code.
A CDS annotation definition specifies exactly 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.

ABAP_MODIFICATION_NN 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 AB_SQL , the access conditions are evaluated by default.
Extensions in DCL for defining CDS roles:
When access conditions cds_cond 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.
The operators BETWEEN and IS NULL are now available for literal conditions as part of an access condition.
When a path is specified for an element in an access condition, multivalue CDS 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.

ABAP_MODIFICATION_NN Extensions

CDS view extensions are now connected to Switch Framework whenever they are defined in a package that is assigned a switch.