Symptom
- A custom analytical query does not fetch data for a specific company code in one client (development system), while the same code returns data in a parallel client (starter customizing tenant).
- The underlying standard CDS view used by the custom CDS view returns no records for the company code in the affected client.
- In the KPI dashboard, values for company code are not shown.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Custom Analytical Queries and Services app and run the custom analytical query that uses the custom CDS view as data source.
- In the Custom CDS Views app, open the custom CDS view.
- Note its primary data source (the standard released CDS view).
- In the data browser, filter the standard CDS view by the affected company code in the affected client (development system).
- Observe that no data is returned. In the relevant KPI dashboard also no data for the company code is shown.
Cause
- The CDS view requires available master data to resolve parameter/value lists; when none exist for the company code in that client, prompts cannot list values.
- Cross-client data sourcing (using data from another client like starter customizing tenant to design in the current client like development system) is not supported.
Resolution
Provide minimal data in the affected development client:
- Maintain the company code master and required configuration.
- Create a small set of test postings so the standard CDS view and the custom query return at least one record.
- Configure CDS view Input Controls/prompts so that the value can be resolved.
Now data for company code can be seen for company code in cds view and in KPI dashboard.
See Also
Keywords
KPI dashboard, input control, prompt, parameter values, custom analytical query, custom cds view, standard cds view, I_GLAcctLineItemSemTagGLAcct, company code, client, no data returned, value help, metadata, master data, parallel client, development system , KBA , FI-FIO-GL-HIE-2CL , Hierarchy Applications in General Ledger (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public