Dear Holger,
Thanks for sharing...!!
I was also gettng same error with return code 242 for DEV to SOLMAN trusted RFC.
The issue is SOLMAN is on Windows Platform and the Windows Platform and Windows Firewall is ON which blocking communication though ping is successful and host entry is maintained.
Your reply helped me to solve the issue.
Thanks...!!!!
Regards,
Ishan