Skip to Content
author's profile photo
Former Member

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

Hi,

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!

June

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    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

    regards

    Sam

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    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.

    Thanks,

    Suresh

    Add 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

      Example

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

      P4 port=50000100*154=51504

      Hope this would help

      regards

      Saumitra