Skip to Content
Technical Articles

How you can get the flowchart and Quick outline of your CDS View in ABAP on Eclipse? Trust me you can add this in your Technical Design Document.

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?

How you can get the quick Outline of your CDS View in ABAP on Eclipse?

SAP ABAP: How you can get the quick Dependency Overview of your CDS View in ABAP on Eclipse?

 

 

 

 

2 Comments
You must be Logged on to comment or reply to a post.
  • Thanks for this useful article. In my Eclipse , ‘Graphical Editor’ option is not appearing,  My Eclipse Details are as below, can you suggest something to enable ‘Graphical Editor’

    Eclipse IDE for Java Developers (includes Incubating components)

    Version: 2020-09 (4.17.0)
    Build id: 20200910-1200