Connect to SAP HANA Database using VBA

半世苍凉 提交于 2020-07-11 05:23:13

问题


I am trying to fetch data into Excel from SAP HANA database using vba. I came across the below questions.

  1. Do I need to install SAP HANA MDX Provider for this? If yes, please provide the link. I am unable to spot any.

  2. What would be the vba script that I should write to connect to HANA DB?

Please help me out on this.

Thanks in advance.


回答1:


Haven't done this with VBA as Excel has other ways to connect to HANA. Hope this helps:

  • Using MDX: https://blogs.sap.com/2017/02/17/connecting-ms-excel-to-sap-hana-using-mdx/
  • Using OData: https://blogs.sap.com/2017/05/02/sap-hana-on-a-whim-a-bing-map-in-my-ms-excel-from-an-anonymous-odata-service/

Cheers!



来源:https://stackoverflow.com/questions/43585653/connect-to-sap-hana-database-using-vba

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!