Symptom
When trying to Migrate Custom CDS Views in Productive System, it's getting the error message "Items of type Custom CDS Views must not be edited in this system".
Environment
SAP S/4HANA Cloud
Cause
Custom CDS Views are part of Key User Extensibility and therefore are allowed to be changed only in Test Systems and not in Productive System. The Key User Extensibility changes need to be transported with the apps Export Software Collection and Import Collection to be productively available and usable.
Migrating the views is considered a change to these objects, so the message "Items of type Custom CDS Views must not be edited in this tenant" is expected and means that the Custom CDS Views should not be edited in Productive System but in Test System.
Resolution
Use the Test System to migrate Custom CDS Views and then transport the changes to Productive System using the Export Software Collection and Import Collection apps.
See Also
For more details you can check the following documentations:
Keywords
migrate views, productive system, custom CDS views, custom CDS views to be deprecated, items of type custom CDS views must not be edited in this tenant, edit, tenant, test system, p-system, production, views, custom CDS views , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem