Sap Bi-db Connect
Transcript of Sap Bi-db Connect
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 1/21
DB Connect Usage in SAP BI 7.0
Introduction
In SAP Net weaver BI 7.0, we’ll study how to implement DB Connect, rather than common
usage of flat files. Using DB Connect, BI offers flexible options for extracting data directly
into BI from tables and views in database management systems that are connected to BI using
connections other than default connection.
The DB Connect enhancements to database interface allow you to transfer data straight into BI
from the database tables or views of external applications. You can use tables and views in
database management systems that are supported by SAP to transfer data. You use Data
Sources to make the data known to BI. The data is processed in BI in the same way as data
from all other sources.
It’s to be noted that SAP DB Connect only supports certain Database Management systems (DBMS)
The following are the list of DBMS
• Max DB [Previously SAP DB]
• Informix
•
Microsoft SQL Server
• Oracle
• IBM DB2/390, IBM DB2/400, IBM DB2 UDB
There are 2 types of classification. One is the BI DBMS & the other is source DBMS.
The main thing which is, both these DBMS are supported on their respective operating system
versions, only if SAP has released a DBSL. If not, they don’t meet the requirements & hence can’t perform DB Connect.
In this process we use a Data source, to make the data available to BI & transfer the data to the
respective Info providers defined in BI system. Further, using the usual data accusation process we
transfer data from DBs to BI system.
Using this SAP provides options for extracting data from external systems, in addition to extracting
data using standard connection; you can extract data from tables/views in database management
systems (DBMS)
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 2/21
Loading data from SAP Supporting DBMS into BI
Steps are as follows:-
1. Connecting a database to Source system -- Direct access to external DB
2. Using Data source, the structure for table/view must be known to BI.
Process Description
Go to RSA1à Source Systemsà DB Connectà Create
Now, create the source system using
1. Logical System NameàMSSQL
2. Source System NameàMS SQL DB Connect
3. Type & Release
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 3/21
Now, Under DB Connect, we can see the name of our Source System (MS SQL DB Connect)
The logical DB Connect name is MSSQL
In Data sources we need to create an Application Component area to continue with the export
Goto RSA1à Data sourcesà Create Application Component
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 4/21
After creating an Application Component Area called “ac_test_check”, we now have to create
a Data source in the component area. So right click the Application component area à Create
Data source (as in below figure).
The Data source name here is “ds_ac_tech”
The Source System here is the defined “MSSQL”
The type of data type data source that we have here is “Master Data Attributes”
The below screen shot describes how to perform extraction or loading using a Table/View. As
the standard adapter is “Database Table” (by default), we can specify the Table/View here
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 5/21
Now, choose the data source from the DB Object Names.
Now, we have selected the “EMPLOYEES” as the Table/View.
Or we can choose the Table/Viewà “REGION”
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 6/21
We have 2 database fields
• Region ID
• Region Description
Now that the Data source has to be activated before it is loaded, we “ACTIVATE” it once.
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 7/21
After activation, the data records (4) are displayed. Eastern, Western, Northern & Southern
Right click the Info package DS_AC_TESTà Create Info package
We now create an Info package called “IP_DS_AC_TECH”, with Source system as MSSQL
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 8/21
Once done we perform a schedule on the Info package à “Start”
Now, we need to create an Info Area to create an Info provider (like Info Cube)
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 9/21
After creating the info cube we check for the data in the PSA by “Manage the PSA”
This can be also done using the Key controls (Ctrl + Shift + F6)
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 10/21
The number of records displayed: 4 No’s
Using the PSA Maintenance, we can view the following factors
1. Status
2. Data Packet
3. Data records
4. REGION ID
5. REGION Description
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 11/21
The Table/View “CUSTOMERS” is now chosen for Extraction. In the next tab we have
“PROPOSAL”, which describes all the Database fields, and we have to specify the Data source
fields, types & length.
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 12/21
Now, we create an Info package à IP_TEST_CUST
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 13/21
Now, go to RSA1à Info objectsà Info object (Test)à Create Info Object Catalog
Now, we can preview the Region ID & Region Description.
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 14/21
We now create 2 Info objects & pass the Region ID & Region Description to the 2 objects.
1. Region Descriptionà Region2 (Region)
2. Region Descriptionà reg_id (Region ids)
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 15/21
Now, these are the 2 variables created under the Info object “test2”
Region (REGION2)
Region ids (REG_ID)
We create Characteristic as Info Provider for the Master Data loading in the “Info Provider”
section à Insert Characteristic as Info Provider
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 16/21
Now, we create a transformation using “Create Transformation” on the Region ids (Attributes)
We now choose the Source System after thisà
MSSQLà
MS SQL DB CONNECT
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 17/21
After checking the Transformation mappings on the Region ID, we now perform a DTP
Creation on the same Region ID (Attribute)
We choose the Target system (default) as Info object à Region ID à REG_ID & the Source
Type as Data source with the Source SystemàMSSQL
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 18/21
After this step, we proceed with creating an Info package à IP_DS_TEDDY which has the
source system as MSSQL. Further we start the scheduling of the Info package. Once the info
package has been triggered we can go to “Maintain PSA” & monitor the status of data in PSA
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 19/21
Further, we EXECUTE the DTP. And, we can monitor transfer of data from PSAà Info cube
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 20/21
7/30/2019 Sap Bi-db Connect
http://slidepdf.com/reader/full/sap-bi-db-connect 21/21
Results
Thus, the DB Connect process has been successfully demonstrated in SAP BI 7.0