SAP Knowledge Base Article - Public

3735855 - Error "Entity I_PRODUCTDESCRIPTIONTP_2 with provider contract TRANSACTIONAL_INTERFACE is not allowed" during OData service metadata compile

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

  1. Open the $metadata of the affected custom OData service in the impacted client.
  2. Authenticate with basic authentication, if prompted.
  3. 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

  1. Create a CDS projection view on top of I_PRODUCTDESCRIPTIONTP_2.
  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.
  3. If the service does not compile and blocks changes, temporarily activate the feature toggle IC_RAP_RESTRICTED_CDS_EXPOSURE to bypass the contract check.
  4. Perform steps 1–2 and verify that the $metadata loads without errors.
  5. Deactivate the feature toggle IC_RAP_RESTRICTED_CDS_EXPOSURE after completing the changes.
  6. 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

Product

SAP S/4HANA Cloud Public Edition 2502