Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

Using Design Studio with SAP HANA end to end-Part 1

$
0
0
In this blog post I would like to share my experiences in installing and configuring the HANA front end in order to consume HANA Views in Design Studio with or without a BI Platform in place. There are a couple of pitfalls that you will need to watch out for, so I hope this post will be useful for others. This is part 1, it covers the installation of SAP HANA Client and Studio for local connectivity from Design Studio to SAP HANA. In part 2 of this blog post, I will go into into the connection through the BI Platform and use some HANA variables and HANA hierarchies.
I am using Design Studio 1.1 and HANA Revision 58.
Here our plan:
  1. Install SAP HANA Client and SAP HANA Studio (Covered here in part 1)
  2. Create an ODBC Connection to SAP HANA (Covered here in part 1)
  3. Create an OLAP Connection to SAP HANA in the BI Repository (coming soon in part 2)
  4. Using HANA Hierarchies and HANA Variables in Design Studio (coming soon in part 2)

 

1. Install SAP HANA Client and SAP HANA Studio

In order to connect to SAP HANA system, you will need to install two programs (around 300 MB in total):
-SAP HANA Client. This installer will provide the needed connectivity (e.g. a special ODBC connector) from your local computer to your SAP HANA server.
-SAP HANA Studio. This installer will provide the user interface to SAP HANA, so we can model data e.g. a construct like a calculation view.
Go to the Service Market Place http://service.sap.com/support, and navigate to the following path:
-Software Downloads
-Support Packages and Patches
-Browse out Download Catalog
-SAP In-Memory (SAP HANA)
-HANA Platform Edition
-SAP HANA PLATFORM EDITION
-SAP HANA PLATFORM EDIT. 1
-Comprised Software Component Versions:
1.png
There is a 32-bit and 64-bit installer of both tools. Although my laptop runs on a 64-bit Windows 7 OS System, I will download the 32-bit version of SAP HANA Client and Studio, keeping in mind that we need the 32-bit connectivity for 32-bit Tools, e.g. for ODBC local connectivity from Design Studio, Information Design Tool, or Microsoft Office Excel which in my case is also a 32-bit installation.
For the SAP HANA Client, download the corresponding revision, which today for me, is revision 58, the file name is “IMDB_CLIENT100_58-10009665.SAR”:
HANA_Clients.png
For the SAP HANA Studio, download the corresponding revision, which today for me, is revision 58, the file name is “IMC_STUDIO100_58-20007646.SAR”:
HANA_Studio.png
After downloading both *.SAR files, I can uncompress them by a double click, afterwards a folder will be created for SAP Client and Studio:
InstallationPath.png
In the SAP_HANA_CLIENT Folder, execute the file "hdbsetup.exe":
HANA_Client_Installation_0.png
and go through the short installation procedure:
HANA_Client_Installation.png
After a succesful installation of the SAP HANA Client, go back to the SAP_HANA_STUDIO Folder, and execute the file "hdbsetup.exe":
HANA_Studio_Installation_0.png
and go through the short installation procedure:
HANA_Studio_Installation.png
After installing SAP HANA Client and SAP HANA Studio, we can navigate to the Windows Sart menu go to "All Programms" , "SAP HANA" and hit "SAP HANA Studio":
Start_HANA_Studio.png
Unfortunately an error message appears and SAP HANA Studio would not start:
Error.png
The following KBA explains the reason and explains how to solve the issue: 1859686 - HANA Studio does not start
In my case, changing the -VM argument in my hdbstudio.ini file (C:\Program Files (x86)\SAP\hdbstudio\hdbstudio.ini) solved the issue:
C:\WINDOWS\system32\javaw.exe - bad one
C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll - correct one
After making the changes to the hdbstudio.ini file, HANA Studio will now successfully start:
HANA_STUDIO_FINAL.png

2. Create an ODBC Connection to SAP HANA

After succesfully installing SAP HANA Studio, we can go ahead and create an ODBC Connection to a SAP HANA instance. Note that this step is well covered here http://scn.sap.com/docs/DOC-33567, I will go through it though for the sake of completeness. With a local ODBC connection to SAP HANA, you will
For this, you will need the 32-bit ODBC Data Source Administrator available form this location in windows 7:
"C:\Windows\SysWoW64\odbcad32.exe".
Once there, choose to create a new system DSN and select the HANA ODBC driver (which came along with the installation of SAP HANA Client):
ODBC1.png
Give a name to the connection, and fill out with your HANA Server and port:
ODBC2.png
Afterwards Start Design Studio and observe that a ODBC Connection to SAP HANA is available from within the preferences dialog:
DesignStudio.png
After clicking on add data source, we can select the newly created connection and consume the existing HANA views there:
Connection.png
Thanks for reading part 1 of this blog post and stay tuned for part 2 where I connect through the BI Platform and use some features from HANA like variables and Hierarchies in Design Studio.
Related Links:
-HANA Help documents: http://help.sap.com/hana_platform
-HANA Academy - Installing the SAP HANA Studio and SAP HANA Client tools: http://www.youtube.com/watch?v=Nkhixj-ELFw
-KBA 1859686 - HANA Studio does not start: http://service.sap.com/sap/support/notes/1859686
-Design Studio 1.0: Connect to SAP HANA: http://scn.sap.com/docs/DOC-33567

Viewing all articles
Browse latest Browse all 4216

Trending Articles



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