Which SAP RFC library is required for accessing an SAP data source with Longview Analytics?
For accessing an SAP data source Longview Analytics requires either the "SAP NetWeaver RFC-library" (sapnwrfc.dll), which is the default since Analytics version 10.3, or the still widespread "classic" SAP RFC library (librfc32u.dll), because Longview Analytics communicates with SAP via Remote Function Calls (RFC):
- The "SAP NetWeaver RFC-library" consists of the sapnwrfc.dll and a set of additional libraries required by the sapnwrfc.dll itself. These libraries are part of the SAP NetWeaver RFC SDK. Please refer to SAP note 1025361 for more detailed information concerning the library sapnwrfc.dll and additional libraries required.
- The Unicode-enabled version of the "classic" SAP RFC library consists of the librfc32u.dll and a set of Unicode libraries (icu*.dll) required by the librfc32u.dll itself for accessing SAP data sources.
If both RFC libraries are installed and you prefer using the librfc32u.dll instead of the sapnwrfc.dll, you can achieve this by adding the following option to the option list in the files settingsServer.xml and the settingsDesigner.xml:
<option optionType="bool"> <key>USENWRFCLIBRARY</key> <value>false</value> </option>
However, we recommend using the SAP NetWeaver RFC-library (sapnwrfc.dll) instead of the “classic” RFC library (librfc32u.dll).
The following questions are meant to help you finding the version of the RFC library appropriate for the Longview Analytics Designer and the Longview Analytics Server on your computer:
- Which version of the RFC library is appropriate for the operating system on the computer on which the Analytics Designer or the Analytics Server are installed?
Always use the latest version of the RFC library available for the operating system on your computer.
- Do I need a 32-bit or a 64-bit version of the SAP RFC library?
The Longview Analytics Designer and the Longview Analytics Server are available for both architectures (32-bit or 64-bit). The 32-bit Analytics Server needs the 32-bit version of the RFC library whereas the 64-bit version of the Analytics Server requires the 64-bit version of the RFC library. The same applies to the Analytics Designer.
- To which folders must I install the SAP RFC library files?
As these libraries are required by the Analytics Designer and the Analytics Server they must be installed on the same computer where the Analytics Designer or the Analytics Server are located.
In case you are running the 32-bit version of the Analytics Designer and the 64-bit version of the Analytics Server on a 64-bit Windows machine, you must install the 32-bit version of the SAP RFC library required by the Analytics Designer to the "Windows\SysWOW64" folder and the 64-bit version required by the Analytics Server to the "Windows\System32" folder.
That means the target folder for the SAP RFC library files depends on the architecture (32 or 64-bit) of the operating system, the Longview Analytics component and the RFC library. The following table lists the four combinations possible:
Operating System | Longview Component | RFC library | Folder |
64-bit Windows | 64-bit Analytics Server 64-bit Analytics Designer | 64-bit | Windows\System32 |
64-bit Windows | 64-bit Analytics Server 32-bit Analytics Designer | 64-bit | Windows\System32 Windows\SysWOW64 |
64-bit Windows | 32-bit Analytics Server 32-bit Analytics Designer | 32-bit | Windows\SysWOW64 |
32-bit Windows | 32-bit Analytics Server 32-bit Analytics Designer | 32-bit | Windows\System32 |
SAP note 413708 describes where the latest version of the RFC library can be downloaded from the SAP Software Distribution Center.
As the latest versions (starting with 7.1) of the SAP RFC libraries (both "classic" and Netweaver) were compiled with Microsoft Visual Studio 2005 they require a set of Microsoft Runtime Libraries. These libraries are contained in the "Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package (KB973544) (vcredist_x86.exe, vcredist_x64.exe or vcredist_IA64.exe, depending on the architecture (32-bit or 64-bit) of the RFC-library).
Important notice: The SAP RFC library librfc32u.dll (32 and 64 bit) of version 7.2 prior to patch 433 crashes when being unloaded and kills the Analytics Server process. We recommend using the sapnwrfc.dll instead. In case you must use the librcf32u.dll, use patch 433 of the librfc32u.dll 7.2. In our tests, also version 7.1 and all lower versions proved to be stable.
- 24,257 views
- 36 previews
- 42 versions
- 0 replies
- 3 followers
arcplan Enterprise, Longview Analytics, NetWeaver, SAP, SAP RFC library
- Posted By:
- Franz-Josef Neunzig
- January 6, 2012
About this forum
- 27,995 views
- 30 topics
- 3 followers
Your forum to share new discoveries, nifty solutions and helpful workarounds
Page Options
0 Replies