SAP Note 516027 - Gateway error due to terminated TCP connection

Component : Gateway/CPIC - Client-Server-Technologie

Solution : https://service.sap.com/sap/support/notes/516027 (SAP Service marketplace login required)

Summary :
SAP Note addresses error messages Q0I and R49 appearing in the syslog, involving issues of TCP-level gateway connection termination upon read or write attempts. These errors, indicated by specific return codes (CPIC 020, SAP 223 and 224), are caused by external communication partners, not from SAP gateway. Solutions involve conducting trace level analysis on communication partners and firewalls, setting the gateway to trace level 2 using Transaction SMGW, and generating CPIC traces for external programs according to guidance in Note 47682. This allows identification and troubleshooting of the party terminating the connection.

Key words :
goto -> trace -> gateway -> increase level, sap return code 224 reason, sap return code 223, error messages q0i, write error messages, cpic return code 020, relevant communication partners, trace level 2, gateway notices, cpic trace

Related Notes :

743888GW: gw/so_keepalive profile parameter
559119Call disconnections in the syslog or dev_rd
376078CPIC, improved trace options
47682Activating the CPIC trace