cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP CDS Hierarchy Definition - Not able to Preview

muthuhana37
Explorer
0 Kudos
1,206

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

Accepted Solutions (0)

Answers (4)

Answers (4)

WRoeckelein
Active Participant
0 Kudos

I tried also in my ABAP environment. I did not get an authorization error, but I have currently no values in the table

MKreitlein
Active Contributor
0 Kudos

I'm sorry, I'm no BTP expert... but I would assume the solution is similar to an ABAP system.

In PFCG you need to create or enhance a role with which you can read the table.

I guess as of now, you cannot read it in SE16, either, right?

muthuhana37
Explorer
0 Kudos
No I cannot use any GUI based screens. But just wanted to understand why does it requires authorization it is just as cds view like other cds view definition. I am wondering, why this view has special kind of authorization
muthuhana37
Explorer
0 Kudos

Please ignore this answer

MKreitlein
Active Contributor
0 Kudos

Hello @muthuhana37 

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

muthuhana37
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