Ansicht
Dokumentation

ABENNEWS-769-ABAP_CDS - NEWS-769-ABAP CDS

ABENNEWS-769-ABAP_CDS - NEWS-769-ABAP CDS

BAL_S_LOG - Application Log: Log header data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

in Release 7.69





Annotations as CDS Objects

From 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.



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 , 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.

  • 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.



Extensions

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






General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 4848 Date: 20240423 Time: 170125     sap01-206 ( 26 ms )