SAP Knowledge Base Article - Public

3786630 - Custom CDS views based on cost center data sources return no records after 2608 upgrade - SAP S/4HANA Cloud Public Edition 2608

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

  1. Call a OData service based on Custom CDS View (external API scenario) that uses I_CostCenter as the primary data source.
  2. Observe the response returns no records.

Cause

Resolution

  1. Ensure all relevant systems in the transport path (development/customizing, test, production) are upgraded to release 2608.
  2. In the development/customizing system, open each impacted custom CDS view that uses I_CostCenter.
  3. Republish the custom CDS views to update their access protection as prompted by the rework task.
  4. Transport the republished custom CDS views to test and production systems.
  5. 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)

  1. Create a communication arrangement for communication scenario SAP_COM_0943.
  2. 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