ABAP - Keyword Documentation →  ABAP - ABAP Release News →  News for ABAP Release 7.5x →  News for ABAP Release 7.57 → 
Mail Feedback

ABAP CDS in ABAP Release 7.57


1. CDS View Entity, Table Buffering

2. CDS View Entity, CASE ELSE NULL

3. CDS View Entity, Extended Cast Matrix

4. CDS View Entity, Table Buffering

5. CDS View Entity, SUBSTRING Function

6. CDS View Entity, LEFT and RIGHT

7. CDS View Entity, Application Session Variables

8. ABAP Program That Lists Usages of CDS-Managed DDIC Views

9. CDS Analytical Projection Views

10. CDS Transactional Interface

11. Comparisons with CDS Amount Fields and CDS Quantity Fields

12. Support of Input Parameters of Type abap.string

13. CDS Custom Entity Extensions

14. CDS DDIC-Based Views Are Obsolete



Modification 1  

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.



Modification 2  

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.



Modification 3  

CDS View Entity, Extended Cast Matrix

New casting options have been added in CDS view entities.





Modification 4  

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.



Modification 5  

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.



Modification 6  

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.



Modification 7  

CDS View Entity, Application Session Variables

In CDS view entities, two new application session variables are available:





Modification 8  

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.



Modification 9  

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.



Modification 10  

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.



Modification 11  

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.



Modification 12  

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.



Modification 13  

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.



Modification 14  

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.