Hello,
I'm having similar problems to many other folks around the Using HANA Modeler in the SAP HANA Cloud tutorial.
I have my DEV_ schema and my NEO_ schema and a package in which I can create HANA views.
I have performed:
GRANT SELECT ON SCHEMA DEV_... TO _SYS_REPO WITH GRANT OPTION,
GRANT SELECT ON SCHEMA NEO_... TO _SYS_REPO WITH GRANT OPTION.
As the DEV_ user, I have created identical tables BUT000 in the DEV_ schema and the NEO_ schema, and I want to create HANA views on top of them (whichever works).
What does work: I can create a Scripted Calc view on top of the NEO_....BUT000 table.
Activation is successful. Then I perform
CALL "HCP"."HCP_GRANT_SELECT_ON_ACTIVATED_OBJECTS"
and I can see the view under _SYS_BIC.
I can perform Open Content or SELECT against _SYS_BIC.<package>/<view> and see the data.
When I try a Data Preview, I have insufficient privileges, but that seems to be a well-known restriction in the trial instances.
What doesn't work:
I can not create (let alone activate or use) any of the graphically modeled HANA views and reference any of the tables in my NEO_... schema. The tables cannot be dragged and dropped into the editor view, and they do not appear in the Find list.
What works half-way:
Only tables from the DEV schema appear in the lists or can be dragged and dropped into the graphical editors. I can create the graphically modeled HANA view types like Attribute view and Graphical Calc View and drag and drop tables from the DEV_... schema. I'm able to activate these HANA views, but performing CALL "HCP"."HCP_GRANT_SELECT_ON_ACTIVATED_OBJECTS" on them fails because of insufficient privileges. Consequently, these views do not show up under _SYS_BIC and cannot be selected against.
This seems reasonable to me because the DEV schema is the private developer schema and it is okay if these objects are not used in the final app, to which the package is assigned.
However, what doesn't appear reasonable to me is that the tables in the NEO schema can not be dragged and dropped into the graphical editors. This bars me from using all view types except for Scripted Calc views.
Does anyone have an idea how this can be fixed?
Thanks,
Thorsten