Hacking CDS

Out of passion with CDS modelling, this is one interesting thing I did for a customer to create a planning enabled CDS view

 

First, create Custom CDS / Custom Analytical query using Fiori App.

Launch ABAP eclipse and add the ATP local package to eclipse. In this case, the package is TEST_YY_KEY_USER_LOCAL_APP package.

Copy the entire code from the CDS view generated by App

Create a new CDS view and paste the code, Change the names in the code as required

Declare Planning annotations .

This will save a lot of time in defining the query/CDS view from scratch.

The CDS view will be available as any other CDS view in BI tools. But since the origin for the new CDS view is ADT, you cannot develop new Analytical queries on this using the app.