Show TOC

The SAPNWRFC.INI FileLocate this document in the navigation structure

Use

Introduction

If you want to change or add parameters for your external RFC connections, you need not change the program code. These parameters can be specified the file sapnwrfc.ini.

The RFC library will read the sapnwrfc.ini file to find out the connection type and all RFC-specific parameters needed to connect to an SAP system, or to register an RFC server program at an Gateway and wait for RFC calls from any SAP system.

All RFC-specific parameters, both currently known (e.g. load balancing) or becoming available in the future, can be used without changing the RFC programs.

The sapnwrfc.ini file must be in the same directory as the RFC client/server program, or you can define it with full path and file name by the environment variable RFC_INI.

Example

Windows: set RFC_INI = d:\rfctest\saprfc.ini

Using the sapnwrfc.ini file

  • an RFC client program must issue the function RfcOpenConnection. The destination parameter of this function must point to an entry in the sapnwrfc.ini file.

  • An RFC server program must issue the RfcRegisterServer (resp. RfcStartServer). The destination parameter of this function must point to an entry in the sapnwrfc.ini file.

More Information

For more information on using the sapnwrfc.ini file see: