Database Connection with SAP BI/BW (DB Connect)

advertisement
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.
SAP COMMUNITY NETWORK
© 2011 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
1
Database Connection with SAP BI/BW (DB Connect)
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
SAP COMMUNITY NETWORK
© 2011 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
2
Database Connection with SAP BI/BW (DB Connect)
Database Connection with SAP BI/BW (DB connect)
Open SQL Server
SAP COMMUNITY NETWORK
© 2011 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
3
Database Connection with SAP BI/BW (DB Connect)
Use Windows Authentication
Create table in SQL
SAP COMMUNITY NETWORK
© 2011 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
4
Database Connection with SAP BI/BW (DB Connect)
Enter the Column Name and its data types
Right on the table
Select Open Table to enter the values in the table
SAP COMMUNITY NETWORK
© 2011 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
5
Database Connection with SAP BI/BW (DB Connect)
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
SAP COMMUNITY NETWORK
© 2011 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
6
Database Connection with SAP BI/BW (DB Connect)
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
SAP COMMUNITY NETWORK
© 2011 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
7
Database Connection with SAP BI/BW (DB Connect)
Enter the Logical system Name & Description
Enter the DBMS
User Name of DBMS Server
Password of same
SAP COMMUNITY NETWORK
© 2011 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
8
Database Connection with SAP BI/BW (DB Connect)
Create Data source
In Extraction tab, Specify the table of the database
SAP COMMUNITY NETWORK
© 2011 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
9
Database Connection with SAP BI/BW (DB Connect)
SAP COMMUNITY NETWORK
© 2011 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
10
Database Connection with SAP BI/BW (DB Connect)
Related Content
Data Transfer with DB Connect
http://www.saptechnical.com/Tutorials/BI/DBConnect/Index.htm
For more information, visit the EDW homepage
SAP COMMUNITY NETWORK
© 2011 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
11
Database Connection with SAP BI/BW (DB Connect)
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.
SAP COMMUNITY NETWORK
© 2011 SAP AG
SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
12
Download