The Netweaver RFC library is distributed along with SAP GUI 7.50 and later, and can also be obtained as a standalone download from the SAP marketplace. It consists of the following files:
sapnwrfc.dll
icudt34.dll
icuin34.dll
icuuc34.dll
libicudecnumber.dll
libsapucum.dll
If you install SAPGUI 7.50 or later, there are no additional steps to take. If using the standalone download from the link above, you must either
-
add the location of the
lib
folder to thePath
environment variable, as described in the SCN link or -
set the Rfc Connector option
nwrfc.path
to the path where you extracted thelib
folder from the .sar archive, as shown in the example below:
// create a session instance NWRfcSession session = new NWRfcSession(); session.Option["nwrfc.path"] = "C:\path\to\nwrfcfolder\lib\"; // set up system and logon data (omitted) // ... session.connect();