Data source &1 is an External API and cannot be used in custom CDS views

Message type: E = Error

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

Message number: 081

Message text: Data source &1 is an External API and cannot be used in custom CDS views



What causes this issue?

If data sources and included elements have been exposed in an external
API scenario, they can't be used as primary data sources for a custom
CDS View.


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?

Select a different data source which has not been exposed as OData API.


Procedure for System Administrators


Error message extract from SAP system. Copyright SAP SE.