Your message has been sent.
This article has been saved to your account.
Go to my account
This article has been emailed to your Kindle.
Send this article
In this article by Mark Walker, author of SAP HANA Starter, you will learn how to perform the most important tasks in SAP HANA.
(For more resources related to this topic, see here.)
Once your application is finished inside SAP HANA, and you can see that it performs as expected inside the Studio, you need to be able to deploy it to your users. Asking them to use the Studio is not really practical, and you don’t necessarily want to put the modeling software in the hands of all your users.
Reporting on SAP HANA can be done in most of SAP’s Business Objects suite of applications, or in tools which can create and consume MDX queries and data.
The simplest of these tools to start with is probably Microsoft Excel. Excel can connect to SAP HANA using the MDX language (a kind of multidimensional SQL) in the form of pivot tables. These in turn allow users to “slice and dice” data as they require, to extract the metrics they need.
There are (at time of writing) limitations to the integration with SAP HANA and external reporting tools. These limitations are due to the relative youth of the HANA product, and are being addressed with each successive update to the software. Those listed here are valid for SAP HANA SP04, they may or may not be valid for your version:
Hierarchies can only be visualized in Microsoft Excel, not in BusinessObjects
Prompts can only be used in Business Objects BI4. Views which use variables can be used in other tools, but only if the variable has a default value (if you don’t have a default value on the variable, then Excel, notably, will complain that the view has been “changed on the server”)
In order to make MDX connections to SAP HANA, the SAP HANA Client software is needed. This is separate to the Studio, and must be installed on the client workstation.
Like the Studio itself, it can be found on the SAP HANA DVD set, or in the SWDC. Additionally, like the studio, SAP provides a developer download of the client software on SDN, at the following link:
Just download the appropriate version for your Microsoft Office installation.
Even if your PC has a 64-bit installation of Windows, you most likely have a 32-bit installation of Office, and you’ll need the 32-bit version of the SAP HANA Client software. If you’re not sure, you can find the information in the Help | About dialog box. In Excel 2010, for example, click on the File tab, then the Help menu entry.
The version is specified on the right of the page:
Just install the client software like you installed the studio, usually to the default location.
Once the software is installed, there is no shortcut created on your desktop, and no entry will be created in your “Start” menu, so don’t be surprised to not see anything to run.
We’re going to incorporate our sales simulator in Microsoft Excel, so launch Excel now.
Go to the Data tab, and click on From Other Sources, then From Data Connection Wizard, as shown:
Next, select Other/Advanced, then SAP HANA MDX provider, and then click Next.
The SAP HANA Logon dialog will appear, so enter your Host, Instance, and login information (the same information you use to connect to SAP HANA with the Studio).
Click on Test Connection to validate the connection. If the test succeeds, click on OK to choose the CUBE to which you want to connect. In Excel, all your Analytic and Calculation Views are considered to the cubes. Choose your Analytic or Calculation view and click Next.
On this screen there’s a checkbox Save password in file – this will avoid having to type in the SAP HANA password every time the Excel file is opened – but the password is stored in the Excel file, which is a little less secure.
Click on the Finish button to create the connection to SAP HANA, and your View.
On the next screen you’ll be asked where you want to insert the pivot table, just click on OK, to see the results:
Congratulations! You now have your reporting application available in Microsoft Excel, showing the same information you could see using the Data Preview feature of the SAP HANA Studio.
Resources for Article :
- SAP NetWeaver: MDM Scenarios and Fundamentals [Article]
- SAP BusinessObjects: Customizing the Dashboard [Article]
- SQL Query Basics in SAP Business One [Article]
eBook Price: $9.99
Book Price: $19.99
About the Author :
Mark Walker has been an SAP technical consultant for over 16 years, starting with ERP, in the ABAP programming area, where he specialized in bespoke programming and optimization. Next up came the BW Business Intelligence platform, again specializing in hard-to-implement solutions, especially in the SEM-BPS and BI-IP (integrated planning—or how to write user data into a cube) modules. He's been working with SAP HANA since 2011 just after it was released, and is a certified Application Associate on HANA since early 2012.