cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP CDS Hierarchy Definition - Not able to Preview

muthuhana
Explorer
0 Kudos

Hello Team,

I was unable to preview the data for the Hierarchy Definition CDS view. It says there was some authorization checks failure. I want to apply Hierarchy aggregate functions on this CDS view but it fails to return the data.

Screenshot 2024-05-01 at 3.34.25 PM.pngScreenshot 2024-05-01 at 3.34.02 PM.png

Please note that this issue is occurring in both trail and productive versions. Please let me know how to resolve this error.

Edit: When I took Authorization traces, it clearly says Authorization S_TABU_NAM Read & Write is getting failed. But How do I resolve this authorization issue ?

Thanks a lot.

Best Regards,

Muthu

WRoeckelein
Active Participant
0 Kudos
Data Preview for Hierarchy works for me in S/4HANA 2023 FPS01. Perhaps some auth issue in the underlying view?
muthuhana
Explorer
0 Kudos
Actually I am using BTP ABAP Environment, I was unable to get the data by consuming it in the Open SQL
muthuhana
Explorer
0 Kudos
Yes authorization issue are there for S_TABU_NAM but not sure how to resolve in the BTP ABAP Envrionment
View Entire Topic
MKreitlein
Active Contributor
0 Kudos

Hello @muthuhana 

Have you checked SU53 directly after executing the preview?

Might be there is another CDS view in the underlying views, from which yours is selecting data?

BR, Martin

muthuhana
Explorer
0 Kudos
Hello Martin, I am facing authorization issue on the object S_TABU_NAM for READ & WRITE. Lower CDS view don't have DCL