abapcdssap-data-dictionary

How to list all extensions created for a standard CDS view?


I want to know name of all existing extensions in CDS view. Is there any FM or class which can help here? Any class which, accept a CDS view and returns all existing extensions.


Solution

  • Class CL_DD_DDL_EXTENSION_HANDLER and method GET_EXTENSION_DDLNAMES takes the base CDS view name as input, and returns all the CDS views that extend the given view in a table format.