Ansicht
Dokumentation
ABENNEWS-765-ABAP_CDS - NEWS-765-ABAP CDS
rdisp/max_wprun_time - Maximum work process run time ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
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:
- Aggregate expressions can now be used as operands in a CAST expression.
- 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 date/time functions are now supported: ABAP_SYSTEM_TIMEZONE, ABAP_USER_TIMEZONE, TSTMP_TO_DATS, TSTMP_TO_TIMS, TSTMP_TO_DST, and DATS_TIMS_TO_TSTMP
- An addition AS dtype can now be specified for the aggregate expression AVG to determine the data type of the return value.
- A new built-in conversion function FLTP_TO_DEC can be used to convert arguments of type FLTP to packed numbers.
- Built-in functions can now be specified on the right side of a cds_cond condition of a WHERE condition, an ON condition, a filter condition, or a complex case distinction.
- 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:
- As well as conditional access rules, there are now also full access rules and inherited access rules.
- 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 )