Introduction
After working with SAP for more than 15 years I always thought there should be a better way to design the flowchart based on the Code I am writing in ABAP Editor. Most of the Time the Technical Design document is not up to date based on the Changes and it does not tell you much about the Current Design. SAP has finally solved this for CDS and no need to create a Flowchart of all the different table join logic.
Since the last update to the ABAP Development Tools (ADT) in Eclipse (Version 2019-06 (4.12.0), Build id: 20190614-1200) the graphical editor for CDS-Views is gone. The Flowchart feature is only available for previous version. The other features are still there.
Solution
Login to SAP HANA and open any CDS View. Below is a custom CDS View which I have created
Right Click on the Editor->Open With->Graphical Editor
Wala here is the Flowchart of the CDS View. You did not need to know how to write the CDS in order to know the Flow.
Now we will check the Outline portion of CDS Editor
Now Right click on Editor and Select Quick Outline
Here we can see that there is a Parameter
Now we can check what Table/View is being read.
We can also check the Output Layout as mentioned below
By Clicking on the Where Clause we can check the exact where Statement
Below is the where statement
We can also check what are the parameters that are being used in Group by Clause,
Here is the Group by Clause
Conclusion
With this blog we can get all the design related information in CDS and you can use it for Documentation.
Below is the video version
How you can get the flowchart of your CDS View in ABAP on Eclipse?
https://youtu.be/tq7XACQgcgM
How you can get the quick Outline of your CDS View in ABAP on Eclipse?
https://youtu.be/vmJudY6kLmw
SAP ABAP: How you can get the quick Dependency Overview of your CDS View in ABAP on Eclipse?
https://youtu.be/qvcoRyWOfME