cancel
Showing results for 
Search instead for 
Did you mean: 

Call Procedure authorization error in SQL Console in SAP HANA

abdul_hakim
Active Contributor
0 Kudos

Hi,

I am calling Procedure from SQL Console in SAP HANA studio. I am getting the below error.

Could not execute 'CALL "test999.a4h.book.chapter004::DETERMINE_CONNECTION_UTILIZATION" ('600', 'LH', NULL)' SAP DBTech JDBC: [258]: insufficient privilege: Not authorized

Thanks,

Abdul Hakim

former_member183326
Active Contributor
0 Kudos

Hello,

Please see this guide will which instruct you with this error:

https://blogs.sap.com/2015/10/11/troubleshooting-sap-hana-authorisation-issues/

Run the trace to see what you are missing

Accepted Solutions (0)

Answers (5)

Answers (5)

KodandaPani_KV
Active Contributor
0 Kudos

try the below syntax also

GRANT EXECUTE ON SCHEMA "<YOUR_SCHEMA"> TO "_SYS_REPO" WITH GRANT OPTION;

Thanks,

Phani.

KodandaPani_KV
Active Contributor
0 Kudos

Hi,

give access to "_sys_repo" user

GRANT SELECT ON SCHEMA "<YOUR_SCHEMA"> TO "_SYS_REPO" WITH GRANT OPTION;

david_liu1
Advisor
Advisor
0 Kudos
darshansomaiah1
Participant
0 Kudos

Please use "SYSTEM" user id and login to web IDE and provide the roles to your custom DB user id and try to run the procedure.

Use https://archive.sap.com/discussions/thread/3507480 as reference.

former_member224444
Participant
0 Kudos

Hi Hakim,

It looks like Object privilege issue. Do you have authorization on the package which this procedure is created?

Thanks,

Rithika