SAP: RfcOpenEx fails
search cancel

SAP: RfcOpenEx fails

book

Article ID: 270362

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

We have the following error in universe.log :

| 2023-07-21 14:48:09 |ERROR|X|SAP|pid=28595.139705811650304| uxsap_open_comm           | SAP system [*/*/<MU>]: RfcOpenEx fails
| 2023-07-21 14:48:09 |ERROR|X|SAP|pid=28595.139705811650304| uxsap_connect             | uxsap_open_comm error: unable to open the RFC handle
| 2023-07-21 14:48:09 |INFO |X|SAP|pid=28595.139705811650304| uxsap_connect             | RFC connexion fails for SAP system [*/*/<MU>]
| 2023-07-21 14:48:09 |ERROR|X|SAP|pid=28595.139705811650304| uxsap_bapi_connect        | Unable to connect to the SAP system <sap_instance> for [*] [*] [<MU>]: uxsap_connect returned error -1
| 2023-07-21 14:48:09 |INFO |X|SAP|pid=28595.139705811650304| uxsap_bapi_connect        | Trying new connection... Attempt 2/2
| 2023-07-21 14:48:19 |ERROR|X|SAP|pid=28595.139705811650304| uxsap_open_comm           | SAP system [*/*/<MU>]: RfcOpenEx fails
| 2023-07-21 14:48:19 |ERROR|X|SAP|pid=28595.139705811650304| uxsap_connect             | uxsap_open_comm error: unable to open the RFC handle

The RFC trace (dev_rfc.trc) shows the following message:

>TS> Mon Jul 24 16:48:17 2023
T:139930327492352 Error in program 'uxagtsap': ======> No RFC authorization for function module RFCPING.
T:139930327492352 Error in program 'uxagtsap': <* RfcReceive [10] : returns 3:RFC_SYS_EXCEPTION
T:139930327492352 Error in program 'uxagtsap': ======> 

>>> RfcOpenEx ...
 Got following connect_param string: 
 TYPE=3 CLIENT=010 USER=UNISAP PASSWD=******* LANG=F TRACE=0 ASHOST=hostname SYSNR=21 IDLE_TIMEOUT=3600
<<< RfcOpenEx failed

Environment

Release : 6.0

Cause

The password is wrong or your user doesn't have the permissions to execute the RFC command RFCPING.

Resolution

Your SAP admin can solve this.