SAP NEWS-754-ABAP CDS



Get Example source ABAP code based on a different SAP table
  



ABAP_CDS in ABAP Release 7.54
ITOC

ABAP_MODIFICATION_NN Temporal Hierarchies

The new addition PERIOD of the statement DEFINE HIERARCHY can now be used to create temporal hierarchies in which the hierarchy nodes are limited by time intervals.

ABAP_MODIFICATION_NN Annotation for Database Hints

The framework-specific annotation @Consumption.dbHints replaces the ABAP annotation @AbapCatalog.dbHints and makes it obsolete. The ABAP annotation is evaluated by frameworks such as SADL and not by the ABAP runtime environment.

ABAP_MODIFICATION_NN Annotations for Releasing Elements

The new element annotations
@API.element.releaseState
@API.element.successor
can be used to override releases of the individual elements and successors can be specified for forbidden elements.

ABAP_MODIFICATION_NN CDS Projection Views

A CDS projection view is a direct projection of the underlying CDS view and exposes only a subset of elements of the projected entity. A CDS projection view is defined using DEFINE VIEW ENTITY AS PROJECTION ON in a CDS data definition.

ABAP_MODIFICATION_NN New Date Functions

ABAP CDS now supports the following new date functions:
DATN_DAYS_BETWEEN
DATN_ADD_DAYS
DATN_ADD_MONTHS

ABAP_MODIFICATION_NN New Time Stamp Functions

ABAP CDS now supports the following new time stamp functions:
UTCL_CURRENT
UTCL_ADD_SECONDS
UTCL_SECONDS_BETWEEN

ABAP_MODIFICATION_NN New Date/Time Conversion Functions

ABAP_CDS now supports the following new date/time conversion functions:
TSTMPL_TO_UTCL and TSTMPL_FROM_UTCL
DATS_TO_DATN and DATS_FROM_DATN
TIMS_TO_TIMN and TIMS_FROM_TIMN

ABAP_MODIFICATION_NN Hierarchy Load Options

The hierarchy generator DEFINE HIERARCHY can now use the new addition LOAD BULK$|INCREMENTAL$|load_option to specify the load policy for a generated hierarchy.

ABAP_MODIFICATION_NN CDS Custom Entities

A new type of CDS entity is available: the CDS custom entity. CDS custom entities are used in the RAP framework to implement ABAP queries in CDS.

ABAP_MODIFICATION_NN Handling of Annotation Values

A change in the handling of annotation values has been introduced with the following consequences:
Annotations that require an enumeration symbol as annotation value no longer accept string values. They only accept enumeration symbols. Example: Until release 7.54, the following was accepted: @AccessControl.authorizationCheck: '#CHECK'. From release 7.54, this is no longer accepted. The quotation marks must be removed.
If # is the first or the only character of EndUserText.label or EndUserText.quickInfo, then it is not removed from the unescaped value any more.
These changes are slightly incompatible.

ABAP_MODIFICATION_NN Root Nodes and Compositions

The new addition ROOT is available for CDS entities to mark an entity as a CDS root entity. In addition, CDS associations can be declared as COMPOSITION or TO PARENT. In this way, a CDS composition tree can be modeled for use in the ABAP RESTful Application Programming Model.