Socket Source System

Context

With the socket source system you can provide a connection to a TCP/IP-based socket server that manages data, for example, in the warehouse or in production. This data is then transferred in the form of data streams first to PCo and then to a destination system, for example, to an SAP EWM system. The data streams are divided into individual telegrams using a user-defined delimiter or a message length you have defined. A telegram corresponds to a notification message.

You can connect the following types of destination systems:

  • RFC destination (SAP EWM, SAP ERP)

  • MII destination (SAP MII)

  • Web Service Destination (SAP ME)

If you have connected your data source to the destination system using the socket source system, the destination system can receive notifications in the form of telegrams.

The following tabs are available for configuring a socket source system:

You can use the socket source system for the notification process and for the query process.

Procedure

  1. To create a socket source system, in the menu choose Start of the navigation pathPlant Connectivity Next navigation step New Next navigation step Source SystemEnd of the navigation path. In the dialog window, choose the source system type socket source system and enter a name for the source system. Click OK.

    The Socket tab appears. On this tab, you can manage one or more TCP/IP connections and keep them open.

  2. On the Socket tab, you can make the following settings:

    Field

    Description

    Remove Terminator When Receiving Data

    The socket source system receives an endless data stream from the connected data source (server). That is why you need a separator, such as #, to separate the individual messages in the data stream. The separator is also called a terminator.

    If you select the checkbox, the terminator that denotes the end of a message is removed from each message.

    Socket Type

    Specifies the version of the Internet protocol. You have the following options:

    • IPv4: Internet protocol version 4

    • IPv6: Internet protocol version 6

    Once you have selected one of these options, PCo automatically creates another row in the table for an additional socket connection.

    Check Connection

    If the checkbox is selected, the connection to the port is tested periodically in accordance with the settings on the Reliable Connection tab. See also: Source System: Reliable Connection Tab

    Name

    Name of your choice

    Address

    IP address of the socket (server that is used as the data source)

    Port

    Port number of the socket

    Terminator

    Separator that is used to separate the individual messages within the data stream from each other.

    Enter #, for example.

    Length

    Length of the individual message within the data stream

Next Steps

For more information about configuring PCo in conjunction with SAP EWM, see SAP Note 2120484 Information published on SAP site.