You are on page 1of 2

2018-11-26 2105697

2105697 - Activation of Open ODS view on remote


source fails with error insufficient privilege
Version 2 Type SAP Knowledge Base Article
Language English Master Language English
Release Status Released to Customer Category Problem
Component HAN-DB-ENG-BW (SAP HANA BW Engine) Released On 26.05.2016

Please find the original document at https://launchpad.support.sap.com/#/notes/2105697

Symptom

• You have configured HANA Smart data access to access a remote source.
• When you try and activate a BW Open ODS view created on this Smart data access remote source it
fails with the error 'insufficient privilege: Not authorized Message no. RS_EXCEPTION000'.

Environment

HANA Database 1.0

Reproducing the Issue

1. Try to activate BW Open ODS view based on HANA Smart Data Access remote source.
2. Activaton will fail with the error message 'insufficient privilege: Not authorized Message no.
RS_EXCEPTION000'.

Cause

The remote source was not created with the SAP<SID> user and therefore does not have the necessary
privilege to create the virtual table. It is recommended to create the remote source with the HANA SAP<SID>
user. If the remote source has not been created by the HANA SAP<SID> user then the HANA SAP<SID>
user needs the object privilege CREATE VIRTUAL TABLE granted by the owner of the remote source. With
this SQL statement you can find the owner of the remote source: select * from ownership where object_name
= '<Name of the remote source>'.

Resolution

1. Logon to HANA Studio with the user that is the owner of the remote source.
2. Open the SQL Console and execute the following command to GRANT the object privilege CREATE
VIRTUAL TABLE to the SAP<SID> user on the remote source:

Grant CREATE VIRTUAL TABLE on remote source <name of remote source> to SAP<SID>;

Keywords

SAP<SID> user; CREATE VIRTUAL TABLE; owner;

© 2018 SAP SE or an SAP affiliate company. All rights reserved 1 of 2


2018-11-26 2105697

Products

SAP HANA 1.0, platform edition

Other Components

Component Description

HAN-DB-SDA SAP HANA Smart Data Access

© 2018 SAP SE or an SAP affiliate company. All rights reserved 2 of 2

You might also like