• No results found

SAP BW on HANA & HANA Smart Data Access Setup

N/A
N/A
Protected

Academic year: 2021

Share "SAP BW on HANA & HANA Smart Data Access Setup"

Copied!
7
0
0

Loading.... (view fulltext now)

Full text

(1)

SAP BW on HANA & HANA Smart Data Access

(2)

2

TABLE OF CONTENTS

WHAT ARE THE PREREQUISITES FOR SAP HANA SMART DATA ACCESS? ... 3

Software Versions ... 3

ODBC Drivers ... 3

HOW TO CONNECT A REMOTE SOURCE AT A GLANCE? ... 3

(3)

SAP BW ON HANA & HANA SMART DATA ACCESS - SETUP

3

WHAT ARE THE PREREQUISITES FOR SAP HANA SMART DATA ACCESS? Software Versions

You have installed SAP HANA SP7 and the remote data sources are available.

ODBC Drivers

You have installed the ODBC drivers for the databases you want to connect see SAP note 1868702 on each HANA node. If you installed ODBC drivers in your HANA exe directory as per note 1868702 these ODBC drivers will be removed during a revision update and have to be installed again after the update.

HOW TO CONNECT A REMOTE SOURCE AT A GLANCE?

In the HANA Studio under System Provisioning Remote Sources

Picture 2: Creating a new remote source

(4)

4

Picture 3: Connection Properties

For details on how to connect the databases for SAP HANA Smart Data Access as remote sources seethe SAP HANA Administration Guide System Administration and Maintenance Information SAP HANA Administration Guide (About SAP HANA Smart Data Access Adding Remote Data Sources).

Necessary Privileges:

For creating remote sources, the system privilege CREATE REMOTE SOURCE is required. For creating virtual tables, the object privilege CREATE VIRTUAL TABLE is required.

It is recommended to create the remote source with the HANA SAP<SID> user. If the remote source has not been created by the HANA SAP<SID> user, then the HANA SAP-<SID> user needs the object privilege CREATE VIRTUAL TABLE, granted by the owner of the remote source.

With this sql statement you can find the owner of the remote source:

select * from ownership where object_name = '<Name of the remote source>'

(5)

SAP BW ON HANA & HANA SMART DATA ACCESS - SETUP

5

HOW TO VALIDATE THE REMOTE SOURCE CONFIGURATION?

In general there is a check option available inside the remote source configuration in the HANA Studio. Furthermore there is a tool available which can be accessed via the console for further details.

In the console in path /usr/sap/SID/home you can execute the following command example. This checks drivers and dependency files of a given data source type, in this case an SAP IQ database.

hdbsdautil -t iqodbc -S "

Driver=libdbodbc16_r.so;DatabaseName=SAPNLSDB;ServerName=SAPNLS_SERVER;CommLinks=tcpip( host=ld9455.wdf.sap.corp;port=2640)" -U TEST -P testtest –info

(6)

6

You can also query e.g. a table after having connected to the remote database with the following command. stsadm@ld9204:/usr/sap/STS/home> hdbsdautil -t iqodbc -S "

Driver=libdbodbc16_r.so;DatabaseName=SAPNLSDB;ServerName=SAPNLS_SERVER;CommLinks=tcpip( host=ld9455.wdf.sap.corp;port=2640)" -U TEST -P testtest -Q "select * from

SAPKIT_SDA.YSB_GEN_TABLE2" –nr

Example Output:

The general syntax is as follows:

Usage

hdbsdautil -t <data source type> -S <DSN or string> U <username> P <password>]] Q <SQL>] nr] [-info]

Arguments

-t Specify the type of data source, currently supported types: hanaodbc, aseodbc, iqodbc, tdodbc, odbc (generic adapter)

-S The connection information of the remote database, can be a DSN name in ODBC property file, or a custom string which contains all the connection information, e.g.:

-S "DSN=td13" or -S "dsn=td13"

-S "server=somehostname; port=5002;driver=libsybdrvodb-sqllen8.so"

If the data source type is "odbc", should add an "adapter_config_file=" section in the end of this area.

-U Specify the user name.

-P Specify the password. Can be omitted for interactive input.

-Q The SQL to be executed or queried after connected to the remoted database.

-nr "No Result", specify this if don't need to display the SQL query result.

(7)

© 2014 SAP AG. All rights reserved.

SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, SAP HANA, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.

Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company.

Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase Inc. Sybase is an SAP company. Crossgate, m@gic EDDY, B2B 360°, and B2B 360° Services are registered trademarks of Crossgate AG in Germany and other countries. Crossgate is an SAP company.

All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

References

Related documents

High scores on the ethnic identity measure were significantly correlated to a measure of self-esteem for both Mexican-American students and European-American students, but did

use event marketing entertainment (like shows, contests, or parties) to reach consumers through direct hand-to-hand sampling or interactive displays.. The practice

administration. q) All IV therapy should be administered using a 10ml syringe or larger, to comply with manufacturers guidelines. r) For intermittent injection, the patency of

anhydrous sodium carbonate to a test tube one quarter full of solution B and identify the gas evolved using a suitable reagent... If this is heated to constant mass the relative

SAP HANA Smart Data Access * SAP Event Stream Processor SAP Data Services SAP Replication Server SAP LT Replication Server SAP SQL Anywhere Any DATA Data

In this How-To Guide we will see how to install and configure the SAP Hana Cloud Connector to connect your Hana Cloud Platform account to the backend systems that provide the data

SAP DB / HANA InfoCube Data Store Object BW Database / SAP HANA SAP Nearline Provider SAP DB / HANA PBS CBW NLS IQ Nearline Database MultiProvider PBS Nearline Services

In your examination, you find that the balance of Accounts Receivable represents sales of the current audit year only; that In your examination, you find that the balance of