SAP Knowledge Base Article - Public

2791403 - Executing OData Service throws error: Deep service inheritance not allowed

Symptom

 Executing OData Service throws error: Deep service inheritance not allowed

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Login to SAP NetWeaver and execute /n/IWFND/MAINT_SERVICE t-code
  2. Select any OData service and click on "SAP Gateway Client"
  3. Click on Execute   

Cause

Issue is with metadata cache

Resolution

  1. Login to SAP NetWeaver and execute /n/IWFND/CACHE_CLEANUP t-code
  2. Click on "Execute" to execute for all models 
  3. Execute /n/IWBEP/CACHE_CLEANUP t-code 
  4. Select the checkbox "Cleanup Cache for all Models" and click on "Execute"
  5. Execute /n/IWFND/MAINT_SERVICE t-code and select the OData service, click on Load Metadata 

Keywords

Deep service inheritance not allowed, execute, OData Service, Load Metadata, cache, metadata cache, SAP NetWeaver , KBA , OPU-GW-COR , Framework , Problem

Product

SAP S/4HANA Cloud all versions