SAP Knowledge Base Article - Public

2957528 - How to preview data from the CDS view I_ProfitCenterHierarchyNode.


  • No Data is displayed from the data preview of standard CDS View I_ProfitCenterHierarchyNode.

“Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.“


  • Financial Accounting (FI).
  • SAP S/4HANA Finance.
  • SAP S/4HANA Cloud.

Reproducing the Issue

  1. Go to App Custom CDS Views.
  2. Search for the CDS view I_ProfitCenterHierarchyNode.
  3. Select to open the CDS view.
  4. Press the Preview button in the bottom right.
  5. Preview_no_data.PNG 


CDS view I_ProfitCenterHierarchyNode is defined with annotation AccessControl.authorizationCheck: #PRIVILEGED_ONLY, that means only analytical queries could consume these data.



Create own custom CDS View with namespace YY1_  to preview the data based on I_ProfitCenterHierarchyNode by following the given steps:

  1. Go to App Custom CDS Views.
  2. Click on the Create button.
  3. In the pop-up, give the mandatory field values.
  4. Select the scenario Standard CDS View in dropdown.
  5. Click on the Create buttom.
  6. Under the data source tab, add the Primary Data Source as I_ProfitCenterHierarchyNode.
  7. Go to the Elements tab and press the add button and select Elements.
  8. In the pop-up menu, search with the keyword ProfitCenter.
  9. Under the menu I_ProfitCenterHierarchyNode, select checkbox for ProfitCenter and press the OK button.
  10. Press the Save button.
  11. Press the Publish button.
  12. After the customer CDS view is publish press the Preview button.




See Also

To know about access control, refer to KBA 2725274 - Access to CDS Entities is unconditionally blocked by CDS Access Control


custom, cds, views, to, be, deprecated, I_ProfitCenterHierarchyNode, app, id,  F1866, F1866A, S4_PC, BC-SRV-APS-GKE, FI-FIO-GL, FI-GL-IS , KBA , FI-GL-IS , Information System , FI-FIO-GL , Fiori UI for General Ledger Accounting , FI-GL-IS-2CL , Information System (Public Cloud) , BC-SRV-APS-GKE , Generic CDS Key User Editor , How To


SAP S/4HANA Cloud 2005