Skip to Content
Dec 16, 2019 at 11:39 PM

Cross-Database / Cross-Tenant access in XSA HDI.


Hi experts.

I would like to know, if there is any way to make an XSA HDI container access classic schema tables from two distinct tenants in the same database instance. To let me build synonyms and then calculation views using those synonyms.

In the classic XS repository, it was possible to do this by setting a cross tenant schema mapping and adding a "Remote identity" to SYS_REPO user from one tenant to another, like described in this post:

At this moment, looks like create a "Remote Source" could be an option in HDI, but I’m afraid that this approach could leads to higher materializations between those two tenants than the "Remote identity" approach, is it true?

And there is also in the "SAP HANA Administration Guide" at "Remote Source" section, something that bothers me:

"The remote source cannot point to the local SAP HANA instance. This scenario, which is called a loopback can return unexpected query results, and is not a supported scenario."

Is it talking about tenants inside the same database instance (eg: SID: S4H Instance number:00) ?

Could someone point me some directions about how to make the HDI container access data from two distinct tenants in the same database instance?

Thanks in advance.