Advanced CDS Views Series: Part 1 – CDS Analyzer

This is part 1 of upskilling you CDS view skills by getting to know CDS Analyzer(transaction code SDDLAR or report RUTDDLSSHOW2 ). This tool is all-in-one CDS tools that can Display/Check the DDIC object, Compare Run Time Object, Extract/Scan CDS Source Code, and with so many other functionalities that may come in handy for analysis.

The initial screens will allow you to check one of the tools then navigate you to the program of that tool. As there are more than handful of tools available in SDDLAR, I will just highlight the ones that will come in most handy.

 

Analyze DDIC Object(Program RUTDDOBJ)

This tool is a valuable program for SAP technical teams needing a static, in-depth structural analysis of CDS views. It provides a technical breakdown of CDS views, including dependencies, associations, and annotations gathered from different SAP source tables .

Analyze DDIC Object(Program RUT_RTOBJ_DISPLAY)

The main function of this tool is to analyze the header and fields, as well as prameters of the CDS views.

The most useful functionality is probably the comparison feature where developer can compare two CDS views and compare the technical fields and prameters to analyze any difference exists.

Search for DDL sources with name(Program RUTDDLSSHOW)

Probably the most useful feature from SDDLAR is this tool where it will scan the source code of CDS views. This is useful as the conventional ABAP source code scan tools such as Tcode CODE_SCANNER or program RPR_ABAP_SOURCE_SCAN do not support scanning of source of CDS view objects.

For example, if you want to scan your Z objects that contains GL Account, enter the key word as the search pattern.

Display Structured Object (Program RADSTOBSHOW)

The next most powerful tool from SDDLAR is RADSTOBSHOW where it will list all the CDS view’s associations, annotations, where conditions, from clauses and selected elements as a table.

This allows lead developer to, for example, scan all the associations and annotations in the ABAP packages and check the usage per solutions and detect any inconsistency or codes that do not follow the coding guidelines.

Base Objects Explorer(Program DD_BOE_START_BOE)

It’s much better with ADT as it supports more visualize dependency tree, but in CDS analyzer, there is also similar tool that lists the underlying CDS objects such as Program DD_BOE_START_BOE. If you like GUI based visual, this tool is not bad after all.

Did I miss any other important tools in SDDLAR(CDS analyzer)? Let me know in the comment below.

Also check out other blog posts from Advanced CDS Views Series:

Advanced CDS Views Series: Part 2 – Analytical CDS Health Check – SAP Extensibility 101