SAP Knowledge Base Article - Preview

2464128 - Connection Error in SM59: You cannot use the gateway as proxy for this connection


When performing a Connection Test on an RFC destination related to a registered program in the transaction SM59, the following output is raised:

Connection Error

Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT', communication

ERROR: You cannot use the gateway as a proxy for this connection

E.g.. The following picture shows the results of the Connection Test on the RFC destination SOLMANDIAG:


Note: This case is not exclusive to this destination. Other RFC destinations can present the same message.



  • Operating System independent
  • Database independent
  • Client/Server Technology - RFC Gateway
  • SAP NetWeaver
  • SAP Web Application Server for SAP S/4HANA
  • ABAP Platform


ABAP platform all versions ; SAP NetWeaver all versions ; SAP Web Application Server for SAP S/4HANA all versions


129, Gateway, Proxy, gw/reg_no_conn_info, RFC connection test, SM59, registered program, Connection Error, Error when opening an RFC connection, ERROR: You cannot use the gateway as a proxy for this connection, bitmask 128, proxy info file , KBA , BC-CST-GW , Gateway/CPIC , BC-MID-RFC , RFC , BC-CST , Client/Server Technology , SV-SMG-INS-DIA , Configuration of Root Cause Analysis related infrastructure , Problem

About this page

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

Search for additional results

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