Database Connection With SAP BI_BW (DB Connect)

12
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 1 Database Connection with SAP BI/BW (DB Connect) Applies to: SAP BI/BW. For more information, visit the EDW homepage Summary This Article demonstrates the step by step process for creating RFC Connection with Database (DB Connect) Author: Obaidullah Shaikh Company: AG Technologies Created on: 16 August 2011 Author Bio Obaidullah shaikh is a SAP BI Consultant with AG Technologies. He has good skill in technical areas (ABAP) and he has experience of multiple custome reports development and has experience of Migration/upgradation projects as wel.

description

Database Connection With SAP BI_BW (DB Connect)

Transcript of Database Connection With SAP BI_BW (DB Connect)

Page 1: Database Connection With SAP BI_BW (DB Connect)

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com

© 2011 SAP AG 1

Database Connection with SAP

BI/BW (DB Connect)

Applies to:

SAP BI/BW. For more information, visit the EDW homepage

Summary

This Article demonstrates the step by step process for creating RFC Connection with Database (DB Connect)

Author: Obaidullah Shaikh

Company: AG Technologies

Created on: 16 August 2011

Author Bio

Obaidullah shaikh is a SAP BI Consultant with AG Technologies. He has good skill in technical areas (ABAP) and he has experience of multiple custome reports development and has experience of Migration/upgradation projects as wel.

Page 2: Database Connection With SAP BI_BW (DB Connect)

Database Connection with SAP BI/BW (DB Connect)

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com

© 2011 SAP AG 2

Contents

Database Connection with SAP BI/BW (DB connect) ........................................................................................ 3

Open SQL Server ............................................................................................................................................ 3

Use Windows Authentication .......................................................................................................................... 4 Create table in SQL ..................................................................................................................................................... 4

Enter the Column Name and its data types.................................................................................................................. 5

Right on the table ......................................................................................................................................................... 5

Select Open Table to enter the values in the table ...................................................................................................... 5

Enter the values like Excel Sheet and Save it .............................................................................................................. 6

In BW System, go to Source System ................................................................................................................. 6

In BI, DBCO T-Code is used to configure the Database connect ................................................................... 6 Click on New Entries .................................................................................................................................................... 6

For SQL:- ..................................................................................................................................................................... 7

For Oracle:- .................................................................................................................................................................. 7

Right click on DB Connect .............................................................................................................................. 7 Select Create ............................................................................................................................................................... 7

Enter the Logical system Name & Description ............................................................................................................. 8

Enter the DBMS ........................................................................................................................................................... 8

User Name of DBMS Server ........................................................................................................................................ 8

Password of same ....................................................................................................................................................... 8

Create Data source ......................................................................................................................................... 9 In Extraction tab, Specify the table of the database ..................................................................................................... 9

Related Content ................................................................................................................................................ 11

Disclaimer and Liability Notice .......................................................................................................................... 12

Page 3: Database Connection With SAP BI_BW (DB Connect)

Database Connection with SAP BI/BW (DB Connect)

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com

© 2011 SAP AG 3

Database Connection with SAP BI/BW (DB connect)

Open SQL Server

Page 4: Database Connection With SAP BI_BW (DB Connect)

Database Connection with SAP BI/BW (DB Connect)

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com

© 2011 SAP AG 4

Use Windows Authentication

Create table in SQL

Page 5: Database Connection With SAP BI_BW (DB Connect)

Database Connection with SAP BI/BW (DB Connect)

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com

© 2011 SAP AG 5

Enter the Column Name and its data types

Right on the table

Select Open Table to enter the values in the table

Page 6: Database Connection With SAP BI_BW (DB Connect)

Database Connection with SAP BI/BW (DB Connect)

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com

© 2011 SAP AG 6

Enter the values like Excel Sheet and Save it

In BW System, go to Source System

In BI, DBCO T-Code is used to configure the Database connect

Click on New Entries

Page 7: Database Connection With SAP BI_BW (DB Connect)

Database Connection with SAP BI/BW (DB Connect)

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com

© 2011 SAP AG 7

For SQL:-

Conn Info:- MSSQL_SERVER=AGTSAPR3BI MSSQL_DBNAME=TEST OBJECT_SOURCE=dbo

Application Server AGTSAPR3BI

Database TEST

Schema dbo

For Oracle:-

Conn Info:- SSID=<SSID of Source Database>;SAPDBHOST=<Name of the host on which

Database is running>

Right click on DB Connect

Select Create

Page 8: Database Connection With SAP BI_BW (DB Connect)

Database Connection with SAP BI/BW (DB Connect)

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com

© 2011 SAP AG 8

Enter the Logical system Name & Description

Enter the DBMS

User Name of DBMS Server

Password of same

Page 9: Database Connection With SAP BI_BW (DB Connect)

Database Connection with SAP BI/BW (DB Connect)

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com

© 2011 SAP AG 9

Create Data source

In Extraction tab, Specify the table of the database

Page 10: Database Connection With SAP BI_BW (DB Connect)

Database Connection with SAP BI/BW (DB Connect)

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com

© 2011 SAP AG 10

Page 11: Database Connection With SAP BI_BW (DB Connect)

Database Connection with SAP BI/BW (DB Connect)

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com

© 2011 SAP AG 11

Related Content

Data Transfer with DB Connect

http://www.saptechnical.com/Tutorials/BI/DBConnect/Index.htm

For more information, visit the EDW homepage

Page 12: Database Connection With SAP BI_BW (DB Connect)

Database Connection with SAP BI/BW (DB Connect)

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com

© 2011 SAP AG 12

Disclaimer and Liability Notice

This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.

SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.

SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.