Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Consume HANA models via OData

$
0
0

Hi,

 

we are implementing an HANA sidecar scenario, so we are using SLT to replicate some tables from ECC to HANA DB.

In the context of this project we are also implementing some SAPUI5 applications using data from HANA.

 

At a first glance we were thinking to use the SAP NetWeaver Gateway with HANA, but it seems that this scenario is not suggested for productive use due to some constrains:

 

SAP HANA analytic privileges are not supported on the ABAP side. Therefore SAP NetWeaver Gateway with HANA can only be used with a service user.Since the ADBC (ABAP Database Connectivity) interface uses only one defined database user to connect to the SAP HANA database it is not possible to apply an SAP HANA analytical privileges concept within the SAP NetWeaver Gateway integration. As a workaround solution a new authorizations object /IWHDB/HAI is available. With the help of this authorization object you can restrict access to the SAP HANA artefacts during runtime. In addition, the model provider class and data provider class contain protected hook methods for authority checks. The default implementation of these authority check methods contain the authority check for the authorization object /IWHDB/HAI. Customers have the possibility to enhance these methods by redefinition in the inherited classes.Thus SAP NetWeaver Gateway with HANA offers limited productive usability until the corresponding trust relationship between SAP NetWeaver Gateway and HANA can be supported in SAP NetWeaver Application Server ABAP.

Source

 

After this statement we decided that this approach has not to be considered.

We are thinking to use native SQL call directly to HANA views and create OData model and data source.

Which is the current recommendation in order to consume HANA views via OData services (preferably using SAP Gateway) and leverage on the HANA analytic privileges?

 

Thank you

Ivan

 

Some version details

ECC NW 7.01

Gateway NW 7.4

HANA DB 1.00.70.00.386119


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>