Connecting to SAP BW with Excel PivotTables and ODBO



Similar documents
Connecting to SAP BW with Microsoft Excel PivotTables and ODBO

Connecting to SAP HANA with Microsoft Excel 2010 PivotTables and ODBO

Creating a connection using Microsoft Excel 2007, 2010, 2013

Connecting to SAP HANA with Microsoft Excel 2007 PivotTables and ODBO

Create a PivotTable or PivotChart report

Microsoft Excel: Pivot Tables

How to Connect to CDL SQL Server Database via Internet

Making Data Available on the Web

Account Create for Outlook Express

How to set up Outlook Anywhere on your home system

An Introduction to Excel s Pivot Table

Using your Bluetooth laptop with the Logitech wireless hub

EXCEL FINANCIAL USES

Microsoft Query, the helper application included with Microsoft Office, allows

Pivot Tables & Pivot Charts

An Introduction to Excel Pivot Tables

Use the below instructions to configure your wireless settings to connect to the secure wireless network using Microsoft Windows Vista/7.

Sample- for evaluation purposes only! Advanced Excel. TeachUcomp, Inc. A Presentation of TeachUcomp Incorporated. Copyright TeachUcomp, Inc.

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Set up Outlook for your new student e mail with IMAP/POP3 settings

PowerSchool Student Information System

Using Entrust certificates with Microsoft Office and Windows

Creating a Patch Management Dashboard with IT Analytics Hands-On Lab

Mail Merge Creating Mailing Labels 3/23/2011

How To Create A Powerpoint Intelligence Report In A Pivot Table In A Powerpoints.Com

This tutorial provides detailed instructions to help you download and configure Internet Explorer 6.0 for use with Web Commerce application.

User Profile Manager 2.6

FileMaker Pro and Microsoft Office Integration

Avery Wizard: Using the wizard with Microsoft Word. This is a simple step-by-step guide showing how to use the Avery wizard in word

Setting Up Database Security with Access 97

Install the Production Treasury Root Certificate (Vista / Win 7)

Outlook Connector. Version 2 User Manual. client-side plugin. Collaborate Using Outlook. Version 2.0.0

ITS Training Class Charts and PivotTables Using Excel 2007

Crystal Reports Installation Guide

Excel Pivot Tables. Blue Pecan Computer Training Ltd - Onsite Training Provider :: :: info@bluepecan.co.

ONBASE OUTLOOK CLIENT GUIDE for 2010 and 2013

Jolly Server Getting Started Guide

Alteryx Predictive Analytics for Oracle R

Windows Live Mail Setup Guide

Last updated: 10/02/2009. SQL Info Pack. for new or existing PATGuard users who are considering SQL database formats for their PAT records. Rev 1.

SAP BW - Excel Pivot Chart and Pivot Table report (Excel)

Configuring Outlook 2013 For IMAP Connections

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access

SAP BusinessObjects Business Intelligence Suite Document Version: 4.1 Support Package Patch 3.x Update Guide

Excel Database Management Microsoft Excel 2003

5. For Display name, Your Full Name or the name you want to appear in the from box when writing or responding to click Next

Configuring SonicWALL TSA on Citrix and Terminal Services Servers

Analyzing Excel Data Using Pivot Tables

Linking Access to SQL Server

TAMUS Terminal Server Setup BPP SQL/Alva

To add Citrix XenApp Client Setup for home PC/Office using the 32bit Windows client.

IMAP and SMTP Setup in Clients

Configure SecureZIP for Windows for Entrust Entelligence Security Provider 7.x for Windows

Exchange Outlook Profile/POP/IMAP/SMTP Setup Guide

Exchange Outlook Profile/POP/IMAP/SMTP Setup Guide

Importing Contacts to Outlook

Using a Remote SQL Server Best Practices

About PivotTable reports

HOW TO BURN A CD/DVD IN WINDOWS XP. Data Projects

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

SECTION 5: Finalizing Your Workbook

How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

Crystal Reports Payroll Exercise

T his feature is add-on service available to Enterprise accounts.

Reporting works by connecting reporting tools directly to the database and retrieving stored information from the database.

Connectivity Pack for Microsoft Guide

How to install and use the File Sharing Outlook Plugin

eadvantage Certificate Enrollment Procedures

Set Up Setup with Microsoft Outlook 2007 using POP3

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

Microsoft App-V 4.5 Management Pack For System Center Operations Manager 2007

Defender EAP Agent Installation and Configuration Guide

Oracle Fusion Middleware

CloudBerry Dedup Server

Business Explorer (BEx)

SimbaO2X Business White Paper

Lab: Data Backup and Recovery in Windows XP

Internet Explorer 7 for Windows XP: Obtaining MIT Certificates

Chapter 2 Editor s Note:

Installation Guides - Information required for connection to the Goldfields Institute s (GIT) Wireless Network

STATEMENT OF TRANSACTION REPORT ANALYSIS USING EXCEL

Microsoft Access Basics

Chapter 4 Accessing Data

Monthly Payroll to Finance Reconciliation Report: Access and Instructions

Excel 2003 PivotTables Summarizing, Analyzing, and Presenting Your Data

Sitecore Ecommerce Enterprise Edition Installation Guide Installation guide for administrators and developers

Installing Microsoft Outlook on a Macintosh. This document explains how to download, install and configure Microsoft Outlook on a Macintosh.

ACT! by Sage. Premium for Workgroups 2007 (9.0) Administrator s Guide to the ACT! Reader Utility

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

3. On the Accounts wizard window, select Add a new account, and then click Next.

USING MS OUTLOOK WITH FUS

Interact for Microsoft Office

The cloud server setup program installs the cloud server application, Apache Tomcat, Java Runtime Environment, and PostgreSQL.

Installation instructions for MERLIN Dashboard

Transcription:

Connecting to SAP BW with Excel PivotTables and ODBO By Amyn Rajan, Bruce Johnston, Dermot MacCarthy TM Excel is considered by some to be the most commonly used BI tool in the world. Excel PivotTables are a practical way to access and analyze SAP BW data. Excel is ubiquitous and well understood, and PivotTables are an excellent way to explore the world of SAP BW data. However, the first hurdle you face, as a new user, is connecting to your SAP BW data source. Connecting PivotTables to a SAP BW data source is relatively straightforward, if you know a few important items that we will outline here. What follows is a step-by-step description of the process that will get you connected to your data. Note that all steps presented here work the same way for Excel 2000, 2002, and 2003. The PivotTable Wizard Connecting to SAP BW and populating an Excel PivotTable is a three-step process. First, you must decide what you want to create. Second, you must specify the data source you want to use. And third, you must use this data source to populate a PivotTable or PivotChart report. It all begins with the PivotTable and PivotChart Wizard. To start the PivotTable and PivotChart Wizard, select the Data menu and click on PivotTable and PivotChart Report... The PivotTable and PivotChart Wizard Step 1 of 3 dialog box will appear. Here is where you choose whether to create a PivotTable or a PivotChart. In this example, we will create a PivotTable, but the process for a PivotChart is similar. Since the new PivotTable must obtain its data from a SAP BW OLAP server, you must select External data source before proceeding to the next step in the wizard. When you click on Next> the PivotTable and PivotChart Wizard Step 2 of 3 dialog box appears. 1

Click on Get Data... This launches Microsoft Query, the tool you use to open existing data sources and specify new ones. The Choose Data Source dialog box appears. Select the OLAP Cubes tab. Note that <New Data Source> is automatically selected. When you click OK to begin defining a new OLAP data source, the Create New Data Source dialog box appears. Creating a New SAP BW Data Source To create a new data source, you will be taken through four steps. The first step is to choose a name for the new data source. We will call ours bwtest. 2

The second step is to select an OLAP provider from the drop-down list. To connect to SAP BW, select the SAP BW OLE DB Provider from the list. The third step is to test the connection to the new data source by clicking on the Connect... button. The SAP Logon dialog box will appear. Select the desired SAP BW system and click OK. You will be prompted to enter your User ID and Password. After you enter your logon information and click OK, you will be returned to step 4 of the Create New Data Source dialog box, where you will choose an InfoCube or QueryCube from the dropdown list. Your PivotTable will be populated from this InfoCube or QueryCube. For this example, we will choose the InfoCube called $0D_DECU, one of the demo cubes. Click OK to finish creating the new data source. You will be returned to the Choose Data Source dialog box. The new data source, bwtest, now appears in the list on the OLAP Cubes tab. The data source has now been created and saved in an.oqy file by Microsoft Query. The next time you want to create a PivotTable from this data source, simply select the OLAP Cubes tab in Microsoft Query, select the data source, and click OK. You won t have to repeat the steps above to reuse an existing data source. 3

Populating the PivotTable Make sure that the data source you want to use is highlighted in the dialog and click OK to return to Excel. You will return to step 2 of the PivotTable and PivotChart Wizard. Now you can either click Next to choose layout and location options for your new PivotTable, or you can just click Finish to accept the PivotTable layout defaults and to locate the PivotTable on the current worksheet. At this point, if you re using Excel XP or Excel 2003, you may see the following error message: This error message is false. If you click OK, the process of creating the PivotTable will continue. If you want to know in detail why this error occurs and how to make it disappear, see Initialization of the data source didn t really fail after all 4

Initialization of the data source didn t really fail after all When attempting to connect to the SAP BW ODBO Provider from Excel XP or Excel 2003, a false error message occurs just before the final logon prompt. This is caused by what can charitably be described as a misunderstanding between Excel and the SAP ODBO Provider. The issue is that newer versions of Excel attempt to perform a silent logon without providing a password, which of course will fail in the case of the SAP ODBO Provider. Perhaps not coincidentally, it actually works fine with the Microsoft Analysis Services ODBO Provider, because Analysis Services uses NT Integrated security by default. (Integrated security relies on the Windows logon credentials of the current user, which saves the user the hassle of having to type in yet another password) You might think that you can stop this error message from appearing by checking the box on the Create New Data Source dialog box that says, Save my user ID and password in the data source definition. Unfortunately, this does not work. This does not work because the SAP BW Provider relies on the SAP Logon control, which encrypts the password and does not provide a decrypted version of it that Excel can use. Fortunately, there is a workaround. Find the.oqy file that was created by MSQuery when you defined your BW data source. It should be in \Documents and Settings\<User>\Application Data\Microsoft\Queries, where <User> is your user name. Note that the Application Data folder is hidden, so you may need to change your Folder Options settings to make hidden files and folders visible. Once you find the.oqy file, open it with Notepad. There should be a line in the file that begins with Connection=. This is an OLE DB connection string. Add the following to this line: Password=<pwd>, where <pwd> is your BW password. You can add this between any of the existing items in the connection string, but it is probably easiest to add it as the first item. For example: Connection=Password=<pwd>;Provider=... Now, save your changes to the.oqy file. The next time you connect with Excel, the error message will not appear, and neither will the SAP Logon dialog box, since the SAP Provider now has enough information to make the connection to BW. The downside to this workaround is that it involves putting your SAP BW password in plain text, in a file on your local hard drive. This is a security risk, so you should decide carefully whether avoiding the unnecessary error message is worth the risk. 5

Before the PivotTable will display, you will be prompted for your SAP BW Password one last time. When you enter it and click OK, the PivotTable appears. The new PivotTable looks virtually identical to any other PivotTable, except that you can see the characteristics from your chosen SAP BW cube in the PivotTable Field List. If you scroll down, you will see key figures in the list as well. 6

You can drag and drop characteristics and key figures onto the PivotTable, just like you would drag fields onto any other PivotTable. The difference is that your data is coming directly from your SAP BW server over a live connection. From here, you can begin to explore the world of your SAP BW data. Exploring your data is an extensive topic, which is not covered here, but now you have the tools to get started. About Simba Technologies (www.simba.com) builds development tools that make it easier to connect disparate data analysis products to each other via standards such as, ODBC, JDBC, OLE DB, ODBO (OLE DB for OLAP), and XML for Analysis. Independent software vendors that want to extend their proprietary architectures to include advanced analysis capabilities look to Simba for strategic data connectivity solutions. Customers use Simba to leverage and extend their proprietary data through high performance, robust, fully customized, standards-based data access solutions that bring out the strengths of their optimized data stores. Through standards-based tools, Simba solves complex connectivity challenges, enabling customers to focus on their core businesses. 7

About the Authors Amyn Rajan is President and CEO of. Amyn has over 14 years experience in custom software development, and is responsible for driving Simba s success as a leader in data connectivity solutions. Prior to Simba, Amyn was a software consultant to Microsoft Corporation where he worked on developing IIS, and Adobe Systems where he worked on developing a multi-media database engine called FETCH and Adobe PageMaker. Dermot MacCarthy is a Senior Computer Scientist with Simba Technologies. Dermot has over 25 years experience in software and technology, specializing in database access and connectivity solutions. Bruce Johnston is a Computer Scientist with Simba Technologies. Bruce has over six years experience in software development, specializing in OLAP and data access. During his time at Simba, Bruce has assumed the roles of architect and lead developer on several OLAP-related projects, including core development and enhancement of the SimbaProvider TM SDK. Prepared for SAP Developer Network 2005 1090 Homer Street, Suite 200 Vancovuer, BC Canada V6B 2W9 Tel. 604.633.0008 Fax. 604.633.0004 Email. solutions@simba.com www.simba.com Simba, SimbaProvider, and SimbaEngine are trademarks of. All other trademarks are the property of their respective owners. 8