SAP NEWS-755-ABAP CDS



Get Example source ABAP code based on a different SAP table
  



ABAP_CDS in ABAP Release 7.55
ITOC

ABAP_MODIFICATION_NN Defining Associations in CDS Projection Views

It is now possible to define new associations to external data sources in CDS projection views.

ABAP_MODIFICATION_NN CDS View Entities

A new kind of CDS view is available: the CDS view entity. CDS view entities represent an improved version of ABAP_CDS_V1_VIEWS (DEFINE VIEW). They serve the same purpose and have the same structure as ABAP_CDS_V1_VIEWS , but offer many advantages. CDS view entities are planned to replace ABAP_CDS_V1_VIEWS in the future. A CDS view entity is defined with the statement DEFINE VIEW ENTITY.

ABAP_MODIFICATION_NN CDS View Entity Extensions

The new statement EXTEND VIEW ENTITY of the DDL of ABAP CDS makes it possible to add new view fields to existing CDS views entities and CDS projection views by using CDS view entity extensions.

ABAP_MODIFICATION_NN New Session Variables for User Time Zone and User Date

Two new session variables are available in ABAP CDS:
$session.user_timezone, which returns the time zone defined in the user master record for the local user time.
$session.user_date, which returns the local date of a user.

ABAP_MODIFICATION_NN New String Function for Regular Expressions

ABAP CDS now supports the new string function REPLACE_REGEXPR that allows regular expressions to be replaced.