nwrfc icon indicating copy to clipboard operation
nwrfc copied to clipboard

SAProuter support

Open mcr-ksh opened this issue 12 years ago • 4 comments

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

mcr-ksh avatar Nov 02 '12 08:11 mcr-ksh

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

mydoghasworms avatar Nov 26 '12 16:11 mydoghasworms

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.

mcr-ksh avatar Nov 27 '12 13:11 mcr-ksh

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.

mydoghasworms avatar Mar 26 '13 06:03 mydoghasworms

saprouter http connection

janewar avatar Nov 14 '22 07:11 janewar