cancel
Showing results for 
Search instead for 
Did you mean: 

Can I point a virtual table to a view via SDA Virtual Connection

patrickbachmann
Active Contributor
0 Kudos

Hi folks,


Is it possible to consume a modeled view via Virtual Connection?  ie: instead of table create a virtual connection to "_SYS_BIC"."VIEWNAME"?  I'm experimenting with this and getting Error opening the cursor for the remote database.  So I'm tinkering with authorizations however in the back of my mind I'm wondering if it's because it's not possible.


Steps I've done;


1) In Enterprise HANA system A created a view.

2) In BW on HANA system B created a virtual connection to system A

3) In BW on HANA system B created a virtual table that uses above two steps to consume a view

4) Data preview on the virtual table


Error opening the cursor for the remote database [SAP AG][LIBODBCHDB SO][HDBODBC] General error;2048 column store error: [2950] user is not authorized :  for query "SELECT "


Thanks,

-Patrick

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182114
Active Contributor
0 Kudos

Hi Patrick,

The user of remote connection can execute the view directly on remote system?

I'd suggest you to play remove the apply privileges of the view on remote system and try again (I expect it ran).

I'm thinking if this can help you if you try use it on modeling.

I followed steps 1 to 4 on a sample here and couldn't reproduce what you are facing.

Regards, Fernando Da Rós

patrickbachmann
Active Contributor
0 Kudos

Thanks Fernando,

That was my exact thought to try next, except I don't have authorization for this user.  I'm getting some red tape with the folks that are handling this for me and wanting to create a copy of the user so I'm muddling through this.

-Patrick

patrickbachmann
Active Contributor
0 Kudos

Also I can do data preview on virtual tables that are pointing to TABLES in system A however it's just when I setup a virtual table pointing to a VIEW that is failing.