Informatica抽取SAP数据

说明:

1 saprfc.ini文件一点要用wordpad保存,最好是删掉所有注释

2 saprfc.ini的系统变量路径:RFC_INI=C:\Informatica\9.5.0\clients\PowerCenterClient\client\bin\saprfc.ini(最好包含完整路径)

 

SAP uses the communications protocol, Remote Function Call (RFC), to communicate with other systems. SAP stores RFC-specific parameters and connection information in a file named saprfc.ini.

Configure the saprfc.ini file on the SAP BW Service and PowerCenter Client with parameters that enable communication with the BW system. This file enables PowerCenter to connect to the BW system as an RFC client. For more information, see http://help.sap.com.

Note: The Integration Service does not use the saprfc.ini file. When the BW server requests data from PowerCenter, the SAP BW Service records the host name and system number of the BW server. The SAP BW Service passes this information to the Integration Service. The Integration Service uses this information to connect and load data to the same BW server.

saprfc.ini Entry Types

PowerCenter Connect for SAP NetWeaver BW Option uses two types of entries to connect to BW through the saprfc.ini file:

    • Type A. Used by the PowerCenter Client. Specifies the BW application server.
    • Type R. Used by the SAP BW Service. Specifies the logical system created for PowerCenter in the SAP BW system.

Table 3-6 summarizes the saprfc.ini entry type for each PowerCenter component:

 

Table 3-6. saprfc.ini Entry Types
PowerCenter Component
Entry Type
Usage
PowerCenter Client
Type A
Import transfer structures from BW. Use DEST entry in the Import BW Transfer Structure dialog box.
SAP BW Service
Type R
Register as RFC server. Receive requests to run sessions. Use DEST entry when you create the SAP BW Service.

Sample saprfc.ini File

The following are sample Type A and Type R entries in the saprfc.ini file:

DEST=sapr3
TYPE=A
ASHOST=sapr3
SYSNR=00
RFC_TRACE=0

DEST=sapr346CLSQA
TYPE=R
PROGID=PID_LSRECEIVE
GWHOST=sapr346c
GWSERV=sapgw00
RFC_TRACE=1

Configuring an Entry in the saprfc.ini File

The SAP BW Service uses the Type R entry in the saprfc.ini file. You register the SAP BW Service with BW at the SAP gateway. The SAP BW Service is an RFC server and acts as a listener to receive requests from BW to execute a PowerCenter workflow.

The PowerCenter Client uses the Type A entry in the saprfc.ini file. The Designer connects to BW to import data into the PowerCenter repository.

Warning: Use a DOS editor or Wordpad to configure the saprfc.ini file. If you use Notepad to edit the saprfc.ini file, Notepad may corrupt the file.

To configure an entry in the saprfc.ini file:

    • Open the saprfc.ini file.
    Table 3-5 lists the default location of the file.
    • Enter the following parameters, depending on whether you are creating a Type A or Type R entry:

       

      saprfc.ini Parameter
      Type A/
      Type R
      Description
      DEST
      Both
      Destination in RFCAccept. For SAP versions 4.6C and higher, use no more than 32 characters. For earlier versions, use no more than 8 characters. All DEST entries must be unique. You must have only one DEST entry for each BW system.
      Use this parameter for the Type A entry as the connect string when you import an InfoSource in the Target Designer and when you configure database connections in the Workflow Manager.
      TYPE
      Both
      Set to A or R. Specifies the type of connection. For the entry types required for each PowerCenter component, see Table 3-6.
      PROGID
      R
      Program ID for the logical system you will create in BW for the SAP BW Service, as described in Defining PowerCenter as a Logical System in SAP BW. The Program ID in BW must match this parameter, including case.
      GWHOST
      R
      Host name of the SAP gateway.
      GWSERV
      R
      Server name of the SAP gateway.
      ASHOST
      A
      Host name or IP address of BW application.
      SYSNR
      A
      SAP system number.
      RFC_TRACE
      Both
      Debugs RFC connection-related problems. 0 is off. 1 is on.
    • If you are connecting to multiple BW systems, create multiple entries in the saprfc.ini file with unique DEST parameters.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值