Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download and install NLINK.

  2. Populate the sapNwRfc.ini file (see below).

  3. Use the NLINK Management Module (NMM) to test the connection to SAP.

About the SAPNWRFC.INI File

...

Editing the sapnwrfc.ini File          

The sapnwrfc.ini file contains a DEFAULT section that specifies some global properties, followed by SAP connection information organized into DESTINATION entries. Each destination specifies one particular method of connection between NLINK and SAP.

If you are using the NLINK SAP RFC/BAPI, Query or Transaction CoNNectors, you will need one or more TYPE A (application server) or TYPE B (load-balancing) destinations. If you are using the SAP IDoc or RFC Listener CoNNectors, you will need one or more TYPE R (registering) destinations.

Each destination has a number of parameters that indicate how NLINK should find the SAP system. You can have any number of destinations in a single sapnwrfc.ini file, as long as all the destination names are unique.

You will probably need to get some of the parameter information from an SAP system administrator. If the SAP GUI is already installed and has a valid connection set up, you can also usually find the parameters for TYPE A or B connections there.

Put each destination parameter on its own line with an equals sign (=) between the parameter name and its value. You may include comment lines by starting with ”#” or ”/*” or ”//”. Anything on a line following those markings will be ignored. Include an empty line after each destination section.

The default file provided during the NLINK installation contains documentation about the various connection types and parameters.

 

 

Note
The DEFAULT section of the sapnwrfc.ini file includes a directive for settings the trace file directory, RFC_TRACE_DIR. However, this value is not currently honored by the SAP library. Look for trace files in the C:\windows\system32 directory until further notice.

 

...