
Symptom
On transaction code SM59, when you tested the connection test on TCP/IP connections, you are getting below error,
CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=236 SAP gateway connection failed. Is SAP gateway started?
Solution
1. Check the gateway connection is up and running fine.
2. On the transaction code SM59 of the respective RFC destination, ensure all setting are configured correctly (pointing to the right setting) on target host, gateway host and gateway service.
3. Check the firewall is blocking or the port used is closed or open.
telnet <IP-ADDRESS> 33xx
ping <IP-ADDRESS>
4. Sec & Reg info file correctly maintained. Please refer to https://itsiti.com/secinfo-reginfo-gateway-security-files
5. Further check on trace file, dev_rd and locate any errors found.
6. Ensure all gateway parameters are properly set. As an example, gw/local_addr.



