Purpose
The purpose of this is to show you how to download, decompress, install NW RFC SDK,
and set enverioment variable step by step.
Overview
As of kernel 720 rfcexec.exe and startrfc.exe are no longer delivered together with kernel, however you want to use any of these programs. According to SAP Note 1581595, you plan to install NW RFC SDK on the server where SAP system is running.
Session 1: Download NW RFC SDK.
1) Check the OS version of SAP system.
so that you know which OS version should be selected later when downloading NW RFC SDK. E.g. the OS version of ABD system is Windows NT X86_64,
so we need to select “Windows on X64 64bit” in the next two screen.
2) Download NW RFC SDK.
The installation files for the SAP NW RFC SDK are available on the SAP Service Marketplace:
http://www.service.sap.com/~form/handler?_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=N&FUNCTIONBAR=N&EVENT=TREE&TMPL =01200314690200010197&V=MAINT
Click on Windows on X64 64bit
Tick the check box and click on “Add to Download Basket”
Click on “Download Basket”.
NetWeaver RFC Library installation file NWRFC_12-20004568.SAR appear in your download basket
.
Click on “NetWeaver RFC library”, below popup will appear, click on “Save” button to save the
file to any directory of your local PC or SAP server PC.
In this example, I save it to my local PC directory C:\Download.
Downloading…
Successfully downloaded.
Session 2: Decompress the NWRFC_12_20004568.SAR file by using SAPCAR.exe.
1) Put NWRFC_12_20004568.SAR and SAPCAR.exe into same directory
.
2) use cmd to go into command prompt screen.
3) use cd <directory where NWRFC_11_20004568.SAR and SAPCAR.exe are located> to goto that directory.
4) use SAPCAR.exe --xvf <NW RFC SDK file name> to decompress the NW RFC SDK into same folder.
Folder nwrfcsdk contains NW RFC SDK files.
Fil !15.png|border=1,width=600,height=292!e SIGNATURE.SMF can be ignored.
Session 3: Install NW RFC SDK on the SAP server where it is needed
To do this, just need to copy nwrfcsdk folder to any of directory of SAP server on OS level.
e.g. In this example, I copy it to ABD system D:\usr\sap\ABD\DVEBMGS00\exe\
Basiclly NW RFC SDK can be installed to any directory of a host where SAP server is running,
according to SAP Note 1581595,
In the SAP system (application server). Some values that maybe used in practice are:
/usr/sap/<sid>/SYS/exe/run
/usr/sap/<sid>/DVEBMGS00/exe
/usr/sap/<sid>/DVEBMGS00/work
/usr/sap/<sid>/D00/work
/home/sidadm (where "sidadm" is the operating system user under which the SAP system is running.)
Session 4: Set environment variable for NW RFC SDK
This example is for the case that the OS of SAP system where NW RFC SDK is installed is Windows.
Logon to the OS level where SAP system is running, right click on “My computer”, click on “Properties”
Click on “Advanced system settings”, click on “Advanced” tab, click on “Environment variables” button.
Under “System variables”, select “Path”, click on “Edit” button.
Move the cursor to the end of the Variable value, then add “;<full path of the directory which contains Bin folder>”. In this example, should add “;D:\usr\sap\ABD\DVEBMGS00\exe\nwrfcsdk”.
In this example, Variable value before adding:
D:\oracle\ABQ\11202\bin;……;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\
Variable value after adding:
D:\oracle\ABQ\11202\bin;……;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;D:\usr\sap\ABD\DVEBMGS00\exe\nwrfcsdk\lib
Note: you should set environment variable LD_LIBRARY_PATH on Unix platform.
Until now, you have installed NW RFC SDK and set environment variable completely.
Relevant link
The programming guide for the SAP NW RFC SDK can be found from below path:
http://service.sap.com/connectors -> SAP NetWeaver RFC Library
1581595 rfcexec and startrfc missing after upgrade
1025361 Support and Availability of the SAP NetWeaver RFC Library
1097997 Installing SAP NW RFC SDK in system i
5 Comments
Siva rama Krishna Pabbraju
Nice...!!
Former Member
Hi i did all the step to install NW RFC SDK , but when execute RFCEXEC i get the message " The program can't start because SAPNWRFC.dll is missing from your computer"
Idk what is wrong ??
Regards
Former Member
Hi,
the clickable URL in chapter "2) Download NW RFC SDK." is incomplete.
The complete clickable URL is:
http://www.service.sap.com/~form/handler?_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=N&FUNCTIONBAR=N&EVENT=TREE&TMPL=01200314690200010197&V=MAINT
Could somebody change the URL in the Wiki page?
Regards
Former Member
Hi all,
new path to download NW RFC SDK from Launchpad is linked in note 1025361
Regards
Syed Saad Ahmad
What a complicated process to do simple things at SAP.. Stuck at STEP 3