Documente Academic
Documente Profesional
Documente Cultură
0 in
MS SQL Server Integration Services
packages with Open Hub services to
export data from SAP BI to MS SQL?
Applies to:
BI 7.0. For more information, visit the EDW homepage.
Summary
This article describes the step by step procedure to transfer the data from SAP BI to Microsoft SQL using
Open hub services. It also covers the details of how to establish the connection between the source (SAP BI)
and the target (Microsoft SQL).
Author Bio
Hemant Khemani is a SAP BI Consultant with Wipro Technologies. He has more than 4 years of
experience in SAP BI.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 1
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
Table of Contents
Introduction ......................................................................................................................................................... 3
Why Open Hub? ................................................................................................................................................. 3
Prerequisites ....................................................................................................................................................... 3
Mechanism used ................................................................................................................................................. 4
Step by Step procedure ...................................................................................................................................... 5
Step 1: Creating RFC Destination in Transaction code SM59 ....................................................................... 5
Step 2: Create Open Hub destination and Relevant Data Flow in BW. .......................................................... 7
a. Create Open Hub Destination .................................................................................................................................. 7
b. Transformation between Source Object and open hub Destination ......................................................................... 8
c. DTP to load Data from Info object to open hub Destination ..................................................................................... 8
Step 3: Business Intelligence Development Studio ........................................................................................ 9
Step 4: Setting up the Connection Manager for SAP BI. ................................................................................ 9
Step 5: Adding and Configuring the SAP BI Source ..................................................................................... 11
Step 6: Columns in SAP BI source (i.e., Fields coming from BW) ............................................................... 12
Step 7: Adding and Configuring the Destination ........................................................................................... 12
Step 8: Data flow in SSIS .............................................................................................................................. 13
Step 9: Control Flow in SSIS ........................................................................................................................ 14
Step 10: Triggering the data load from SAP BI ............................................................................................. 14
Step 11: Checking the data in SQL ............................................................................................................... 15
Related Content ................................................................................................................................................ 16
Disclaimer and Liability Notice .......................................................................................................................... 17
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 2
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
Introduction
Open hub service is one of the easiest ways to export data from SAP BI.
In this document we will see the following –
Why to use open hub to export data to Microsoft SQL server?
Detailed procedure on how to set up connection between SAP BI and Microsoft SQL server.
How to use open hub services to export the data from BI to Microsoft SQL server?
1. SAP promotes the Open Hub technology as the standard tool for data export from SAP BI.
2. The target technology, Microsoft SQL Server provides standard ETL services with SQL Server
Integration Services (SSIS) that is able to communicate with the Open Hub services.
Prerequisites
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 3
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
Mechanism used
The basic principle of the extraction process is identical for all source objects i.e., Info objects, DSO, Info
cubes etc from BI. The export process is triggered by standard loading and scheduling tooling of SAP BI.
The communication with the external system will make use of standard application interfaces (APIs) that are
delivered with the Open Hub service:
1. A so-called data transfer processes (DTP) fills the intermediate table. The table is cleared in the
beginning of the process.
2. Open Hub will notify SSIS (SQL server integration services) that it is ready for data retrieval.
3. SSIS will read the data from the intermediate table using the API to read data.
4. SSIS will send the status with an API to Open Hub, which is recorded in a status table for monitoring
purposes.
Scheduler
Process
chain start
1. Fill data
DTP
Table /BIC/OHYYY 3. Read data
Execute
Status
Table
4. Send data read status
/BIC/OHYYY is the intermediate table in BW where YYY refers to the Open hub destination name.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 4
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 5
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 6
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
Step 2: Create Open Hub destination and Relevant Data Flow in BW.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 7
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 8
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 9
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
After the connection is created, in the SAP BI connection manager dialog box, edit the connection and fill
the system and logon information. Click Test Connection to verify successful configuration.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 10
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
Edit the source by choosing the appropriate SAP BI connection manager, specifying the RFC destination.
Note: If the user id used for connection in the previous step doesn’t have authorization for Open hub destination in SAP
BI; then you will not be able to see open hub destinations in the dropdown list.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 11
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
Direct mapping for field with same names in source and target would be there by default.
Note: The below screenshot shows how the mapping between source and target fields would look like in general.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 12
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
If you want to do any conversions then you can use Data Conversion task between source and destination
and do manipulations there.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 13
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 14
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 15
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
Related Content
Using SQL Server 2008 Integration Services with SAP BI 7.0
Loading data from SAP BW into Microsoft Analysis Services using Open Hub Service
SAP help on Open Hub Destination
For more information, visit the EDW homepage
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 16
How to use Microsoft Connector 1.0 in MS SQL Server Integration Services packages with Open Hub services to export data from SAP BI to MS SQL?
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 17