2017 Dec 24 12:56 PM
Hi all,
In CDS view, the first line is defined as
@AbapCatalog.sqlViewName: 'ZVIEW1'
My questions is, can 'ZVIEW1' be renamed?
I tried to rename it but got an error of "it cannot be rename cause it has been shipped".
2017 Dec 24 1:43 PM
Hi all,
In CDS view, the first line is defined as
@AbapCatalog.sqlViewName: 'ZVIEW1'
My questions is, can 'ZVIEW1' be renamed?
I tried to rename it but got an error of "it cannot be rename cause it has been shipped".
2017 Dec 24 1:43 PM
2021 Mar 11 1:18 PM
I would like, that this is made to be possible. The simplest reason is a spelling mistakes which can happen any time.
2018 Sep 06 6:28 PM
Hi Eric,
I encountered the same problem. When you first activated your CDS View, SAP generates an active version in the version database table. Because of that, the CDS Entity and the SQL View have been coupled. When you want to change the SQL View name, SAP does not allow because it is looking at the last active version.
So the steps are:
2019 Dec 03 10:33 PM
2025 Apr 01 3:45 PM
This + DDIF_OBJECT_DELETE to delete the SQL view that had been automatically created
2020 Dec 14 7:47 AM
Hi Eric,
Its not possible to rename the sql view name once the view is activated.
if u want to change the view name u have to delete the data definition and recreate the data definition with different sql view name