Skip to Content
author's profile photo Former Member
Former Member

How does SAP handle the protocols for different set of data transfer?


It seems that SAP handles different set of data transfer through different TCP port numbers,

such as:

SAP System Dispatcher Port 32xx

SAP System Dispatcher Security Port 47xx

SAP System Gateway Central Instance Port 33xx

SAP System Gateway Security Port 48xx

SAP message server services 36xx

GUI Client and STEAM Agent 49xx

and there is no default TCP port for any type of the data transfering to differentiate SAP traffic from other TCP applications. I would image that the server recognize the SAP traffic based on the SAP protocol. How does the SAP client initiate the connection to the SAP server? Does all the above data transfering types use the same protocol? or each type of data transfering uses different protocol?

Most of TCP applications have thier own protocols. E.g. FRC 765 for FTP and RFC 2068 for HTTP(1.1). Is there any way that I can learn the SAP protocol?

I would truly appreciate your help!


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 13, 2003 at 01:55 PM

    hi june,

    well i didn't find any RFC for the same.. but there is a logic or say calculation how sap uses the port that can be found in the WAS documentation



    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 14, 2003 at 05:16 PM

    Hey June,

    The communication between different servers and client depends on TCP/IP Protocol, there is no seperate thing called SAP protocol. The Ports used depends upon the settings in each of the server configuration/installation.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi june,

      yea what suresh tells is right.

      i have got something for you but its of WAS 630.

      For SAP J2EE Engine 6.30, 20 ports are available for the dispatcher element and 80 are available for the server elements, since five is the maximum number of ports for a server process. Therefore, no more than 16 server cluster elements can be created on one instance.

      The SAP J2EE Engine ports must meet the following requirements:

      · The port value must be a number over 50000

      · For each cluster element the ports begin with 50000+100*sid, where sid is the system ID identifying the whole system (central instance and dialog instances)

      ¡ For dispatcher cluster elements

      The ports are created from 50000100*sidport_index, where port_index is a number from 0 to 19 inclusive, and specifies the number of ports for the cluster element.

      Dispatcher port_index Values

      Index Port Name

      0 HTTP port

      1 HTTP SSL port

      2 IIOP Initial Context port

      3 IIOP SSL port

      4 P4 port

      5 P4 HTTP Tunneling port

      6 P4 SSL port

      7 IIOP port

      8 Telnet port

      9 Monitor port

      10 JMS port

      For server cluster elements

      The ports are created from 50000100*sid20n*5port_index, where n is the number of server elements from 0 to 15 and port_index is from 0 to 4.

      The ports for SAP J2EE Engine server3 with sid=15 are from 51535 ( 50000100*15203*50) to 51539 ( 50000100*15203*54).

      Server port_index Values

      Index Port Name

      0 Join port

      1 Debug port


      The port for P4 on a server cluster element with sid=15 is:

      P4 port=50000100*154=51504

      Hope this would help



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.