External API is not allowed for "Privileged Only" protected views.

Message type: E = Error

Message class: APS_CKE_PARSER - CDS Key user tool - AST handler messages

Message number: 080

Message text: External API is not allowed for "Privileged Only" protected views.



What causes this issue?

Certain SAP views and custom CDS views built on top of these views
have a special access protection (privileged access only).
These views are intended to be used as associations mainly and cannot be
used as primary data source of a custom CDS view that is used as
External API.


System Response

The system issues an error message and will not allow you to continue with this transaction until the error is resolved.



How to fix this error?

Please select a view without privileged access protection as your
primary data source in order to enable the External API scenario. Add
a view with privileged access protection as an association if required.


Procedure for System Administrators


Error message extract from SAP system. Copyright SAP SE.