SlideShare a Scribd company logo
1 of 16
Download to read offline
Extracting Data from Non-R/3 Databases with the DB
Connect Feature of BW 3.0B
By Hung Nguyen

Introduction

Extracting data from a non-SAP database and transferring it to a SAP BW database for
analysis is an involved task. But with the DB Connect feature of BW 3.0B, it will become
easier and simpler.

This report presents the results of tests of the DB Connect feature conducted on a OS/390
based SAP BW 3.0B system.

Summary

The DB Connect feature of BW 3.0B was tested in three different OS/390 based BW
3.0B configurations. Data from a non-SAP Oracle database as well as data from a non-
SAP DB2 database was successfully extracted and transferred into the PSA. The
verification process was performed by comparing the data in the original databases
against the one stored in the PSA.

Test Configurations

Three configurations are tested:

   1. Data is extracted from a non-SAP Oracle database and transferred to a DB2 390
      database of a BW 3.0B system. The non-SAP Oracle source database runs on a
      UNIX machine. The BW application server used to access it runs on Window
      2000. This will be referred to as configuration A.
   2. The non-SAP DB2 source database runs in the same LPAR as the SAP BW 3.0B
      DB2 database. A BW application server defined in the same LPAR is used to
      access the non-SAP source database. This configuration will be referred to as
      configuration B.
   3. Data is extracted from a non-SAP DB2/390 database and transferred remotely to a
      DB2 390 database of a BW 3.0B system. A BW application server defined on a
      remote AIX machine is used to access the data of the non-SAP source database.
      This will be referred to as configuration C.

Configurations Setup

This section describes the setup of the tested configurations.
Extracting and Transferring Data From Oracle to BW on OS/390

Configuration A

This is an interesting situation. An example of it is: Oracle Financials is running on a
Window or UNIX machine. Its data must be transferred to an OS/390 based SAP BW
system for analysis.

An Oracle source database running on UNIX or Window can only be accessed from a
OS/390 based BW system by application servers on UNIX or Window. OS/390
applications servers do not have the Oracle client code to achieve this access. In the case
of AIX, there is currently a problem. BW 3.0B is available on the AIX platform only with
AIX 5L 64-bit. The current Oracle 8.17 cannot run on AIX 5L 64-bit because of the
binary incompatibility between AIX 4.3.3 64-bit and AIX 5L. The support of Oracle 9i
on AIX 5L is not available yet. For those reasons we decided to run the DB Connect test
under Window 2000. A dialog instance was therefore built on the Netfinity machine
ibmcc34 to support this test. The Central Instance runs on OS/390. DFS on OS/390 was
used to distribute common filesystems between OS/390 and Window 2000. This
configuration is shown in Figure 1.




Figure 1. Test System Configuration for Data Extraction from Oracle
The client code for Oracle and the SAP Oracle access library as well as a configured TNS
are required to make the access to the database possible.

Defining the Oracle Database Source System in an OS/390 Based BW 3.0B System

The necessary steps to define the Oracle Database Source System are:
   1. Go to the BW instance that can access the Oracle database, in our case the dialog
       instance on Window 2000 for the reasons given in the previous section
   2. Use the Administrator Workbench and select Source Systems
   3. Create a Source System with type Database
   4. Enter the following required information:
       DB Connection: Name of this connection, for instance: BWIORA
       DBMS: ORA
       User name : a user defined in the Oracle database and whose tables/views are to
       be extracted to BW
       DB password: password of the previous user
       Conn.Info: TNS alias
   5. Save
   6. Back

Note: The Source System will not be created if BW cannot access the source database

Extracting Data from Oracle

Once the source system is created, the communication with the non-SAP Oracle database
is validated. The data can then be extracted using transaction rsdbc. A list of tables and
views belonging to the user defined in the previous step is shown for possible extraction.
See Figure 2.
Figure 2. Extracting Data From Oracle with Transaction rsdbc

Requirements for Extraction

Extractable database tables or views must have their name in upper characters in the
source database. Database fields that are not extractable because there is no equivalent
data type in the SAP dictionary are marked in the I field. Fields with a name that has
more than 30 characters will cause a problem during generation of the DataSource. To
extract those fields, a view that converts and renames the fields into acceptable format
and length must be created in the source system. The view rather than the table will then
be used for extraction.
Generating a DataSource in BW

After having selected the appropriate fields from a view or a table, a data source is
generated by pressing on the Generate DataSource button of the application tool bar. See
Figure 3. The name of the DataSource is always prefixed with 6DB_ and is appended to
the table or view name. Figure 3 shows 6DB_VTAB01 as an example of such a
DataSource. In that example, we chose only three fields for extraction. They are: ID,
D_2A, and T_2A. InfoSource and Infopackage are then defined in order to request the
data from this DataSource. This is shown in Figure 4. The extraction process is then
scheduled and monitored. In our case we load the three fields of the view VTAB01 to the
PSA only. So, update rules and InfoObject assignment are irrelevant. Figure 5 and
Figure 6 show the creation of the InfoPackage for DataSource 6DB_VTAB01 and a
successful extraction process seen from the Workbench Monitor.




Figure 3. Generating a DataSource
Figure 4. InfoSource and InfoPackage for Extracting a View in Oracle




Figure 5. InfoPackage Creation
Figure 6. Successful Extraction Shown in the Workbench Monitor

To ensure that the data is loaded correctly we compare it with the data in the source
system.

In the PSA the name of the database table used to load the data from DataSource
6DB_VTAB01 is /BIC/B0000235000. Figure 7 shows the first 27 rows of
/BIC/B0000235000 using the data browser (transaction se16). Figure 8 shows the first 19
rows of the original data in the Oracle database.
Figure 7. Extracted Data in the BW PSA




Figure 8. Original Data in the Oracle Database
Extracting and Transferring Data from a Non-SAP DB2 Database to BW on OS/390

For an application such as R/3 to access a DB2 database, we need a plan and a primary
authorization ID. Unfortunately, those two parameters are not part of the connection
information of table DBCON. A design error maybe? So BW will access the non-SAP
database with the default plan name and authorization ID.

Configuration B

The non-SAP database could be running some Legacy application whose data is useful to
BW. In this configuration, it runs in the same LPAR as the BW database. This is shown
in Figure 9.




Figure 9. Test Configuration B

Setting Up the Source System

As said in the previous section, some preparatory work must be done before the
connection to the source database is possible. It is described in the following steps:

   1. Bind the client access code of BW to the source database with the default plan
      name and with the user whose data will be extracted as the owner. See 3 below.
   2. Grant the default primary authorization ID execute privilege on the plan. Now
      SAP BW can attach to the non-SAP database
   3. Setup the connection parameters in the following way:
         a. Use Administrator Workbench and select Source Systems
b. Create a Source System with type Database
          c. BW will not create this source system if it cannot access the database so
             the previous steps are very important
          d. In the Description of the Database Connections screen, specify DB2 as the
             DBMS type.
          e. In the same screen specify the name of the schema whose objects are to be
             extracted. This is also the owner of the plan bound in step 1. The password
             is irrelevant. Anything would go. The DBCON architecture is a general
             architecture and some parameters are irrelevant for some platform.
          f. In the same screen specify the two following parameters, separated by a
             “;” or “,”:
             SSID=<ssid of the source database>;SAPDBHOST=<name of the host in
             which the source database runs> . See Figure 10 below.




       Figure 10. Setting -Up the Local Connection to the Source Database


Note: The Source System will not be created if BW cannot access the source database.
Extracting the Data

The data is extracted the same way as previously described for the Oracle database i.e
using transaction rsdbc. InfoSource and InfoPackage are defined the same way with the
extracted data going to the PSA only. Figure 11 and Figure 12 show the data loaded in
the PSA and the data in the original DB2 database.




Figure 11. Data From DB2 Database Loaded in BW PSA
Figure 12. Original Data in the DB2 Database



Configuration C

In this configuration an application server on AIX is used to access the non-SAP DB2
database. This case applies to application servers on Window as well. This is shown in
Figure 13.

Same as in the case of a local application server, preparatory work must be done to
enable access from the remote application server to the non-SAP DB2 database.
Figure 13. Configuration C

Preparing to Access the Non-SAP DB2 Database

An ICLI Server must be setup in the host where the non-SAP DB2 database runs. It is
preferable that the ICLI server release is consistent with the ICLI client release that runs
in the application server. The ICLI server code must be bound to the non-SAP database
the sane way as in the case of a local application server. If pass-ticket is used and is
different from the current pass-ticket, a separate file containing the ICLI client code and
the new pass-ticked should be created and specified in the DBCON table.


Setting Up the Source System

Basically, source system setup, DataSource, InfoSource, and InfoPackage creation are the
same as in the local access case. Since we did not use pass-ticket, the only parameters
that are necessary to enable the access to the source DB2 are the ones that are shown in
Figure 14.
Figure 14. Connection Information Parameters

Test Results

Data of table TTAB01 is extracted and transferred to BW using this configuration. The
data loaded in the PSA is shown in Figure 15 and the data in the original system is shown
in Figure 16.
Figure 15. Data Extracted From a Non-SAP Database and Loaded in the PSA




Figure 16. Original Data in the Non-SAP Database
Conclusion

For the tested configurations, the DB Connect feature on the OS/390 based BW 3.0B
system works as designed.

More Related Content

What's hot

Differences Between Bw3.5 Bi7.0
Differences Between Bw3.5 Bi7.0Differences Between Bw3.5 Bi7.0
Differences Between Bw3.5 Bi7.0srinath_vj
 
Day 9 __10_introduction_to_bi_enterprise_reporting_1___2
Day 9 __10_introduction_to_bi_enterprise_reporting_1___2Day 9 __10_introduction_to_bi_enterprise_reporting_1___2
Day 9 __10_introduction_to_bi_enterprise_reporting_1___2tovetrivel
 
SAP BI/DW Training with BO Integration
SAP BI/DW Training with BO IntegrationSAP BI/DW Training with BO Integration
SAP BI/DW Training with BO Integrationmishra4927
 
Day 6.3 extraction_business_content_and_generic
Day 6.3 extraction_business_content_and_genericDay 6.3 extraction_business_content_and_generic
Day 6.3 extraction_business_content_and_generictovetrivel
 
SAP BW Reports - Copy
SAP BW Reports - CopySAP BW Reports - Copy
SAP BW Reports - CopyAby m
 
Business Intelligence Fundamentals
Business Intelligence FundamentalsBusiness Intelligence Fundamentals
Business Intelligence FundamentalsMikko_Valtonen
 
Sap business intelligence 4.0 report basic
Sap business intelligence 4.0   report basicSap business intelligence 4.0   report basic
Sap business intelligence 4.0 report basictovetrivel
 
Sap bi 7.3 Features
Sap bi 7.3 FeaturesSap bi 7.3 Features
Sap bi 7.3 FeaturesSamar Reddy
 
Introduction To Pentaho Analysis
Introduction To Pentaho AnalysisIntroduction To Pentaho Analysis
Introduction To Pentaho Analysispentaho Content
 
jerry_wen_resume
jerry_wen_resumejerry_wen_resume
jerry_wen_resumejerry wen
 
SAP BI with BO from LCC Infotech,Hyderabad
SAP BI with BO from LCC Infotech,HyderabadSAP BI with BO from LCC Infotech,Hyderabad
SAP BI with BO from LCC Infotech,Hyderabadlccinfotech
 
Introduction to MSBI
Introduction to MSBIIntroduction to MSBI
Introduction to MSBIEdureka!
 
SAP BW on HANA Training
SAP BW on HANA  TrainingSAP BW on HANA  Training
SAP BW on HANA TrainingVenkat reddy
 
Imran Shaik BIBW
Imran Shaik BIBWImran Shaik BIBW
Imran Shaik BIBWImran Shaik
 

What's hot (20)

HANA Modeling
HANA Modeling HANA Modeling
HANA Modeling
 
Differences Between Bw3.5 Bi7.0
Differences Between Bw3.5 Bi7.0Differences Between Bw3.5 Bi7.0
Differences Between Bw3.5 Bi7.0
 
Modeling
ModelingModeling
Modeling
 
Sap bw bi
Sap bw biSap bw bi
Sap bw bi
 
Day 9 __10_introduction_to_bi_enterprise_reporting_1___2
Day 9 __10_introduction_to_bi_enterprise_reporting_1___2Day 9 __10_introduction_to_bi_enterprise_reporting_1___2
Day 9 __10_introduction_to_bi_enterprise_reporting_1___2
 
SAP BI/DW Training with BO Integration
SAP BI/DW Training with BO IntegrationSAP BI/DW Training with BO Integration
SAP BI/DW Training with BO Integration
 
Day 6.3 extraction_business_content_and_generic
Day 6.3 extraction_business_content_and_genericDay 6.3 extraction_business_content_and_generic
Day 6.3 extraction_business_content_and_generic
 
SAP BW Reports - Copy
SAP BW Reports - CopySAP BW Reports - Copy
SAP BW Reports - Copy
 
Business Intelligence Fundamentals
Business Intelligence FundamentalsBusiness Intelligence Fundamentals
Business Intelligence Fundamentals
 
Sap business intelligence 4.0 report basic
Sap business intelligence 4.0   report basicSap business intelligence 4.0   report basic
Sap business intelligence 4.0 report basic
 
Sap bi 7.3 Features
Sap bi 7.3 FeaturesSap bi 7.3 Features
Sap bi 7.3 Features
 
Introduction To Pentaho Analysis
Introduction To Pentaho AnalysisIntroduction To Pentaho Analysis
Introduction To Pentaho Analysis
 
jerry_wen_resume
jerry_wen_resumejerry_wen_resume
jerry_wen_resume
 
SAP BI with BO from LCC Infotech,Hyderabad
SAP BI with BO from LCC Infotech,HyderabadSAP BI with BO from LCC Infotech,Hyderabad
SAP BI with BO from LCC Infotech,Hyderabad
 
Introduction to MSBI
Introduction to MSBIIntroduction to MSBI
Introduction to MSBI
 
Sap business warehouse_v1
Sap business warehouse_v1Sap business warehouse_v1
Sap business warehouse_v1
 
SAP BW on HANA Training
SAP BW on HANA  TrainingSAP BW on HANA  Training
SAP BW on HANA Training
 
Imran Shaik BIBW
Imran Shaik BIBWImran Shaik BIBW
Imran Shaik BIBW
 
GCP- HANA add on
GCP- HANA add onGCP- HANA add on
GCP- HANA add on
 
Sap BusinessObjects 4
Sap BusinessObjects 4Sap BusinessObjects 4
Sap BusinessObjects 4
 

Viewers also liked

Gtcm Group Members By Industry 20090914
Gtcm Group Members By Industry 20090914Gtcm Group Members By Industry 20090914
Gtcm Group Members By Industry 20090914guestbb1c2b5
 
Final - Murali CV Dec 2016
Final - Murali CV Dec 2016Final - Murali CV Dec 2016
Final - Murali CV Dec 2016Murali Sama rao
 
BIO-Manuel Rosales-Bdevlp-BL
BIO-Manuel Rosales-Bdevlp-BLBIO-Manuel Rosales-Bdevlp-BL
BIO-Manuel Rosales-Bdevlp-BLManuel Rosales
 
Afutu et al 2016 Evalution of Ugandan Cowpea Germplasm for Yield and Resistan...
Afutu et al 2016 Evalution of Ugandan Cowpea Germplasm for Yield and Resistan...Afutu et al 2016 Evalution of Ugandan Cowpea Germplasm for Yield and Resistan...
Afutu et al 2016 Evalution of Ugandan Cowpea Germplasm for Yield and Resistan...Dr. Emmanuel Afutu
 
Java lead developer & architect
Java lead developer & architectJava lead developer & architect
Java lead developer & architectMark Long
 
Oracle bi 10g_install_migration
Oracle bi 10g_install_migrationOracle bi 10g_install_migration
Oracle bi 10g_install_migrationMlx Le
 
Eloise Phillips Resume 3.01
Eloise Phillips Resume 3.01Eloise Phillips Resume 3.01
Eloise Phillips Resume 3.01Eloise Phillips
 
Lynch-BATech-2016
Lynch-BATech-2016Lynch-BATech-2016
Lynch-BATech-2016Louis Lynch
 
Analytical Modelling and Design of a Mechatronic Cradle System
Analytical Modelling and Design of a Mechatronic Cradle SystemAnalytical Modelling and Design of a Mechatronic Cradle System
Analytical Modelling and Design of a Mechatronic Cradle SystemIJSRD
 

Viewers also liked (16)

Gtcm Group Members By Industry 20090914
Gtcm Group Members By Industry 20090914Gtcm Group Members By Industry 20090914
Gtcm Group Members By Industry 20090914
 
Tamer Abdel-Hamid
Tamer Abdel-HamidTamer Abdel-Hamid
Tamer Abdel-Hamid
 
Firas_Oqdeh_CV
Firas_Oqdeh_CVFiras_Oqdeh_CV
Firas_Oqdeh_CV
 
Final - Murali CV Dec 2016
Final - Murali CV Dec 2016Final - Murali CV Dec 2016
Final - Murali CV Dec 2016
 
BIO-Manuel Rosales-Bdevlp-BL
BIO-Manuel Rosales-Bdevlp-BLBIO-Manuel Rosales-Bdevlp-BL
BIO-Manuel Rosales-Bdevlp-BL
 
Afutu et al 2016 Evalution of Ugandan Cowpea Germplasm for Yield and Resistan...
Afutu et al 2016 Evalution of Ugandan Cowpea Germplasm for Yield and Resistan...Afutu et al 2016 Evalution of Ugandan Cowpea Germplasm for Yield and Resistan...
Afutu et al 2016 Evalution of Ugandan Cowpea Germplasm for Yield and Resistan...
 
Java lead developer & architect
Java lead developer & architectJava lead developer & architect
Java lead developer & architect
 
Oracle bi 10g_install_migration
Oracle bi 10g_install_migrationOracle bi 10g_install_migration
Oracle bi 10g_install_migration
 
Eloise Phillips Resume 3.01
Eloise Phillips Resume 3.01Eloise Phillips Resume 3.01
Eloise Phillips Resume 3.01
 
shivakumarswamy_Senior test engineer
shivakumarswamy_Senior test engineershivakumarswamy_Senior test engineer
shivakumarswamy_Senior test engineer
 
Resume415
Resume415Resume415
Resume415
 
Lynch-BATech-2016
Lynch-BATech-2016Lynch-BATech-2016
Lynch-BATech-2016
 
Robin Fenstermaker Resume
Robin Fenstermaker ResumeRobin Fenstermaker Resume
Robin Fenstermaker Resume
 
Zafar Iqbal
Zafar IqbalZafar Iqbal
Zafar Iqbal
 
Aida Panuco-Catano Resume
Aida Panuco-Catano ResumeAida Panuco-Catano Resume
Aida Panuco-Catano Resume
 
Analytical Modelling and Design of a Mechatronic Cradle System
Analytical Modelling and Design of a Mechatronic Cradle SystemAnalytical Modelling and Design of a Mechatronic Cradle System
Analytical Modelling and Design of a Mechatronic Cradle System
 

Similar to SAP BW connect db

Project Presentation
Project PresentationProject Presentation
Project PresentationShariffAyesha
 
Distributed database management systems
Distributed database management systemsDistributed database management systems
Distributed database management systemsUsman Tariq
 
Working Procedure SAP BW Testing
Working Procedure SAP BW TestingWorking Procedure SAP BW Testing
Working Procedure SAP BW TestingGavaskar Selvarajan
 
Database development connection steps
Database development connection stepsDatabase development connection steps
Database development connection stepsAravindharamanan S
 
Final Database Connectivity in JAVA.ppt
Final Database Connectivity in JAVA.pptFinal Database Connectivity in JAVA.ppt
Final Database Connectivity in JAVA.pptTabassumMaktum
 
Ado dot net complete meterial (1)
Ado dot net complete meterial (1)Ado dot net complete meterial (1)
Ado dot net complete meterial (1)Mubarak Hussain
 
Exam 1z0 062 Oracle Database 12c: Installation and Administration
Exam 1z0 062 Oracle Database 12c: Installation and AdministrationExam 1z0 062 Oracle Database 12c: Installation and Administration
Exam 1z0 062 Oracle Database 12c: Installation and AdministrationKylieJonathan
 
Optimized dso data activation using massive parallel processing in sap net we...
Optimized dso data activation using massive parallel processing in sap net we...Optimized dso data activation using massive parallel processing in sap net we...
Optimized dso data activation using massive parallel processing in sap net we...Nuthan Kishore
 
Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...
Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...
Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...Ravi Kumar Lanke
 
Visual Basic.Net & Ado.Net
Visual Basic.Net & Ado.NetVisual Basic.Net & Ado.Net
Visual Basic.Net & Ado.NetFaRid Adwa
 
A tour of Oracle DV V3.0 new features (June 2017)
A tour of Oracle DV V3.0 new features (June 2017)A tour of Oracle DV V3.0 new features (June 2017)
A tour of Oracle DV V3.0 new features (June 2017)Philippe Lions
 
Import Database Data using RODBC in R Studio
Import Database Data using RODBC in R StudioImport Database Data using RODBC in R Studio
Import Database Data using RODBC in R StudioRupak Roy
 
SQL Server 2019 Big Data Cluster
SQL Server 2019 Big Data ClusterSQL Server 2019 Big Data Cluster
SQL Server 2019 Big Data ClusterMaximiliano Accotto
 
Programming Interface & SAP BDC
Programming Interface & SAP BDCProgramming Interface & SAP BDC
Programming Interface & SAP BDCSyam Sasi
 

Similar to SAP BW connect db (20)

Project Presentation
Project PresentationProject Presentation
Project Presentation
 
Distributed database management systems
Distributed database management systemsDistributed database management systems
Distributed database management systems
 
Working Procedure SAP BW Testing
Working Procedure SAP BW TestingWorking Procedure SAP BW Testing
Working Procedure SAP BW Testing
 
Database development connection steps
Database development connection stepsDatabase development connection steps
Database development connection steps
 
Final Database Connectivity in JAVA.ppt
Final Database Connectivity in JAVA.pptFinal Database Connectivity in JAVA.ppt
Final Database Connectivity in JAVA.ppt
 
Spring jdbc dao
Spring jdbc daoSpring jdbc dao
Spring jdbc dao
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
Ado dot net complete meterial (1)
Ado dot net complete meterial (1)Ado dot net complete meterial (1)
Ado dot net complete meterial (1)
 
Introduction to ado.net
Introduction to ado.netIntroduction to ado.net
Introduction to ado.net
 
Readme
ReadmeReadme
Readme
 
Exam 1z0 062 Oracle Database 12c: Installation and Administration
Exam 1z0 062 Oracle Database 12c: Installation and AdministrationExam 1z0 062 Oracle Database 12c: Installation and Administration
Exam 1z0 062 Oracle Database 12c: Installation and Administration
 
Optimized dso data activation using massive parallel processing in sap net we...
Optimized dso data activation using massive parallel processing in sap net we...Optimized dso data activation using massive parallel processing in sap net we...
Optimized dso data activation using massive parallel processing in sap net we...
 
Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...
Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...
Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...
 
Visual Basic.Net & Ado.Net
Visual Basic.Net & Ado.NetVisual Basic.Net & Ado.Net
Visual Basic.Net & Ado.Net
 
0065 using sequelink
0065 using sequelink0065 using sequelink
0065 using sequelink
 
A tour of Oracle DV V3.0 new features (June 2017)
A tour of Oracle DV V3.0 new features (June 2017)A tour of Oracle DV V3.0 new features (June 2017)
A tour of Oracle DV V3.0 new features (June 2017)
 
Import Database Data using RODBC in R Studio
Import Database Data using RODBC in R StudioImport Database Data using RODBC in R Studio
Import Database Data using RODBC in R Studio
 
Spring framework DAO
Spring framework  DAOSpring framework  DAO
Spring framework DAO
 
SQL Server 2019 Big Data Cluster
SQL Server 2019 Big Data ClusterSQL Server 2019 Big Data Cluster
SQL Server 2019 Big Data Cluster
 
Programming Interface & SAP BDC
Programming Interface & SAP BDCProgramming Interface & SAP BDC
Programming Interface & SAP BDC
 

More from Guang Ying Yuan

【职场女性领导力】《向前一步》
【职场女性领导力】《向前一步》【职场女性领导力】《向前一步》
【职场女性领导力】《向前一步》Guang Ying Yuan
 
Android vs i os features
Android vs i os featuresAndroid vs i os features
Android vs i os featuresGuang Ying Yuan
 
Designing and implementing high performance rule based applications
Designing and implementing high performance rule based applicationsDesigning and implementing high performance rule based applications
Designing and implementing high performance rule based applicationsGuang Ying Yuan
 
螃蟹、猫头鹰和蝙蝠
螃蟹、猫头鹰和蝙蝠  螃蟹、猫头鹰和蝙蝠
螃蟹、猫头鹰和蝙蝠 Guang Ying Yuan
 
2010 06 28_2357_savor_the_blue_volume_ii_my
2010 06 28_2357_savor_the_blue_volume_ii_my2010 06 28_2357_savor_the_blue_volume_ii_my
2010 06 28_2357_savor_the_blue_volume_ii_myGuang Ying Yuan
 
Agile Software Development Overview 1231560734008086 2
Agile Software Development Overview 1231560734008086 2Agile Software Development Overview 1231560734008086 2
Agile Software Development Overview 1231560734008086 2Guang Ying Yuan
 
Java面试题解惑系列
Java面试题解惑系列Java面试题解惑系列
Java面试题解惑系列Guang Ying Yuan
 
Smart+Shanghai+2008 09 05
Smart+Shanghai+2008 09 05Smart+Shanghai+2008 09 05
Smart+Shanghai+2008 09 05Guang Ying Yuan
 
Day1 Sap Basis Overview V1 1
Day1 Sap Basis Overview V1 1Day1 Sap Basis Overview V1 1
Day1 Sap Basis Overview V1 1Guang Ying Yuan
 

More from Guang Ying Yuan (20)

【职场女性领导力】《向前一步》
【职场女性领导力】《向前一步》【职场女性领导力】《向前一步》
【职场女性领导力】《向前一步》
 
Pulic Speaking
Pulic SpeakingPulic Speaking
Pulic Speaking
 
Jmeter
Jmeter Jmeter
Jmeter
 
Android vs i os features
Android vs i os featuresAndroid vs i os features
Android vs i os features
 
Designing and implementing high performance rule based applications
Designing and implementing high performance rule based applicationsDesigning and implementing high performance rule based applications
Designing and implementing high performance rule based applications
 
螃蟹、猫头鹰和蝙蝠
螃蟹、猫头鹰和蝙蝠  螃蟹、猫头鹰和蝙蝠
螃蟹、猫头鹰和蝙蝠
 
girl
girlgirl
girl
 
Lombardi intro full
Lombardi intro  full Lombardi intro  full
Lombardi intro full
 
2010 06 28_2357_savor_the_blue_volume_ii_my
2010 06 28_2357_savor_the_blue_volume_ii_my2010 06 28_2357_savor_the_blue_volume_ii_my
2010 06 28_2357_savor_the_blue_volume_ii_my
 
德勤工作手册
德勤工作手册德勤工作手册
德勤工作手册
 
IBM certification
IBM certificationIBM certification
IBM certification
 
Agile Software Development Overview 1231560734008086 2
Agile Software Development Overview 1231560734008086 2Agile Software Development Overview 1231560734008086 2
Agile Software Development Overview 1231560734008086 2
 
Java面试题解惑系列
Java面试题解惑系列Java面试题解惑系列
Java面试题解惑系列
 
Abap codebook
Abap codebookAbap codebook
Abap codebook
 
64 Interview Questions
64 Interview Questions64 Interview Questions
64 Interview Questions
 
Filenet API PDF
Filenet API PDFFilenet API PDF
Filenet API PDF
 
Smart+Shanghai+2008 09 05
Smart+Shanghai+2008 09 05Smart+Shanghai+2008 09 05
Smart+Shanghai+2008 09 05
 
Day5 R3 Basis Security
Day5 R3 Basis   SecurityDay5 R3 Basis   Security
Day5 R3 Basis Security
 
Day1 Sap Basis Overview V1 1
Day1 Sap Basis Overview V1 1Day1 Sap Basis Overview V1 1
Day1 Sap Basis Overview V1 1
 
Nw2004s What Is New
Nw2004s What Is NewNw2004s What Is New
Nw2004s What Is New
 

Recently uploaded

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 

Recently uploaded (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 

SAP BW connect db

  • 1. Extracting Data from Non-R/3 Databases with the DB Connect Feature of BW 3.0B By Hung Nguyen Introduction Extracting data from a non-SAP database and transferring it to a SAP BW database for analysis is an involved task. But with the DB Connect feature of BW 3.0B, it will become easier and simpler. This report presents the results of tests of the DB Connect feature conducted on a OS/390 based SAP BW 3.0B system. Summary The DB Connect feature of BW 3.0B was tested in three different OS/390 based BW 3.0B configurations. Data from a non-SAP Oracle database as well as data from a non- SAP DB2 database was successfully extracted and transferred into the PSA. The verification process was performed by comparing the data in the original databases against the one stored in the PSA. Test Configurations Three configurations are tested: 1. Data is extracted from a non-SAP Oracle database and transferred to a DB2 390 database of a BW 3.0B system. The non-SAP Oracle source database runs on a UNIX machine. The BW application server used to access it runs on Window 2000. This will be referred to as configuration A. 2. The non-SAP DB2 source database runs in the same LPAR as the SAP BW 3.0B DB2 database. A BW application server defined in the same LPAR is used to access the non-SAP source database. This configuration will be referred to as configuration B. 3. Data is extracted from a non-SAP DB2/390 database and transferred remotely to a DB2 390 database of a BW 3.0B system. A BW application server defined on a remote AIX machine is used to access the data of the non-SAP source database. This will be referred to as configuration C. Configurations Setup This section describes the setup of the tested configurations.
  • 2. Extracting and Transferring Data From Oracle to BW on OS/390 Configuration A This is an interesting situation. An example of it is: Oracle Financials is running on a Window or UNIX machine. Its data must be transferred to an OS/390 based SAP BW system for analysis. An Oracle source database running on UNIX or Window can only be accessed from a OS/390 based BW system by application servers on UNIX or Window. OS/390 applications servers do not have the Oracle client code to achieve this access. In the case of AIX, there is currently a problem. BW 3.0B is available on the AIX platform only with AIX 5L 64-bit. The current Oracle 8.17 cannot run on AIX 5L 64-bit because of the binary incompatibility between AIX 4.3.3 64-bit and AIX 5L. The support of Oracle 9i on AIX 5L is not available yet. For those reasons we decided to run the DB Connect test under Window 2000. A dialog instance was therefore built on the Netfinity machine ibmcc34 to support this test. The Central Instance runs on OS/390. DFS on OS/390 was used to distribute common filesystems between OS/390 and Window 2000. This configuration is shown in Figure 1. Figure 1. Test System Configuration for Data Extraction from Oracle
  • 3. The client code for Oracle and the SAP Oracle access library as well as a configured TNS are required to make the access to the database possible. Defining the Oracle Database Source System in an OS/390 Based BW 3.0B System The necessary steps to define the Oracle Database Source System are: 1. Go to the BW instance that can access the Oracle database, in our case the dialog instance on Window 2000 for the reasons given in the previous section 2. Use the Administrator Workbench and select Source Systems 3. Create a Source System with type Database 4. Enter the following required information: DB Connection: Name of this connection, for instance: BWIORA DBMS: ORA User name : a user defined in the Oracle database and whose tables/views are to be extracted to BW DB password: password of the previous user Conn.Info: TNS alias 5. Save 6. Back Note: The Source System will not be created if BW cannot access the source database Extracting Data from Oracle Once the source system is created, the communication with the non-SAP Oracle database is validated. The data can then be extracted using transaction rsdbc. A list of tables and views belonging to the user defined in the previous step is shown for possible extraction. See Figure 2.
  • 4. Figure 2. Extracting Data From Oracle with Transaction rsdbc Requirements for Extraction Extractable database tables or views must have their name in upper characters in the source database. Database fields that are not extractable because there is no equivalent data type in the SAP dictionary are marked in the I field. Fields with a name that has more than 30 characters will cause a problem during generation of the DataSource. To extract those fields, a view that converts and renames the fields into acceptable format and length must be created in the source system. The view rather than the table will then be used for extraction.
  • 5. Generating a DataSource in BW After having selected the appropriate fields from a view or a table, a data source is generated by pressing on the Generate DataSource button of the application tool bar. See Figure 3. The name of the DataSource is always prefixed with 6DB_ and is appended to the table or view name. Figure 3 shows 6DB_VTAB01 as an example of such a DataSource. In that example, we chose only three fields for extraction. They are: ID, D_2A, and T_2A. InfoSource and Infopackage are then defined in order to request the data from this DataSource. This is shown in Figure 4. The extraction process is then scheduled and monitored. In our case we load the three fields of the view VTAB01 to the PSA only. So, update rules and InfoObject assignment are irrelevant. Figure 5 and Figure 6 show the creation of the InfoPackage for DataSource 6DB_VTAB01 and a successful extraction process seen from the Workbench Monitor. Figure 3. Generating a DataSource
  • 6. Figure 4. InfoSource and InfoPackage for Extracting a View in Oracle Figure 5. InfoPackage Creation
  • 7. Figure 6. Successful Extraction Shown in the Workbench Monitor To ensure that the data is loaded correctly we compare it with the data in the source system. In the PSA the name of the database table used to load the data from DataSource 6DB_VTAB01 is /BIC/B0000235000. Figure 7 shows the first 27 rows of /BIC/B0000235000 using the data browser (transaction se16). Figure 8 shows the first 19 rows of the original data in the Oracle database.
  • 8. Figure 7. Extracted Data in the BW PSA Figure 8. Original Data in the Oracle Database
  • 9. Extracting and Transferring Data from a Non-SAP DB2 Database to BW on OS/390 For an application such as R/3 to access a DB2 database, we need a plan and a primary authorization ID. Unfortunately, those two parameters are not part of the connection information of table DBCON. A design error maybe? So BW will access the non-SAP database with the default plan name and authorization ID. Configuration B The non-SAP database could be running some Legacy application whose data is useful to BW. In this configuration, it runs in the same LPAR as the BW database. This is shown in Figure 9. Figure 9. Test Configuration B Setting Up the Source System As said in the previous section, some preparatory work must be done before the connection to the source database is possible. It is described in the following steps: 1. Bind the client access code of BW to the source database with the default plan name and with the user whose data will be extracted as the owner. See 3 below. 2. Grant the default primary authorization ID execute privilege on the plan. Now SAP BW can attach to the non-SAP database 3. Setup the connection parameters in the following way: a. Use Administrator Workbench and select Source Systems
  • 10. b. Create a Source System with type Database c. BW will not create this source system if it cannot access the database so the previous steps are very important d. In the Description of the Database Connections screen, specify DB2 as the DBMS type. e. In the same screen specify the name of the schema whose objects are to be extracted. This is also the owner of the plan bound in step 1. The password is irrelevant. Anything would go. The DBCON architecture is a general architecture and some parameters are irrelevant for some platform. f. In the same screen specify the two following parameters, separated by a “;” or “,”: SSID=<ssid of the source database>;SAPDBHOST=<name of the host in which the source database runs> . See Figure 10 below. Figure 10. Setting -Up the Local Connection to the Source Database Note: The Source System will not be created if BW cannot access the source database.
  • 11. Extracting the Data The data is extracted the same way as previously described for the Oracle database i.e using transaction rsdbc. InfoSource and InfoPackage are defined the same way with the extracted data going to the PSA only. Figure 11 and Figure 12 show the data loaded in the PSA and the data in the original DB2 database. Figure 11. Data From DB2 Database Loaded in BW PSA
  • 12. Figure 12. Original Data in the DB2 Database Configuration C In this configuration an application server on AIX is used to access the non-SAP DB2 database. This case applies to application servers on Window as well. This is shown in Figure 13. Same as in the case of a local application server, preparatory work must be done to enable access from the remote application server to the non-SAP DB2 database.
  • 13. Figure 13. Configuration C Preparing to Access the Non-SAP DB2 Database An ICLI Server must be setup in the host where the non-SAP DB2 database runs. It is preferable that the ICLI server release is consistent with the ICLI client release that runs in the application server. The ICLI server code must be bound to the non-SAP database the sane way as in the case of a local application server. If pass-ticket is used and is different from the current pass-ticket, a separate file containing the ICLI client code and the new pass-ticked should be created and specified in the DBCON table. Setting Up the Source System Basically, source system setup, DataSource, InfoSource, and InfoPackage creation are the same as in the local access case. Since we did not use pass-ticket, the only parameters that are necessary to enable the access to the source DB2 are the ones that are shown in Figure 14.
  • 14. Figure 14. Connection Information Parameters Test Results Data of table TTAB01 is extracted and transferred to BW using this configuration. The data loaded in the PSA is shown in Figure 15 and the data in the original system is shown in Figure 16.
  • 15. Figure 15. Data Extracted From a Non-SAP Database and Loaded in the PSA Figure 16. Original Data in the Non-SAP Database
  • 16. Conclusion For the tested configurations, the DB Connect feature on the OS/390 based BW 3.0B system works as designed.