cancel
Showing results for 
Search instead for 
Did you mean: 

HANA SDA Remote Source - Authorization

08-04-2025 5:35 PM
Martin2 Discoverer
698 views 2 comments
0 Likes
SAP Managed Tags
Labels
authorizationHANARemote SourceSDA
Subscribe

I have created a remote source XYZ in HANA DB. Only I can alter this remote source. I have tried to grant authorization to a role so that I can assign this role to others.

GRANT ALTER ON REMOTE SOURCE "XYZ" TO ROLE "REMOTE_SOURCE_ALTER" WITH GRANT OPTION;
I get a syntax error      "near "XYZ"."

Help!

0 Likes
View Entire Topic
Chris1973
Active Contributor
0 Likes

Hi @Martin2 

Thank you for your question.

The syntax error you're getting is likely due to either:

  • Incorrect use of quotes or case in the remote source name.
  • Use of WITH GRANT OPTION without sufficient privileges.
  • Not being the owner of the remote source.

I suggest you try this version:

GRANT ALTER ON REMOTE SOURCE XYZ TO ROLE "REMOTE_SOURCE_ALTER";

Please make sure you're executing it as the user who created the remote source or has the necessary admin rights.

I hope this helps provide clarity for your customer. I am happy to help if you have further questions.

If you find my response helpful, kindly accept the answer and award a Kudos to this post. Your support is appreciated.

Best regards

Chris

Martin2
Discoverer
I have just found out that the error goes away when I delete the word ROLE