Symptom
Access to SAP HANA Cloud of SAP Datasphere by database users at the space level. For more information about database users at the space level: User Management.
When the database user executes a SELECT statement on a view which has been exposed and shared from another space, the following error message occurs:
Could not execute 'Select * from "<spaceID>"."<viewID>"' Error: (dberror) [259]: invalid table name: Could not find table/view <viewID> in schema <spaceID>: line *** col *** (at pos ***)
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP Datasphere
Reproducing the Issue
- Deploy a view which has been enabled "Expose for Consumption" in space A.
- Share the exposed view from space A to space B.
- Create a database user with full privileges in space B.
- Open SAP HANA Database Explorer by the created database user.
- Execute the SELECT statement for the shared view.
Cause
After views are shared from space A to space B, they are accessible in space B only at the tenant level, not at the database level, due to product design.
Resolution
There is an enhancement request for this point: https://influence.sap.com/sap/ino/#/idea/320530/?section=sectionDetails.
The alternative way is to create and expose a new view in Space B based on the shared view so it can be accessed at the database level.
See Also
Keywords
views not visible, views not accessible, remote source, space management, database analysis user , KBA , DS-SM , Space Management , DS-MD-VIW , Views , Problem
SAP Knowledge Base Article - Public