Skip to Content
avatar image
Former Member

RFC to/from SAP: How to change the port?

Dear experts,

to call SAP via RFC the according sapgw<xx> port is used. To what I know this is related to the system number, so if the system number is 01 it's the sapgw01.

Now we need to prioritze traffic over the network which works via ports for us. Is there any way to communicate to SAP via an SM59 TCP destination using a different port than 33<system number>? Like for communications from external application A we use 3301, for application B we use 3302.

Hope I was able to explain it properly.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 02, 2016 at 11:22 PM

    Dear Gunter, 😊

    There would be no such option.

    At an SAP ABAP system, it is the Gateway process that receives / handles RFC communication with remote systems, and the Gateway does not have the option to bind to multiple ports.

    The Gateway can bind to only two ports:

    • sapgw<xx> (33xx/tcp) - for "normal" RFC communication; and
    • sapgw<xx>s (48xx/tcp) - for RFC communication with SNC enabled.



    Add comment
    10|10000 characters needed characters exceeded