-
SYSNR = '00'
with Connection(ashost=ASHOST, sysnr=SYSNR, client=CLIENT, user=USER, passwd=PASSWD, lang=LANGUAGE) as CONN:
data = CONN.call(func_name="XXX", options={}) The connection's port will be 33 + SYSNR, so it's 3300 here. Is anyone can tell me how to specify connection's port? Thanks very much. |
Beta Was this translation helpful? Give feedback.
Answered by
bsrdjan
Jan 9, 2023
Replies: 1 comment 1 reply
-
Yes, the connection port is determined by system number. How to set RFC connection ports is documented in |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
scape7yu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, the connection port is determined by system number.
How to set RFC connection ports is documented in
sapnwrfc.ini
file, located in SAP NWRFC SDKdemo
folder. Some examples can be found also in PyRFC issues by searching for "connection port", like #202 (comment) or #212 (comment) ...