Symptom
When adding an element whose type is Association in an External API, error message "Exposure of non-customer CDS view: Not allowed for an External API(CDS view). APS_CCV_SCENARIO/002." shows up.
Environment
SAP S/4HANA Cloud
Reproducing the Issue
1. Create an External API via app Custom CDS Views.
2. Add a primary data source.
3. Add an element whose type is Association.
4. Error message: Exposure of non-customer CDS view: Not allowed for an External API. APS_CCV_SCENARIO/002.
Resolution
In an external API scenario, it's not possible to expose associations to an SAP View due to stability reasons. If SAP would add an element to that view (compatible change), the OData would change incompatibly.
Keywords
Exposure of non-customer CDS view: Not allowed for an External API, APS_CCV_SCENARIO/002, delete element, External API, CDS view , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem
Product
SAP S/4HANA Cloud all versions