cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Error 240: Invalid length. Check parameters

tobias_ptz
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Tobias,

I think you need to maintain sap system ip address in saprouttab. Please go through the below link for more details.

http://help.sap.com/saphelp_nw04/helpdata/en/22/0430e6488911d189490000e829fbbd/content.htm

Thanks,

Siva Kumar

tobias_ptz
Participant
0 Kudos

Hi Siva Kumar,

thanks for your response, but we don't need to maintain ip addresses in our SAPROUTTAB, because we've set the start (*).

The solution was the cloesed port 3300 (sapgw00), which we opened. Stupid error, because the logfile of the SAPRouter shows it want use 3298 if we checked the RFC with this settings:

/H/192.168.20.20/S/3299/H/192.168.80.80

Thank you!