Get Example source ABAP code based on a different SAP table
ABAP_CDS in ABAP Release 7.63 ITOC
ABAP_MODIFICATION_NN Expressions and Functions>
The following enhancements have been implemented:
In a CAST> expression>, operands of the types SSTRING> can now be cast to types other than themselves and back. Here, the type SSTRING> behaves like the data type CHAR>. The following changes have been made:
In CAST> expressions> to data elements, the restriction no longer applies that the data type, the length, and the number of decimal places of operand and target data type must match exactly. This restriction can now be applied as an optional restriction using the new addition PRESERVING TYPE>. This addition specifies explicitly that casts are to be applied to the semantic properties of a data element. PRESERVING TYPE> suppresses the syntax warning that handles casts of identical technical types.
ABAP_MODIFICATION_NN CDS Associations>
The following changes have been made:
WITH DEFAULT FILTER> can be used to specify a default filter condition for a CDS association>. This condition is used as a filter condition in a path expression> if no condition is specified for the CDS association here.
CDS associations> can now be exposed> for union sets formed with UNION>>. In this case, special rules apply.