SAP NEWS-770-ABAP CDS



Get Example source ABAP code based on a different SAP table
  



ABAP_CDS in ABAP Release 7.70
ITOC

ABAP_MODIFICATION_NN New Scope for Annotations

In a CDS annotation definition, the new enumeration symbol #ENTITY, which defines a scope for entity annotations, can be specified after the annotation @scope. Annotations with this scope can be specified in the definitions of all CDS entities in front of the statement DEFINE.
The ABAP annotations @EndUserText.label and @Metadata.allowExtensions were switched to this scope.

ABAP_MODIFICATION_NN CDS Abstract Entities

An CDS abstract entity defines the type properties of a CDS entity without creating an instance of a database object. A CDS abstract entity is defined using DEFINE ABSTRACT ENTITY in a CDS data definition.

ABAP_MODIFICATION_NN Metadata Extensions for CDS Entities

The variant ANNOTATE ENTITY was added to the previous statement ANNOTATE VIEW. This makes it possible to define CDS metadata extensions for any CDS entities with the exception of CDS table functions. Metadata extensions of this type can contain entity annotations, parameter annotations, and element annotations.