Skip to Content
0

Where used functionality for ABAP CDS views?

Feb 28 at 02:45 PM

130

avatar image

Hi,

Is there a way to have a where used functionality for ABAP CDS views, eg in which other CDS views, ABAP programs, classes, ... is a certain ABAP CDS view reused?

This in order to find out what the impact will be if a certain change is done in a ABAP CDS.

Cheers

Eddy

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Eddy De Clercq Mar 01 at 09:41 AM
1

Hi,

I've already tried that, but I'm getting the message "Where-used is not supported at this position. Select a supported object and perform the search again".

Cheers

Eddy

Share
10 |10000 characters needed characters left characters exceeded
Sathya Gunasekaran Feb 28 at 03:39 PM
0

Right click on the view name ( the one after the define view statement) and choose get where used list...

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member
Mar 20 at 02:03 PM
0

Hi Eddy,

In t-code SDDLAR (CDS Analysis and Repair Tools) in backend ABAP system, you can find other ABAP CDS views consuming the current view based on name.


Choose option 'Display DDL Source' and click on 'Analyze' button.
In the 'Regular Expression (partial match)' section, provide the name of ABAP CDS for which you want to do where used and check the 'Ignore Case' flag.
Click Execute.

It will scan through the other ABAP CDS views to find the name of the searched view in their code.
Since this is a code scan of the ABAP CDS, it might also return some additional results based on usage of name as regular expression.

-Nabhish

Share
10 |10000 characters needed characters left characters exceeded