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 PowerCenter Client and the PowerCenter Integration Service use the connection entries defined in the
sapnwrfc.ini
file to connect to SAP. The connection entries that you define in the
sapnwrfc.ini
file will depend on the type of connection that you want to create.
The Designer connects to SAP to import metadata into the repository. The PowerCenter Integration Service connects to SAP to read and write data as an RFC client using the database connection that you create in the Workflow Manager.
Use a DOS editor or Wordpad to configure the
sapnwrfc.ini
file. Notepad can corrupt the file.
To configure a connection 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
    Logical name of the SAP system for the connection.
    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
    All DEST entries must be unique. You must have only one DEST entry for each SAP system.
    You can use up to 32 characters.
    ASHOST
    Host name or IP address of the SAP application. PowerCenter uses this entry to attach to the application server.
    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. The Program ID must be the same as the Program ID for the logical system that you define in the SAP system to send or receive IDocs or to consume business content data. For business content integration, set to INFACONTNT.
    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 systems, define the connection parameters for each system in the
    sapnwrfc.ini
    file with unique DEST parameters.

0 COMMENTS

We’d like to hear from you!