The SAP manager refuses to connect to a SAP System defined in uxjcs.ini
Error Message in the universe.log:
|ERROR|X|SAP|pid=p.t| uxsap_bapi_connect | Cannot create connection on SAP system [####/#/#####*]
|ERROR|X|SAP|pid=p.t| uxsap_disconnect | connection is NULL
|ERROR|X|SAP|pid=p.t| uxsap_bapi_request_get_en | unable to connect to [####] [#] [####*]
If the RFC traces is activated. In the file dev_rfc.trc you will find following error messages :
T:5708 Error in program 'UniSapManager': ======> Connect to message server failed
Connect_PM MSHOST=<hostname>, R3NAME=PE1, GROUP=PUBLIC
LOCATION CPIC (TCP/IP) on local host
ERROR service 'sapmsPE1' unknown
TIME Tue May 13 16:16:47 201
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -3
MODULE ninti.c
LINE 530
DETAIL NiPGetServByName2: service 'sapmsPE1' not found
SYSTEM CALL getservbyname_r
COUNTER 5
T:5708 Error in program 'UniSapManager': ======>
>>> RfcOpenEx ...
Got following connect_param string:
TYPE=3 CLIENT=500 USER=UNIVERSE PASSWD=******* LANG=E TRACE=0 R
The SAP manager refuses to connect the SAP System.
-----------------------------------------------------------------------------------------------------------------------------------------------
Add in the /etc/services (for Unix/Linux) or in the c:\windows\system32\drivers\etc\services the following line
sapmsSID 36TS/tcp
Example :
SID: value of R3Name
TS: value of the TargetServer
In the uxjcs.ini the following settings
CLE: BELINT/S/SAP_ECC_*
.....
R3Name: IE1
......
TargetServer: 00
.......
Declare in the etc/services file following entry and save the file.
sapmsIE1 3600/tcp
If that still does not fix the issue, double check that the following parameters in uxjcs.ini are correct after consulting with your SAP admins:
GatewayHost: <hostname>
Group: PUBLIC
R3Name: DEV
MessageServerHost: <host name>
Consult the documentation about the correct configuration in uxjcs.ini in the following link:
Communication between the Manager and SAP - uxjcs.ini