Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

AMDP call to Procedure: "SQLScript message: insufficient privilege: Not authorized"

Former Member
0 Likes
3,763

Hi!

the syntax check in SE24 reports an error in line 1 in method MY_HANA_PROCEDURE (pls see first screenshot below). If I remove the call to procedure ZTEST in line 247 the syntax check is successfull. Development in SE24 is performed by user ABAPDEVELOPER whilst the procedure ZTEST has been created by user HANADEVELOPER which has been assigned the schema (the procedure is not in schema HANADEVELOPER) to which the procedure belongs the procedure being called (ZTEST) to the 'Object Privileges' (pls see second screenshot below).

Any ideas out there?

Hi!

the syntax check in SE24 reports an error in line 1 in method MY_HANA_PROCEDURE (pls see first screenshot below). If I remove the call to procedure ZTEST in line 247 the syntax check is successfull. Development in SE24 is performed by user ABAPDEVELOPER whilst the procedure ZTEST has been created by user HANADEVELOPER which has been assigned the schema (the procedure is not in schema HANADEVELOPER) to which the procedure belongs the procedure being called (ZTEST) to the 'Object Privileges' (pls see second screenshot below).

Any ideas out there?

2 REPLIES 2
Read only

Former Member
0 Likes
1,301
Read only

jasmin_gruschke
Product and Topic Expert
Product and Topic Expert
0 Likes
1,301

Hi,

please check if all necessary authorizations have been granted to SAP<SID> using report RS_AMDP_SICK.

Is the procedure you want to execute in the catalog, i.e. "_SYS_BIC" schema? Otherwise, you will have to grant the necessary authorizations to SAPHANAABAP (the DB user) for the schema.

Best,

Jasmin