cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Connection Error

RakeshPatel
Discoverer
374

Hi Everyone,

We are facing below error when we do RFC call from SAP Commerce Cloud to On-Prem SAP ECC system.
We have NAT configured at both side. 
Also we are using the Azure VM to forward request to On-Prem system using nginx.
SAP Commerce Cloud -> AzureVM nginx -> On-Prem SAP ECC

Error Details

 

 

Script execution has failed [reason: com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Initialization of destination MANAGEMENT failed: Connect from SAP gateway to RFC server failed
	connection parameters: TYPE=A DESTINATION=MANAGEMENT ASHOST=<NAT IP> SYSNR=00 PCS=1

LOCATION
    SAP-Gateway on host <HOST NAME> / sapgw00
ERROR
       timeout during allocate
TIME
        Mon Dec 16 14:10:29 2024
RELEASE
     753
COMPONENT
   SAP-Gateway
VERSION
     2
RC
          242
MODULE
      /bas/753_REL/src/krn/si/gw/gwr3cpic.c
LINE
        2218
DETAIL
      no connect of TP sapdp00 from host <NAT IP> after 20 sec
COUNTER
     2
]

 

 

 #CCV2 SAP Commerce Cloud  #ECC #RFC 

Thank you.

View Entire Topic
mansurarisoy
Contributor
0 Kudos

It seems that your issue is similar to the one described in the question, "RFC failure from Commerce Cloud to On-Premise ECC" and I believe the solution I provided for that question should resolve your issue as well. Please give it a try and let me know if it works.

RakeshPatel
Discoverer
0 Kudos

Yes, I tried the same steps but it didn't work for me.
We don't have direct VPN connectivity between Commerce Cloud and On-Prem servers.

We have AzureVM between Commerce Cloud and On-Prem server.
SAP Commerce Cloud -> AzureVM nginx -> On-Prem SAP ECC

Do you think same steps will work for above connectivity?

mansurarisoy
Contributor
0 Kudos
Yes, I think it’s related to the configuration of NAT IPs. The answer Kai provided might also give you a direction to explore.