SAP Knowledge Base Article - Preview

3434315 - Sporadic CALL_FUNCTION_OPEN_ERROR dumps when connecting to the local instance


The issue starts happening without a clear indication of why, and the issue goes away after some time (varying between a few and several minutes).

Different symptoms are observed while the issue is happening:

  • CALL_FUNCTION_OPEN_ERROR dumps are raised for connections being opened to the instance itself (e.g., destination "NONE").
  • At SM50, it can be observed that work processes stay "on hold" with reason "RFC" for several seconds.
    When double clicking on the work process, the "Wait Info" field shows "CMINIT".
  • The RFC Gateway trace file (dev_rd) shows entries similar to the following:

    *  LOCATION    SAP-Gateway on host [SAP hostname] /
    *              sapgwXX
    *  ERROR       timeout during allocate
    *  TIME        [date and time]
    *  RELEASE     789
    *  COMPONENT   SAP-Gateway
    *  VERSION     2
    *  RC          242
    *  MODULE      /bas/789_REL/src/krn/si/gw/gwr3cpic.c
    *  LINE        2264
    *  DETAIL      no connect of TP sapdpXX from host [SAP hostname] after 60 sec
    *  COUNTER     28108

  • At the transaction SMGW (initial screen), connections to the destination "NONE" stay on "connection pending" state for a long time.
  • A level 2 trace of the RFC Gateway reveals that the connection attempt is being made using an incorrect IP address.

    NiHLGetNodeAddr: get addr for hostname '[SAP hostname]' (mode=0)
    NiHLGetNodeAddr: found hostname '[SAP hostname]' in cache (valid-address/name)
    NiIGetNodeAddr: hostname '[SAP hostname]' = addr [wrong IP address]
    R3INIT: generated Partner-Host-Addr: [wrong IP address]



  • ABAP Platform based system
  • SAP NetWeaver ABAP based system


ABAP platform all versions ; SAP NetWeaver all versions


Connection pending, CALL_FUNCTION_OPEN_ERROR, GW_TIMEOUT , KBA , BC-CST-GW , Gateway/CPIC , BC-CST , Client/Server Technology , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.