Skip to Content
0
Jan 18, 2012 at 10:20 AM

RFC Error 240: Invalid length. Check parameters

1079 Views

Hi,

I want a simple RFC connection over a SAPRouter to an other SAP system. Just like this:

/H/customer-saprouter/S/3299/H/customer-app-server/S/3200

<--


SAP Router -
><--


app_server -


>

RFC-Settings:

Destination: SIDCLNT999
Con. Type:   ABAP (3)
Target Host: /H/192.168.20.20/S/3299/H/192.168.80.80/S/3200
System Nr.:  00

If I check the connection, I get the following error message:

Logon	Connection Error
Error Details	Error when opening an RFC connection
Error Details 	ERROR: Invalid length. Check parameters
Error Details	LOCATION: SAP-Server HOST_SID_00 on host HOST (wp 1)
Error Details	COMPONENT: CPIC
Error Details	COUNTER: 23
Error Details	MODULE:
Error Details	LINE:
Error Details	RETURN CODE: 240
Error Details	SUBRC: 0
Error Details	RELEASE: 700
Error Details	TIME: Wed Jan 18 10:49:57 2012
Error Details	VERSION:

I also updated the system to the last kernel patch (700.310), but the error message is still present.

If I use as Target Host just like this: /H/192.168.20.20/S/3299/H/192.168.80.80, I get an error message also, because the standard port (3299) will be used, but this port is always in use, so in the SAPRouter logs I see that the Port 3298 is taken, but the only port which is open, from the SAPRouter to the APPServer, is 3200.

I checked this string with NIPING:

niping -c -H /H/192.168.20.20/S/3299/H/192.168.80.80/S/3200
connect to server o.k.

So what's the deal with this error message?

Anybody an idea?

Thanks

Best Regards,

Tobias