The SAP NetWeaver RFC SDK is used to exchange data between SAP NetWeaver systems and non-SAP software components. Depending on the programming language and character representation of your non-SAP application, you can choose between three different versions. The version to select and the installation of the SAP NetWeaver RFC SDK are described in SAP Note 1097997.

The data is transferred between the SAP NetWeaver systems and the external application in objects like SAP internal tables, which tend to be very large in some cases. The SAP NetWeaver RFC SDK transfers and stores such an object in one chunk of consecutive memory. Therefore the SDK needs this memory to be provided by the operating system as contiguous space. Unfortunately, IBM i releases up to V5R4M0 only supported contiguous memory allocation up to 16 MB. This was found to be not  big enough in several customer situations.

Exceeding the 16 MB limit resulted in the following error messages in the RFC trace file:

     RFC_ERROR_INFO.key: RFC_MEMORY_INSUFFICIENT
     RFC_ERROR_INFO.message: Out of memory error


To provide a general solution for this kind of problems, we decided to raise the minimum required operating system release level for the SAP NetWeaver RFC SDK to IBM i 6.1. Beginning with this release, it is possible to allocate 2 GB of consecutive memory, which allows to transfer internal tables up to this size.

If you are still using an operating system release prior to IBM i 6.1 and cannot upgrade to a supported level, you can still use the old version of the SAP NetWeaver RFC SDK. The old version can be recognized in the SAP Software Distribution Center by its suffix “V5R3” and is still available for download. However, not further improvements or bug fixes will be provided for that version.

For more information, please see SAP Note 2330908.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply