Hello Fellow SCNers,
This was the thought which came into my mind a week back….."why can’t we develop something which reads HANA data and showcase in VB.Net application”…that’s where I ended up creating a simple application,just out of my interest. I named it as “SAP HANA Viewer”…yes I didn’t find a better name for this piece of code.
We say that HANA uses different drivers to expose its data to any client application, say jdbc, odbc, odbo, etc. I thought why can’t we use any of these drivers to consume HANA data. Thought about jdbc…Oops... I am not a good Java developer…Ok…let’s use something which I know. Found that odbc can also be used to read the data with some tweaks.
Now which language I can use to develop this application... The first thing which came to my mind is Visual Studio .Net in which I had little hands-on experience
So driver is identified and also the framework. Let’s start coding….This is how I started…and ended up with the following App.Though it may sound silly for core delveopers,just a contribution to our SCN...;-)
SAP HANA Viewer
A standalone application which helps the HANA user to
Architecture
Initial Look:
Login Screen:
Login Screen with credentials entered:
Info about the Views and Server Status:
Info about the Users and Roles:
Selection of Packages from the list:
List of Active/Inactive Objects under different category:
Selection of Views (AT, AN or CV) from the list:
Type of View can be seen and Browse for the Excel location to open the View:
Opened View in Excel:
Few Code Snippets:
Connecting to HANA Server:
Reading the data from Recordset:
Opening Data in Excel:
Thanks for reading.
Comments are always welcome
Rgds,Murali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
40 | |
25 | |
17 | |
14 | |
8 | |
7 | |
7 | |
7 | |
6 | |
6 |