Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAProuter support #2

Open
mcr-ksh opened this issue Nov 2, 2012 · 4 comments
Open

SAProuter support #2

mcr-ksh opened this issue Nov 2, 2012 · 4 comments

Comments

@mcr-ksh
Copy link

mcr-ksh commented Nov 2, 2012

Hi,

i've been trying to connect via SAProuter and found it not working.

as ashost a string like:
ashost = "H/#{srhost}/S/3299/H/#{rhost}/S/#{rport}"

causes:
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR hostname '?' unknown
TIME Fri Nov 2 09:16:05 2012
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -2
DETAIL NiErrSet
COUNTER 2

@mydoghasworms
Copy link
Owner

What is the value of srhost, rhost and rport when you output to console just before calling this statement?

@mcr-ksh
Copy link
Author

mcr-ksh commented Nov 27, 2012

its an IPv4 address and port number.

so srhost is imagine "1.1.1.1". rhsot is something internal. lets say "10.1.1.123" and port rport 3444.

@mydoghasworms
Copy link
Owner

Sorry, I never took the time to understand your problem earlier. What happens when you pass "saprouter" => "H/#{srhost}/S/3299/H/#{rhost}/S/#{rport}" to Connection.new? The parameters are passed as-is to the API functions. You can see a list of them here: http://help.sap.com/saphelp_nwpi71/helpdata/en/45/a2716ae67b2e78e10000000a155369/frameset.htm

I haven't tried connecting via a router myself. Sorry for the late reply.

@janewar
Copy link

janewar commented Nov 14, 2022

saprouter http connection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants