Ansicht
Dokumentation

ABENNEWS-765-ABAP_CDS - NEWS-765-ABAP CDS

ABENNEWS-765-ABAP_CDS - NEWS-765-ABAP CDS

rdisp/max_wprun_time - Maximum work process run time   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

in Release 7.65





Metadata Extensions

Metadata extensions are new CDS objects that allow CDS annotations for a CDS entity to be created and transported separately from their DDL source code. Metadata extensions are included by default in the evaluation of annotations with the class CL_DD_DDL_ANNOTATION_SERVICE.

Metadata extensions are created using the DDL statement ANNOTATE VIEW and can be joined to new CDS variants, enabling different extensions to be created for a CDS entity. Furthermore, each metadata extension is linked to a layer, such as a branch, customer, or partner, which determines the priority if there is an identical variant or no variant.



Annotations

For each element annotation that is not part of an annotation array, the special value null can be specified (without quotation marks). This means that the annotations are ignored in the evaluation with class CL_DD_DDL_ANNOTATION_SERVICE by default.



Cross Join

As well as an inner and outer join, it is now possible to use a cross join in a SELECT statement.



Expressions and Functions

The following enhancements have been implemented:

  • In a CAST expression, the data types CHAR, SSTR, and NUMC can now be cast to ACCP, and the other way round.
  • The following additional string functions are now supported: UPPER and LOWER
  • A new built-in conversion function FLTP_TO_DEC can be used to convert arguments of type FLTP to packed numbers.
  • In cds_cond conditions, fields of data sources of the type ACCP can now be compared with fields of the same type, and with literals of the type NUMC.

A literal of a corresponding value is not handled as a field of type INT8. An exception to this are literals in the definition of CDS associations.



Access Control

The following enhancements have been implemented in CDS access control:

  • There is a new operator ?= for access conditions, which checks not only for a specified value but also the initial value or the null value.
  • A new user condition compares the value of an element of a CDS entity with the current user name.





Vendor Master (General Section)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 8337 Date: 20240329 Time: 061204     sap01-206 ( 97 ms )