Skip to Content

Attribute View Dynamic Schema

Sep 15, 2017 at 08:37 AM


avatar image

Dear SAP Hana Experts,

I have developed a SAP Hana App which contains some Atribute Views, Update and Inserts are done using B1 Service Layer. And on our system we have multiple schemas of B1. The functionality that we need is like the same as SAP Business One, which every time the user can select a different CompanyDB! but in web based.
We have no problem with Update, and Insert, but for our Views, is there a way to pass the schema name to the view while calling it? For example user A logs in with schema DEV1 and loads data from that schema and user B logs in to schema DEV2 and loads data from that schema.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Lars Breddemann
Sep 16, 2017 at 02:14 AM

nope, there is no option for that.

The easiest solution would be to deploy the views for each schema.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thanks for your reply.
How about using custom query in xsjs? With that I could successfully load data and bind it to my tables. Is there any problem that would I face in the future?


Who knows? Personally, I cannot see into the future.