Ansicht
Dokumentation

ABENNEWS-757-ABAP_CDS - NEWS-757-ABAP CDS

ABENNEWS-757-ABAP_CDS - NEWS-757-ABAP CDS

CL_GUI_FRONTEND_SERVICES - Frontend Services   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

in Release 7.57





CDS View Entity, Extended Cast Matrix

In CDS view entities, possibilities for casting have been extended:

  • Casting from data type FLTP into data types DEC, CURR, QUAN, INT1, INT2, INT4, INT8, DECFLOAT16, and DECFLOAT34 is now possible.
  • Casting from data type SSTRING into data types DEC, CURR, QUAN, INT1, INT2, INT4, INT8, DECFLOAT16, and DECFLOAT34 is now possible.
  • Casting from data type CHAR into data types DEC, CURR, QUAN, INT1, INT2, INT4, INT8, DECFLOAT16, and DECFLOAT34 is now possible.
  • Casting from data type DATS into data types DEC, CURR, QUAN, INT1, INT2, INT4, INT8, DECFLOAT16, and DECFLOAT34 is now possible.
  • Casting from data type TIMS into data types DEC, CURR, QUAN, INT1, INT2, INT4, INT8, DECFLOAT16, and DECFLOAT34 is now possible.
  • Casting from data types DECFLOAT16 and DECFLOAT34 into data type CHAR is now possible.



CDS View Entity, Table Buffering

Table buffering can be defined for CDS view entities now:

  • Table buffering can be enabled and disabled with the annotation
@AbapCatalog.entityBuffer.definitionAllowed: true|false
DEFINE VIW ENTITY BUFFER ON cds_view_entity ...

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:

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.








RFUMSV00 - Advance Return for Tax on Sales/Purchases   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 9324 Date: 20240425 Time: 151054     sap01-206 ( 92 ms )