SAP CDS DEFINE ROOT VIEW V1



Get Example source ABAP code based on a different SAP table
  


• ROOT ABAP_CDS_DEFINE_VIEW

ABAP_CDS_DDL - DDIC-Based View, ROOT

ABAP_SYNTAX
... ROOT ...

What does it do?
The addition ROOT defines the CDS view ddic_based_view as the root entity of a RAP business object in the ABAP RESTful Application Programming Model . The RAP BO root entity is the top node of the hierarchical structure of a business object and represents the business object.
The following applies to a root entity:
There is exactly one root entity in the structure of a business object.
The definition of a root entity can use COMPOSITION to specify CDS compositions that define child entities of the business object.
A root entity does not have a parent entity.



Latest notes:

More information about the ABAP RESTful Application Programming Model can be found under RAP objects.
The statement EXTEND VIEW can add to a root entity but cannot make a regular view into a root entity.
NON_V5_HINTS
ABAP_HINT_END