Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Unable to execute the SQL Procedure from SQL Console

$
0
0

Hello HANA Experts,


I am facing the following error with my SQL Script when I tried executing the same from SQL console.

 

CALL WORKSHOPX_00."workshop.sessiona.00.models::get_bp_addresses_by_role_sql"(partnerrole => '02', bp_addresses => ?);

 

Error as shown below

 

Could not execute 'CALL WORKSHOPX_00."workshop.sessiona.00.models::get_bp_addresses_by_role_sql"(partnerrole => '02', ...' in 222 ms 810 µs . SAP DBTech JDBC: [258]: insufficient privilege: Not authorized

 

My user id has the authorization role as shown below and it does have the necessary schema and SELECT authorization on it.

 

Capture.JPG

 

WorkshopAdmin role has the following text

 

role workshop.sessiona.00.data::workshopAdmin

  extends role workshop.sessiona.00.data::workshopUser

{

 

  catalog schema "SAP_HANA_EPM_DEMO": SELECT, INSERT, UPDATE, DELETE, DROP;

  catalog schema "WORKSHOPX_00": SELECT, INSERT, UPDATE, DELETE, DROP;

  catalog schema "_SYS_BIC": SELECT;

  application privilege: workshop.sessiona.00::Admin;

 

 

}

 

Please let me know if I am missing something ?

 

Thanks & Best Regards,

 

Babu Kilari


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>