Symptom
- After the 2608 upgrade, custom CDS views that use cost center data sources as primary data source return no records.
- I_CostCenter
- I_PRACostCenter
- The custom CDS view is "External API" scenario.
Environment
SAP S/4HANA Cloud Public Edition 2608
Reproducing the Issue
- Call a OData service based on Custom CDS View (external API scenario) that uses I_CostCenter as the primary data source.
- Observe the response returns no records.
Cause
- With release 2608, I_CostCenter was updated to add company code-based authorization (for example, F_BUKRS_MD), and custom CDS views require republishing to update access protection. For more information, please refer to the following documentation:
- In landscapes where systems are on different releases (for example, test on 2608 while development/production are on 2602), transporting from an older system does not include the updated authorization model, resulting in empty responses due to missing authorization.
Resolution
- Ensure all relevant systems in the transport path (development/customizing, test, production) are upgraded to release 2608.
- In the development/customizing system, open each impacted custom CDS view that uses I_CostCenter.
- Republish the custom CDS views to update their access protection as prompted by the rework task.
- Transport the republished custom CDS views to test and production systems.
- Re-test the OData calls to confirm that cost center records are returned as expected.
Workaround (before all systems are in the same release - 2608)
- Create a communication arrangement for communication scenario SAP_COM_0943.
- Assign the communication arrangement to the communication user used by the custom communication scenario where the external API is included.
See Also
Restricted Access to Cost Centers Based on Company Code | Help Portal
3761179 - Restricted Access to Cost Centers Based on Company Code Now Enabled
Keywords
2608, i_costcenter, custom cds view, odata, zero records, empty response, authorization, f_bukrs_md, company code restriction, republish, access protection, transport, btp, su53, sap_com_0943 , KBA , CO-OM-2CL , Overhead Cost Controlling (Public Cloud) , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem
Product
SAP S/4HANA Cloud Public Edition 2608
SAP Knowledge Base Article - Public