The purpose of this wiki is to provide details on how to troubleshoot the "Invalid Length. Check parameter" error in tranaction SM59.
This error can be reported if there is a Network related issue, for example, problems resoving a service or connecting via a firewall.
Identifying the issue
The following error will be reported:
The dev_rfc trace will report something like the following:
The error will occur if there is a problem resolving the sapgwXX port.
- Check the etc/services file for incorrect port configuration
- Check for duplicate entries in etc/services file
- Check if a firewall between client and server is causing the issue