Skip to content

ABAP Keyword Documentation →  ABAP - Release-Specific Changes →  Changes in Release 7.40 →  Changes in Release 7.40, SP08 

ABAP CDS in Release 7.40, SP08


1. CDS annotations


2. CDS views with parameters


3. CDS view enhancements


4. CDS authorizations


5. Expressions and functions


6. Join type for associations


7. Path expressions with filter conditions in conditions


8. Fixed values of domains as literals

Other versions: 7.31 | 7.40 | 7.54

Modification 1

CDS Annotations

The following enhancements have been introduced for CDS annotations:

  • Annotations in a SELECT list can now be entered after an element. Before the name of an annotation, @< must be written instead of @.
  • A new syntax with square and curly brackets makes it possible to use value lists and annotation lists as value specification after the colon of an annotation specification.
  • The new predefined annotation AbapCatalog.compiler.compareFilter can be used to specify whether the filter conditions are compared for the path expressions of a view. In this case, the associated join expression is evaluated once only, if the same filter condition occurs.

Modification 2

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 Open 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 Open SQL.

Modification 3

CDS View Enhancements

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 view enhancements.

Modification 4

CDS Authorizations

This function is not yet released and cannot be used.

A new authorization concept was introduced for ABAP CDS. The new DCL in ABAP CDS makes it possible to define CDS roles. If a CDS entity is associated with a CDS view with a CDS role, an implicit authorization check is performed when the CDS entity is accessed using Open SQL and only that data is read for which the current user has an authorization.

Modification 5

Expressions and Functions

The following enhancements have been implemented:

  • String functions CONCAT and REPLACE
  • Numeric functions ABS, DIV, DIVISION, FLOOR, MOD und ROUND

Modification 6

Join Type for Associations

The new attributes INNER and LEFT OUTER for an association of a path expression enable to declare explicitly in which join the association is performed.

Modification 7

Path Expressions with Filter Conditions in Conditions

The new addition 1: before a filter condition of a path expression declares this condition as single-valued and enables the path expression to be used in a WHERE clause or HAVING clause.

Modification 8

Fixed Values of Domains as Literals

A new syntax #domain.value enables fixed values of a domain in a CDS view to be used as literals. The syntax check then checks if the value exists in this form.