您的位置:首页 > 数据库

Installing DB Connect with MSSQL Server Database

2008-11-26 21:36 375 查看
Steps in Installing and Achieving Database connectivityDependencies:
MSSQL server has the dependency that one of the SAP BW Application Server should be Microsoft Windows. MSSQL client which has to be installed on the SAP BW Application Server is available only for windows OS.
Step 1: Install the DBSL (LIB_DBSL.SAR ) library in the path of DIR_LIBRARY environment variable (Default Path: /usr/sap/<SAPSID>/SYS/exe/run)

Reference: Install DBSL

Step 2: Install the MS SQL Client on the Application Server. Advised to Install the MS Client on Mixed Mode (Windows User and SQL user) After the Installation of the Client, we can check the Database connection from the Application Server by starting the SQL client and trying to connect the Target Database. This helps to know that the network is clear and fine.
Step 3: Create a USER in MSSQL Server with “DDL_ADMIN “as the Role. This gives the user rights to create tables and views.
Step 4: Create a view on the top of Tables to be extracted (use the newly created SQL User).The Columns Names should be kept CAPITAL

Reference: Database Schema

Step 5: Create Source System for MS SQL Server





The User Name and Password is entered. The Connection Info has the syntax: MSSQL_SERVER=<server_name> MSSQL_DBNAME=<db_name> The IP Address of the MSSQL Server is used. This will take the Default Instance of MSSQL. To access a different Instance, Give the MSSQL_SERVER = <IP Address>/<Instance Name>

Note: Use the same User Name for BW user Login and The MS SQL user login. If you are not keeping this, the data extraction will not succeed. As per the Image shown below, DBCON is the user name which is going to be used for MSSQL. So create a user DBCON in SAP BW for extracting data from MS SQL Server.
Reference: Source System Creation



Step 6: Create Data Source:
a) Right Click on the created SQL Source System and select Database Tables



b) Select the Created View and Edit Data source



c) The extractor check is done by displaying Table contents.
d) Generate the Data Source



Here we get the Data Source in place. Now the rest is create a data flow and extract the data.
Note: BW 3.5 is taken as the reference system
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: