SAP NEWS-784-ABAP CDS



Get Example source ABAP code based on a different SAP table
  



ABAP_CDS in ABAP Release 7.84
ITOC

ABAP_MODIFICATION_NN CDS View Entity, Reusing Expressions

In CDS view entities, it is now possible to reuse expressions defined in the SELECT list in other operand positions of the same CDS view entity by using the syntax $projection.reuse_exp.

ABAP_MODIFICATION_NN CDS View Entity, Extended Expression Matrix

In CDS view entities, the expression matrix has been extended:
In the WHERE clause, arithmetic expressions and case expressions are supported as operands.
In the HAVING clause, arithmetic expressions and case expressions are supported as operands.

ABAP_MODIFICATION_NN CDS Abstract Entity Extensions

The new statement EXTEND ABSTRACT ENTITY of the DDL of ABAP CDS makes it possible to add new elements to existing CDS abstract entities by using CDS abstract entity extensions.

ABAP_MODIFICATION_NN CDS View Entity, Handling of Amounts and Quantities

In CDS view entities, special handling for CDS amount fields and CDS quantity fields has been implemented. It differs from the handling of amount fields and quantity fields in DDIC, for example, more data types are possible and the currency key/unit key reference is considered in expressions.
Moreover, a new type is available: the CDS calculated quantity. A CDS calculated quantity is the result type of a calculation using amount and/or quantity fields.

ABAP_MODIFICATION_NN New CDS System Entities to Generate Series

The following new CDS system table functions are available:
... SERIES_GENERATE_DATE( step = ... from_value = ... to_value = ... ) ...
... SERIES_GENERATE_INTEGER( step = ... from_value = ... to_value = ... ) ...
... SERIES_GENERATE_TIME( step = ... from_value = ... to_value = ... ) ...
... SERIES_GENERATE_TIMESTAMP( step = ... from_value = ... to_value = ... ) ...