Ansicht
Dokumentation

ABENNEWS-752-ABAP_CDS - NEWS-752-ABAP CDS

ABENNEWS-752-ABAP_CDS - NEWS-752-ABAP CDS

TXBHW - Original Tax Base Amount in Local Currency   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

in Release 7.52





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.



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 , the corresponding syntax was introduced in Release 7.52.



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








RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 5707 Date: 20240329 Time: 070043     sap01-206 ( 68 ms )