Mentor SAP

CDS Views Based on other CDS views

 

Up to now, our CDS views were all based on a single database table or on a join of several database tables.

 

In CDS you can also define CDS views that are based on one or more other CDS Views. This is sometimes referred to as “View on View Concept” or as “Nested Views”.

 

 

Building Nested views is another important difference between the classical database views in ABAP Dictionary and the new CDS views. The big advantages are the improved re-use of views and the improved readability.

 

Advantages and Pitfalls

 

 

Recommendations