Table of Contents

Search

  1. Preface
  2. Part 1: Getting Started with PowerExchange for SAP NetWeaver
  3. Part 2: Data Integration Using PowerExchange for SAP Dynamic ABAP Table Extractor
  4. Part 3: Data Integration Using ABAP
  5. Part 4: IDoc Integration Using ALE
  6. Part 5: Data Integration Using BAPI/RFC Functions
  7. Part 6: Data Migration
  8. Part 7: Business Content Integration
  9. Part 8: SAP BW Data Extraction
  10. Part 9: Loading Data to SAP BI
  11. Appendix A: Data Type Reference
  12. Appendix B: Code Pages and Unicode Support
  13. Appendix C: Glossary

PowerExchange for SAP NetWeaver User Guide for PowerCenter

PowerExchange for SAP NetWeaver User Guide for PowerCenter

Configuring a Connection in sapnwrfc.ini

Configuring a Connection in sapnwrfc.ini

The SAP BW Service uses the connection entries defined in the
sapnwrfc.ini
file to connect to an RFC server program registered at an SAP gateway. You register the SAP BW Service with SAP BW at the SAP gateway. The SAP BW Service is an RFC server and acts as a listener to receive requests from SAP BW to run a PowerCenter workflow.
The PowerCenter Client uses the connection entries defined in the
sapnwrfc.ini
file to connect to a specific SAP application server or to use SAP load balancing. The Designer connects to SAP BW to import metadata into the repository.
Use a DOS editor or Wordpad to configure the
sapnwrfc.ini
file. Notepad can corrupt the file.
To configure an entry in the
sapnwrfc.ini
file:
  1. Open the
    sapnwrfc.ini
    file.
  2. Enter the following connection parameters based on the type of connection that you want to create:
    sapnwrfc.ini Parameter
    Description
    DEST
    Destination in RFCAccept.
    Use this parameter for the following types of connections:
    • Connection to a specific SAP application server
    • Connection to use load balancing
    • Connection to an RFC server program registered at an SAP gateway
    Use this parameter as the connect string when you import an InfoSource in the Target Designer and when you configure database connections in the Workflow Manager.
    You can use up to 32 characters.
    ASHOST
    Host name or IP address of the SAP BW application.
    Use this parameter to create a connection to a specific SAP application server.
    SYSNR
    SAP system number.
    Use this parameter to create a connection to a specific SAP application server.
    R3NAME
    Name of the SAP system.
    Use this parameter to create a connection to use SAP load balancing.
    MSHOST
    Host name of the SAP Message Server.
    Use this parameter to create a connection to use SAP load balancing.
    GROUP
    Group name of the SAP application server.
    Use this parameter to create a connection to use SAP load balancing.
    PROGRAM_ID
    Program ID for the logical system you create in SAP BW for the SAP BW Service. The Program ID in SAP BW must match this parameter, including case. For more information about the Program ID parameter, see Defining PowerCenter as a Logical System in SAP BW.
    Use this parameter to create a connection to an RFC server program registered at an SAP gateway.
    GWHOST
    Host name of the SAP gateway.
    Use this parameter to create a connection to an RFC server program registered at an SAP gateway.
    GWSERV
    Server name of the SAP gateway.
    Use this parameter to create a connection to an RFC server program registered at an SAP gateway.
    TRACE
    Debugs RFC connection-related problems.
    Use this parameter for the following types of connections:
    • Connection to a specific SAP application server
    • Connection to use load balancing
    • Connection to an RFC server program registered at an SAP gateway
    Set one of the following values based on the level of detail that you want in the trace:
    • 0. Off.
    • 1. Brief.
    • 2. Verbose.
    • 3. Full.
  3. If you are connecting to multiple SAP BW systems, configure multiple connections in the
    sapnwrfc.ini
    file with unique DEST parameters.

0 COMMENTS

We’d like to hear from you!