using design studio with sap hana end to end part 1

15
Generated by Jive on 2013-07-05+02:00 1 SAP BusinessObjects Design Studio: Using Design Studio with SAP HANA end to end- Part 1 Posted by Victor Gabriel Saiz Castillo Jun 16, 2013 In this blog post I would like to share my experiences in installing, configuring and using the SAP HANA front end in order to consume SAP 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 with this task. First of all let's review the available options today for the connection/deployment of Design Studio in regards to SAP HANA: Local: The design studio application is saved in your local computer. The connection to SAP HANA is done through a HANA ODBC driver. SAP NetWeaver: The design studio application is stored in SAP BW, the application can be displayed in the SAP NetWeaver Portal through a Design Studio iView, connections are only possible to the host BW system, therefore no connection to a separate SAP HANA box is possible BI Platform: The design studio application is saved in the BI Platform, the connection to SAP HANA is done through an OLAP connection created in the CMC. With this option you are able to take advantage of the SAP BI mobile application to mobilize your Design Studio applications SAP HANA: The design studio application is saved in the HANA repository. Connections are only possible to the host HANA system. At the time of this writing this option is not available yet. You are now reading part 1 of this blog post, it covers the installation of SAP HANA Client and Studio for local connectivity from Design Studio to SAP HANA. Keep in mind that local connectivity is only useful in certain situations, for instance when you do not have a BI Platform installed or you are preparing for a demo or POC. In part 2 of this blog post, I will go into into the connection through the BI Platform and use HANA variables and HANA hierarchies in a Design Studio application. Through this blog post, I will be using Design Studio 1.1 SP01, HANA SPS 05 Revision 58, BI4.0 SP06 and SAP BusinessObjects Mobile 5.0. Here our overall plan: 1. Install SAP HANA Client and SAP HANA Studio for local connectivity (covered here in part 1) 2. Install Design Studio 1.1 Client and its corresponding BIP add-on (covered in other great Blogs by Tammy Powlas here and by M. van Foeken here) 3. Create a local ODBC connection to SAP HANA (covered here in part 1) 4. Create an OLAP Connection to SAP HANA in the BI Repository (covered in part 2) 5. Using HANA Hierarchies and HANA Variables in Design Studio (covered in part 2) 6. Mobilize the Design Studio Application (covered in part 2) 1. Install SAP HANA Client and SAP HANA Studio In order to connect locally to the SAP HANA system and create an example HANA View, you will need to install two programs:

Upload: roborna

Post on 24-Oct-2015

155 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Using Design Studio With Sap Hana End to End Part 1

Generated by Jive on 2013-07-05+02:001

SAP BusinessObjects Design Studio: UsingDesign Studio with SAP HANA end to end-Part 1

Posted by Victor Gabriel Saiz Castillo Jun 16, 2013

In this blog post I would like to share my experiences in installing, configuring and using the SAP HANAfront end in order to consume SAP 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 forothers with this task. First of all let's review the available options today for the connection/deploymentof Design Studio in regards to SAP HANA:

• Local: The design studio application is saved in your local computer. The connection to SAP HANA isdone through a HANA ODBC driver.

• SAP NetWeaver: The design studio application is stored in SAP BW, the application can be displayed inthe SAP NetWeaver Portal through a Design Studio iView, connections are only possible to the host BWsystem, therefore no connection to a separate SAP HANA box is possible

• BI Platform: The design studio application is saved in the BI Platform, the connection to SAP HANA isdone through an OLAP connection created in the CMC. With this option you are able to take advantage ofthe SAP BI mobile application to mobilize your Design Studio applications

• SAP HANA: The design studio application is saved in the HANA repository. Connections are only possibleto the host HANA system. At the time of this writing this option is not available yet.

You are now reading part 1 of this blog post, it covers the installation of SAP HANA Client and Studiofor local connectivity from Design Studio to SAP HANA. Keep in mind that local connectivity is onlyuseful in certain situations, for instance when you do not have a BI Platform installed or you arepreparing for a demo or POC. In part 2 of this blog post, I will go into into the connection through theBI Platform and use HANA variables and HANA hierarchies in a Design Studio application. Throughthis blog post, I will be using Design Studio 1.1 SP01, HANA SPS 05 Revision 58, BI4.0 SP06 and SAPBusinessObjects Mobile 5.0. Here our overall plan:

1. Install SAP HANA Client and SAP HANA Studio for local connectivity (covered here in part 1)2. Install Design Studio 1.1 Client and its corresponding BIP add-on (covered in other great Blogs by Tammy

Powlas here and by M. van Foeken here)3. Create a local ODBC connection to SAP HANA (covered here in part 1)4. Create an OLAP Connection to SAP HANA in the BI Repository (covered in part 2)5. Using HANA Hierarchies and HANA Variables in Design Studio (covered in part 2)6. Mobilize the Design Studio Application (covered in part 2)

1. Install SAP HANA Client and SAP HANA StudioIn order to connect locally to the SAP HANA system and create an example HANA View, you will needto install two programs:

Page 2: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:002

• SAP HANA Client: This installer will provide the needed connectivity (e.g. a HANA ODBC driver) in orderto connect 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 calculation view or a HANA Hierarchy.

In order to download the software, go to the SAP Service Market Place at http://service.sap.com/support, and navigate to the following path:-Software Downloads-Support Packages andPatches-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:There is a 32-bit and 64-bit installer of both tools. Although my laptop runs on a 64-bit Windows7 OS System, I will download the 32-bit version of SAP HANA Client and Studio, keeping inmind that all other BI Tools are also 32-bit, e.g. Design Studio, Information Design Tool, andeven Microsoft Office Excel is in my case 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

Page 3: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:003

“IMDB_CLIENT100_58-10009665.SAR”:For the SAP HANA Studio, download the corresponding revision, which today for me, is revision 58, thefile name is

“IMC_STUDIO100_58-20007646.SAR”:After downloading both *.SAR files, I can uncompress them by adouble click, afterwards a folder will be created for SAP Client and

Studio:In the SAP_HANA_CLIENT Folder, execute the file

Page 4: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:004

"hdbsetup.exe": Confirmthe standard options and go through the short installation

Page 5: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:005

procedure: Aftera successful installation of the SAP HANA Client, go back to the SAP_HANA_STUDIO Folder, andexecute the file

Page 6: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:006

"hdbsetup.exe":Confirm the standard options and go through the short installation procedure:

Page 7: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:007

Afterinstalling SAP HANA Client and SAP HANA Studio, we can start HANA Studio bynavigating to the Windows Start menu, go to "All Programs" , "SAP HANA" and

hit "SAP HANA Studio": Unfortunately in mycase, I get an error message at this point and SAP HANA Studio would not start:

Page 8: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:008

The following KBA explains thereason and explains how to solve the issue: 1859686 - HANA Studio does not startIn my case, changing the -VM argument in my hdbstudio.ini file (C:\Program Files (x86)\SAP\hdbstudio\hdbstudio.ini) solved theissue: C:\WINDOWS\system32\javaw.exe - wrong oneC:\Program Files (x86)\Java\jre6\bin\client\jvm.dll -correct one

After making the changes to the hdbstudio.ini file, HANA Studio will now start successfully:

Page 9: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:009

2. Install Design Studio 1.1 Client and BIP add-onDesign Studio is a client Tool, but right now it needs an add-on applied to the BI Platform for use in theBI LaunchPad. Follow the steps described in following blogs for step-by-step instructions with lots ofuseful screenshots:BusinessObjects Design Studio 1.1 SP01 is now GA - Installation by M. van FoekenBusinessObjects Design Studio 1.1 SP01 is now GA (Part 2) - Installation BI Platform Add-on on SUSELinux SLES by M. van FoekenHow to Install BI Platform Add-on For Design Studio 1.1 by Tammy Powlas

3. Create an ODBC Connection to SAP HANAAfter successfully installing SAP HANA Studio, we can go ahead and create an ODBC Connectionto 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 ODBCconnection to SAP HANA, you can connect to SAP HANA from Design Studio without havinga BI Platform in place. In order to create a local ODBC connection for Design Studio, Iwill need the 32-bit ODBC Data Source Administrator available from following location inwindows 7:"C:\Windows\SysWoW64\odbcad32.exe".Note that you can also start the ODBCconnection administrator from within the Design Studio preferences window.Once you openthe ODBC connection administrator, choose to create a new system DSN and select the HANAODBC driver named HDBODBC32 (this driver came along with the installation of SAP HANA

Page 10: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:0010

Client):Give a name to the connection, and fill out with your HANA Server and

port: After creatingan ODBC connection, start Design Studio in local mode (hit "skip" when being prompted to log

Page 11: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:0011

in) and observe that a ODBC connection to SAP HANA is available from within the preferences

dialog:After clicking on "Application" and then "Add data source", we can seethe newly created connection to SAP HANA along other entries from your

saplogon.ini: After

Page 12: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:0012

logging in to the newly created ODBC Connection, you can go ahead and search for yourHANA package (called Folder in Design Studio). Inside that folder you will find your analytic andcalculation views. Note that Attribute views are not visible (those do not contain measures):

Notethat not all Analytic and Calculation views from HANA Studio are availablein Design Studio. In order to make Analytic or Calculation views availablefor reporting, make sure that the flag "Multidimensional Reporting" is

enabled:Thanks for reading part 1 of this blog post. In the following link you can continue reading part 2 wherewe will connect to SAP HANA through the BI Platform and use some features from HANA like variablesand Hierarchies in Design Studio:Using Design Studio with SAP HANA end to end-Part 2

Related Links:-HANA Help documents: http://help.sap.com/hana_platform-HANA Installation andUpgrade Information: http://help.sap.com/hana_platform#section2-HANA Academy - Installing theSAP HANA Studio and SAP HANA Client tools: http://www.youtube.com/watch?v=Nkhixj-ELFw-KBA1859686 - 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 961 Views Tags: bi, analytics, design_studio,sapbusinessobjectsdesignstudio, sapdesignstudio, sap_design_studio, sap_zen

Page 13: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:0013

Jun 16, 2013 4:25 PM Adlin Sundararaj

Good Info!

Jun 18, 2013 1:39 PM Meenakshi Chopra

Good information for starting up on Design Studio.

However, once I create the ODBC connection to my HANA DB, the connection is still notvisible in my SAP HANA connections window in Design Studio. Even after I "Reload AllConnections" and even restarted my machine. Please note the Connection was successfullytested while creating the system DSN.

Any idea what could be problem ?

Jun 18, 2013 1:48 PM Victor Gabriel Saiz Castillo Meenakshi Chopra in response to

Hi,

Did you use the 32-bit ODBC connection administrator?

What happens if you launch and create the connection from the ODBC Data SourceAdministrator from within Design Studio, menu Application Design, Backend Connections?

What is your version of Design Studio?

Best regards,

Victor

Jun 18, 2013 3:41 PM Meenakshi Chopra Victor Gabriel Saiz Castillo in response to

Did you use the 32-bit ODBC connection administrator?

Page 14: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:0014

YES, created my first connection thru the administrative tools, which was not visible inDesign Studio HANA connections window.

What happens if you launch and create the connection from the ODBC Data SourceAdministrator from within Design Studio, menu Application Design, Backend Connections?

I initially created the connection from my Admistrative Tools(via the Control Panel).However the connection was not visible in SAP Design Studio so an alternative I createdthe connection from the Backend Connections tab from within the Design Studio with sameresult.

What is your version of Design Studio?

I am currently using SAP Design Studio 1.0

Jun 18, 2013 4:26 PM arun chawra Meenakshi Chopra in response to

I don't think Victor missed anything here... I would suggest try connecting to your HANADatabase from ODBC Data Source (ie TEST connection in ODBC Data Source) . I workedfor me in 1.0 and 1.1 both.

http://noreports.com/sap-design-studio-cannot-view-any-data-sources/

Jun 18, 2013 6:24 PM Rama Shankar

Good steps for starters - thanks!

Jun 21, 2013 5:04 AM Meenakshi Chopra arun chawra in response to

I tried the following options: none of them are helping.

1. I updated the JRE version to 1.7(although it was 1.6 which meets the system reqmts)

2. Re-installed SAP HANA client and Studio

3. Finally installed Design Studio 1.1

Page 15: Using Design Studio With Sap Hana End to End Part 1

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

Generated by Jive on 2013-07-05+02:0015

Now I get a new error when I try to create a ODBC connection via Design Studio

ODBC Driver not found "The ODBC Driver for SAP HANA is not installed. Install the SAPHANA Client for Windows(32 or 64 bit)

Note I am running Windows 7 Enterprise(32 bit)

Jul 3, 2013 12:48 PM Meenakshi Chopra Meenakshi Chopra in response to

The problem is now resolved. Although I had admistrative rights on the machine, I did nothave registry edit rights. Now that my login credentials also have registry edit rights, I amable to see the connections created for SAP HANA server.

Jul 3, 2013 4:17 PM Victor Gabriel Saiz Castillo Meenakshi Chopra in response to

Thanks for sharing.