Symptom
On accessing the metadata for one of the custom OData URL, the following error occurs:
Entity I_PRODUCTDESCRIPTIONTP_2 with provider contract TRANSACTIONAL_INTERFACE is not allowed.
Environment
SAP S/4HANA Cloud Public Edition 2502
Reproducing the Issue
- Open the $metadata of the affected custom OData service in the impacted client.
- Authenticate with basic authentication, if prompted.
- Observe that the compilation of the service metadata fails with the error.
Cause
- The service references a CDS interface view with provider contract TRANSACTIONAL_INTERFACE (I_PRODUCTDESCRIPTIONTP_2) for exposure.
- With newer runtime checks for restricted CDS exposure, interface views must not be exposed directly in OData services; only projection (and exceptionally base) views are allowed.
- Older releases did not consistently enforce this, so the issue appears after the upgrade.
Resolution
- Create a CDS projection view on top of I_PRODUCTDESCRIPTIONTP_2.
- Replace all references to I_PRODUCTDESCRIPTIONTP_2 in the service design (e.g. value help annotations or service binding metadata) with the new projection view.
- If the service does not compile and blocks changes, temporarily activate the feature toggle IC_RAP_RESTRICTED_CDS_EXPOSURE to bypass the contract check.
- Perform steps 1–2 and verify that the $metadata loads without errors.
- Deactivate the feature toggle IC_RAP_RESTRICTED_CDS_EXPOSURE after completing the changes.
- Apply the same change across all relevant clients before upgrading to a release where the restriction is enforced.
See Also
KBA 3564319 - Error in Service Binding: Transactional Interface Not Allowed
Keywords
I_PRODUCTDESCRIPTIONTP_2, TRANSACTIONAL_INTERFACE, cds interface view, restricted cds exposure, IC_RAP_RESTRICTED_CDS_EXPOSURE, sadl, rap runtime, odata $metadata error, service compilation, value help annotation, projection view, cds projection, provider contract not allowed, service binding error, compile error , KBA , BC-ESI-ESF-BSA , Business Service Adaptation , Problem
SAP Knowledge Base Article - Public