Solution : https://service.sap.com/sap/support/notes/335162 (SAP Service marketplace login required)
Summary :
The SAP Note addresses a recurrent issue where the error message "connection closed" appears in transactional RFC and queued RFC monitors (SM58, SMQ1, SMQ2). This manifests due to the sender's expectation of a defined response from the receiving system post-LUW completion, with disruptions reported if the RFC connection closes from network issues. Various scenarios contribute to a 'normal' closure of RFC connections, like external programs processing without returning results, or R/3 system receiving interruptions during debugging or runtime overages. Resolving application problems is recommended to prevent such occurrences.
Key words :
additional key words sm58, trfc/qrfc monitors, trfc/qrfc sender, trfc/qrfc view, trfc/qrfc receiver, press f3/back, external program closes, respective error text, rfc close connection, external program
Related Notes :
481982 | "Connection closed" error with the SAP DB database |
378903 | Queue status in SMQ1, SMQ2 and table ARFCRSTATE |