establishing rfc connection between data stage – sap bw · pdf filethe datastage client...

20
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 1 Establishing RFC Connection between Data Stage SAP BW Applies to: SAP BW 3.5 and Higher. Summary This Article gives you a brief idea on how to create RFC Connection between Data stage and SAP BI. For more information, visit the Business Intelligence homepage . Author: Jagadeesh Ambati Company: Tata Consultancy Services Ltd Created on: 11 March 2010 Author Bio Jagadeesh Ambati is an SAP BI/BO consultant currently working with Tata Consultancy Services (Bangalore/INDIA). He has got rich experience in SAP BI and worked on various BI/BO implementation/Support projects.

Upload: lycong

Post on 30-Jan-2018

245 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

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

© 2010 SAP AG 1

Establishing RFC Connection

between Data Stage – SAP BW

Applies to:

SAP BW 3.5 and Higher.

Summary

This Article gives you a brief idea on how to create RFC Connection between Data stage and SAP BI. For more information, visit the Business Intelligence homepage.

Author: Jagadeesh Ambati

Company: Tata Consultancy Services Ltd

Created on: 11 March 2010

Author Bio

Jagadeesh Ambati is an SAP BI/BO consultant currently working with Tata Consultancy Services (Bangalore/INDIA). He has got rich experience in SAP BI and worked on various BI/BO implementation/Support projects.

Page 2: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 2

Table of Contents

Business Scenario: ............................................................................................................................................. 3

Steps: ............................................................................................................................................................... 3

1. System Prerequisites ............................................................................................................................. 3 1.1. DataStage requirements ........................................................................................................................................ 3

1.2. SAP BI requirements ............................................................................................................................................ 3

2. Access Rights, Firewall, User Creation ................................................................................................. 3 2.1. Firewall Settings .................................................................................................................................................... 3

2.2. User Creation ........................................................................................................................................................ 3

3. DataStage ETL Steps ............................................................................................................................ 4 Step 1: ......................................................................................................................................................................... 4

Step 2: ......................................................................................................................................................................... 4

Step 3: ......................................................................................................................................................................... 5

Step 4: ......................................................................................................................................................................... 5

Step5: .......................................................................................................................................................................... 6

Step 6: ......................................................................................................................................................................... 7

Step7: .......................................................................................................................................................................... 7

Step8: .......................................................................................................................................................................... 8

SAP BW Steps .............................................................................................................................................. 10 Step1: ........................................................................................................................................................................ 10

Step2: ........................................................................................................................................................................ 10

Step3: ........................................................................................................................................................................ 11

Step4: ........................................................................................................................................................................ 11

Step5: ........................................................................................................................................................................ 11

Step6: ........................................................................................................................................................................ 11

Step7: ........................................................................................................................................................................ 12

Step8: ........................................................................................................................................................................ 12

Step9: ........................................................................................................................................................................ 13

Step10: ...................................................................................................................................................................... 16

Step11: ...................................................................................................................................................................... 16

Step12: ...................................................................................................................................................................... 17

Step13: ...................................................................................................................................................................... 18

Step14: ...................................................................................................................................................................... 18

Testing........................................................................................................................................................... 18

Related Content ................................................................................................................................................ 19

Disclaimer and Liability Notice .......................................................................................................................... 20

Page 3: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 3

Introduction:

This Article gives you a Brief idea on How to create RFC Connection between Data stage and SAP BI.

Business Scenario:

In your Scenario, Your Company requires Data from SAP BI to Data stage. You were asked to setup the connection between Data stage and SAP BI.

Steps:

1. System Prerequisites

1.1. DataStage requirements

SAP BW pack which can connect DataStage v.8 to SAP BW v.7 must be available

The DataStage client component – DataStage Administrator for SAP must be installed.

DataStage Admin user with non – expirable password is required.

DataStage ETL project already created

1.2. SAP BI requirements

The Exact Source system name as maintained in ETL or SOURCE. (Care should be taken to define this correctly including Capitals, spaces and special characters. The name should be exactly as defined at the source level.)

The kind of connection defined at the source (Type and release)

2. Access Rights, Firewall, User Creation

All the below are MANDATORY Pre-requisites.

2.1. Firewall Settings

IN general the firewall must be switched off before installing the DataStage Pack

2.2. User Creation

User to be created with Admin rights for DataStage.

Username – dsadm(Used this username as an Example).

Password – Contact Authorized person/project owner

Page 4: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 4

3. DataStage ETL Steps

Step 1:

Open DataStage Administrator for SAP for the concerned project and click on new

Step 2:

Provide all the information requested in the page.

All the information on this page will be supplied by BW consultant. The connection name and description is a free text.

Page 5: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 5

Step 3:

Attached is the connection creation detail of a sample system .

Step 4:

This page details appears automatically once you fill in the previous tab.

Click on OK. If the page closes without error then it implies that connection to BW system is established without error

Page 6: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 6

Step5:

If step 4 is unsuccessful, then step 5 cannot be done.

Once BW connection is established define the connections details to DataStage.

One Sap BW connection can have multiple DataStage connections defined as its source system

Select your SAP BW connection and Click on source system to define DataStage connections

Page 7: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 7

Step 6:

Define the details as given below and the BW load RFC server program ID must be informed to BW consultant to enable him to define DataStage connections. Program ID must not have any spaces

between them.

Step7:

Define all the parameters and use a DataStage admin username and non expirable password to create the connection.

Click on O.K. If the window closes successfully without error then it implies that DataStage connection is established successfully.

Page 8: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 8

Step8:

Once Source system (DataStage) connection is established successfully click on Monitor RFC to check for the status of the connection.

The connection must be opened.

On failure, restart the SAP BW and DataStage machine to complete the connection successfully.

From the cmd mode type net stop "DataStage RFC Manager" and then net start "DataStage RFC Manager" to bring up the RFC server

Page 9: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 9

Page 10: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 10

SAP BW Steps

Step1:

To create a new Source systems go to T-code RSA1, Source systems tab

Step2:

On the Source Systems, Right Click and say create new source system

Page 11: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 11

Step3:

Here you get various options depending on the kind of source systems your BW system is connected to.

Step4:

In our case our source system is ETL and is a third party system hence we select third part source system.

Step5:

A new Source system gets created which will ask you to input parameters as shown below

Step6:

Give the Logical system name ,Source system name and Type and Release as TCP/IP.

Page 12: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 12

Step7:

A new source system is created as below,

Step8:

Right click on this Source system and click on RESTORE,

Page 13: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 13

Step9:

In the next POP UP fill in the parameters as defined by the Basis consultant, or if you have the knowledge of the same, in all the 4 tabs

Page 14: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 14

Page 15: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 15

Page 16: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 16

Step10:

After filling all the Parameters are correct do a

“CONNECTION TEST”

Step11:

On a successful and error free connection you will see the below success message

Page 17: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 17

Step12:

In case you get an error in Red as shown in example below Please co-ordinate with the ETL team to check all parameters mentioned from Point 5 to 9.

Page 18: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 18

Step13:

To end the creation of the Source system, Right click on the new source system and click “CHECK” and “ACTIVATE” in sequence and your source system is ready to load data.

Step14:

Please note that all your info providers and master data info objects and transaction data info objects need to mapped individually to this new source system

Testing

After successful creation of connectivity, test it by loading data from DataStage v8.0.1 to SAP BW.

Page 19: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 19

Related Content

http://help.sap.com/saphelp_NW70EHP1/helpdata/en/43/58e1cdbed430d9e10000000a11466f/content.htm

http://www-01.ibm.com/support/docview.wss?uid=swg21393028

For more information, visit the Business Intelligence homepage.

Page 20: Establishing RFC Connection between Data Stage – SAP BW · PDF fileThe DataStage client component – DataStage Administrator for SAP must be installed. DataStage Admin user with

Establishing RFC Connection between Data Stage – SAP BW

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

© 2010 SAP AG 20

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.