AS ABAP Release 758, ©Copyright 2024 SAP SE. All rights reserved.
ABAP - Keyword Documentation → ABAP - ABAP Release News → News for ABAP Release 7.40 and its SPs → News for ABAP Release 7.40, SP08 →
ABAP CDS in ABAP Release 7.40, SP08
CDS Annotations
The following enhancements have been introduced for CDS annotations:
CDS Views with Parameters
In the statement DEFINE VIEW, input parameters can now be defined for CDS views that can be used in operand positions in the view.
When using a CDS view with parameters in a CDS view or in ABAP SQL, the input parameters must be given
actual parameters; new additions are available for this in shape of parenthesized, comma-separated lists
in the statements SELECT
of the DDL and SELECT of ABAP SQL.
CDS View Extensions
The new statement EXTEND VIEW of the DDL of the ABAP CDS makes it possible to add new view fields to existing
CDS views - without making changes - by using
CDS DDIC-based view extensions.
Expressions and Functions
The following enhancements have been implemented:
Join Type for CDS Associations
The new attributes INNER and LEFT OUTER for a
CDS association of a
path expression enable to declare explicitly in which join the CDS association is performed.
Path Expressions with Filter Conditions in Conditions
The new addition 1: before a
filter condition of a
path expression declares this condition as
unique and enables the path expression to be used in a
WHERE clause or HAVING clause.
Checking Literals Against Fixed Values of Domains
The new syntax #domain.literal enables literal values literal of a CDS view to be checked against the fixed values of a DDIC domain.