AS ABAP Release 758, ©Copyright 2024 SAP SE. All rights reserved.
ABAP - Keyword Documentation → ABAP - ABAP Release News → News for ABAP Release 7.5x → News for ABAP Release 7.57 →
ABAP CDS in ABAP Release 7.57
CDS View Entity, Table Buffering
CDS entity buffering was enhanced:
View on view buffering is now supported, under the precondition that the CDS view entity used as data source meets certain requirements.
CDS View Entity, CASE ELSE NULL
In CDS view entities, the
addition ELSE NULL is available in simple and complex
case distinctions. It defines the
null value as return value of the ELSE branch.
CDS View Entity, Extended Cast Matrix
New casting options have been added in CDS view entities.
CDS View Entity, Table Buffering
Table buffering can be defined for CDS view entities now:
Table buffering can be defined differently for the layers core, localization, industry, partner and customer.
CDS View Entity, SUBSTRING Function
In CDS view entities, the SUBSTRING function has been enhanced. It now accepts
not only literals, but also fields, parameters, expressions, and built-in functions as arguments pos and len.
CDS View Entity, LEFT and RIGHT
In CDS view entities, the functions LEFT and RIGHT have been enhanced. They now accept literals, fields, parameters, expressions, and built-in functions as argument len.
CDS View Entity, Application Session Variables
In CDS view entities, two new application session variables are available:
ABAP Program That Lists Usages of CDS-Managed DDIC Views
Using CDS-managed DDIC views has been declared obsolete. The following ABAP program lists all repository objects that use CDS-managed DDIC views:
RUT_WHERE_USE_SQLVIEW.
CDS Analytical Projection Views
CDS analytical projection views for modelling analytical queries are available. A CDS analytical projection view is defined using DEFINE TRANSIENT VIEW ENTITY AS PROJECTION ON. The value for the
provider contract must be set to ANALYTICAL_QUERY.
CDS Transactional Interface
A new type of CDS projection view is available: the
CDS transactional interface. CDS transactional interfaces serve as stable public interface layer in a CDS data model. They are typically used in the context of the
ABAP RESTful Application Programming Model to provide the basis for a
RAP BO interface. A CDS transactional interface view is defined using DEFINE VIEW ENTITY AS PROJECTION ON. The value for the
provider contract must be set to TRANSACTIONAL_INTERFACE.
Comparisons with CDS Amount Fields and CDS Quantity Fields
Special handling for CDS amount fields and
CDS quantity fields for
comparisons in CDS view entities has been implemented.
Support of Input Parameters of Type abap.string
Data type abap.string is now supported for input parameters in the parameter list of a CDS view entity and in the parameter list of a CDS table function.
Data type abap.string is now supported when
binding actual parameters to the input parameters of a CDS view entity, if a CDS table function is used as
data source after FROM.
CDS Custom Entity Extensions
The new statement EXTEND CUSTOM ENTITY of the DDL of ABAP CDS makes it possible to add new elements to existing
CDS custom entities by using
CDS custom entity extensions.
CDS DDIC-Based Views Are Obsolete
CDS DDIC-based views (obsolete), defined using the statement DEFINE VIEW, are
obsolete. When creating new data models,
CDS view entities, defined
using DEFINE VIEW ENTITY, should be used instead.