Skip to Content

Where used functionality for ABAP CDS views?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Feb 28 at 03:39 PM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 01 at 09:41 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 20 at 02:03 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 06 at 08:25 AM

    Thomas Fiedler Is there anything planned for the future? I'm still missing that feature (where-used list for DDL Sources/CDS Views) in the latest S/4HANA Release and the latest ADT Version.

    Best regards, Thomas

    Add comment
    10|10000 characters needed characters exceeded