Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Introduction to SAP Connector
  3. Connections for SAP
  4. Data integration using BAPI/RFC functions
  5. Data integration using IDocs
  6. SAP data type reference

SAP Connector

SAP Connector

Configure the sapnwrfc.ini file

Configure the sapnwrfc.ini file

SAP uses the communications protocol, Remote Function Call (RFC), to interact with external systems.
You need the
sapnwrfc.ini
file to process SAP IDocs or SAP BAPI/RFC functions that facilitate transfer of data when you read from or write to SAP through the SAP IDoc or SAP BAPI/RFC interface.
Create the
sapnwrfc.ini
file and include the necessary connection information and RFC-specific parameters required by the SAP connection type. You can use a DOS editor or WordPad to create the
sapnwrfc.ini
file, so that you can avoid errors commonly introduced by Notepad. Check out Sample sapnwrfc.ini files for connection types to know more about the
sapnwrfc.ini
file samples that you can use for different connection types.
After you create the
sapnwrfc.ini
file, you need to place the
sapnwrfc.ini
file in the agent directory. The agent verifies the
sapnwrfc.ini
file, and then use it for the configured connection.
Placing the sapnwrfc.ini file in the agent directory
You can use the Secure Agent or serverless runtime environment to connect to the SAP system as an RFC client, as follows:
  • To use a Secure Agent, place the
    sapnwrfc.ini
    file in the following location:
    <Informatica Secure Agent installation directory>\apps\Data_Integration_Server\ext\deploy_to_main\bin\rdtm\
  • To use a serverless runtime environment, place the
    sapnwrfc.ini
    file in the following location:
    \data2\home\cldagnt\SystemAgent\apps\Data_Integration_Server\ext\deploy_to_main\bin\rdtm\
Ensure the
deploy_to_main\bin\rdtm
directory exists. If it does not, create it and then place the files.
Restart the agent after placing the file in the required directory.
Upgrading from an earlier version
If you are upgrading from an earlier version, you do not need to create an
sapnwrfc.ini
file. The Secure Agent copies the
sapnwrfc.ini
file to the
deploy_to_main\bin\rdtm
directory.
Verifying the sapnwrfc.ini file
When you create a connection, the Secure Agent first verifies if an
sapnwrfc.ini
file exists in the directory. If the
sapnwrfc.ini
file exists, the Secure Agent uses the
sapnwrfc.ini
file. Else, an exception occurs.

0 COMMENTS

We’d like to hear from you!