Setting Up ABAP Push Channels

Context

An important part of a working material flow system (MFS) is the robust and fast data exchange between the MFS component in SAP Extended Warehouse Management (SAP EWM) and external data sources such as programmable logic controllers (PLCs) or rack feeders. To support this, you can configure SAP EWM to communicate directly with PLCs using ABAP Push Channels (APCs) instead of using SAP Plant Connectivity (PCo) as a communication layer.

When using APCs, you can monitor the status of the communication to PLCs in the following ways:

  • You can check the status of communication channels in the warehouse management monitor.

    If an issue is detected when starting the channel, for example, the host cannot be reached, the warehouse management monitor displays a corresponding log.

  • You can check the telegrams exchanged with PLCs in the warehouse management monitor.

  • You can check the Transmission Control Protocol (TCP) log in the warehouse management monitor under Start of the navigation pathMaterial Flow System Next navigation step APC TCP LogEnd of the navigation path or under Start of the navigation pathMaterial Flow System Next navigation step Telegram Next navigation step APC TCP LogEnd of the navigation path.

    You can activate a technical log in the Internet Communication Manager (ICM) in transaction SMICM (see Using the ICM Monitor). In the ICM, you can set parameter ICM/TCP/Logging by choosing Start of the navigation pathGoto Next navigation step Parameters Next navigation step ChangeEnd of the navigation path. You can find the resulting log files using transaction AL11. Depending on the log level, you can find information on connections and messages exchanged from a low level view. For more information, see SAP Library for SAP NetWeaver on SAP Help Portal at http://help.sap.com/nwInformation published on SAP site. In SAP Library, choose Start of the navigation pathFunction-Oriented View Next navigation step Application Server Next navigation step Application Server Infrastructure Next navigation step Components of SAP NetWeaver Application Server Next navigation step Internet Communication Manager (ICM) - SAP NetWeaver Next navigation step Administration of the ICM - SAP NetWeaver Next navigation step ICM Parameters - Reference for ABAP and Java Next navigation step icm/TCP/loggingEnd of the navigation path.

  • You can check the technical connections using ABAP Push Channels in transaction SMWS.

    For more information, see SAP Library for SAP NetWeaver on SAP Help Portal at http://help.sap.com/nwInformation published on SAP site. In SAP Library, choose Start of the navigation pathFunction-Oriented View Next navigation step Application Server Next navigation step Application Server Infrastructure Next navigation step Functions and Tools of SAP NetWeaver Application Server Next navigation step Connectivity Next navigation step Components of SAP Communication Technology Next navigation step Communication Between ABAP and Non-ABAP Technologies Next navigation step ABAP ChannelsEnd of the navigation path:

    • Start of the navigation pathABAP Push ChannelsEnd of the navigation path

    • Start of the navigation pathABAP Push Channels Next navigation step APC Administration Next navigation step Monitoring APC ConnectionsEnd of the navigation path

Procedure

  1. On the SAP Easy Access screen, choose Start of the navigation pathTools Next navigation step ALE Next navigation step ALE Administration Next navigation step Runtime Settings Next navigation step Maintain RFC DestinationEnd of the navigation path to create a Remote Function Call (RFC) destination (connection type ABAP connection).

    This RFC destination is used to allow a context switch for a technical user to communicate with PLCs. Therefore, on the Logon & Security tab page, specify a valid user to process incoming PLC requests.

    On the Technical Settings tab page, define the SAP EWM system as the target system. We recommend that you use load balancing. For example, you can specify a special logon group on the SAP Easy Access screen by choosing Start of the navigation pathExtended Warehouse Management Next navigation step Master Data Next navigation step Material Flow System (MFS) Next navigation step Maintain Application Server Group for MFS ProcessesEnd of the navigation path.

  2. On the SAP Easy Access screen, choose Start of the navigation pathExtended Warehouse Management Next navigation step Master Data Next navigation step Material Flow System (MFS) Next navigation step Maintain Programmable Logic ControllerEnd of the navigation path to specify that you want to use the ABAP Push Channel TCP socket communication layer.

    Specify the name of the RFC destination created during the previous step. Follow this step for each PLC.

  3. On the SAP Easy Access screen, choose Start of the navigation pathExtended Warehouse Management Next navigation step Master Data Next navigation step Material Flow System (MFS) Next navigation step Maintain Communication ChannelEnd of the navigation path to set the host and port of the communication channels.

    SAP EWM passes on these parameters to the communication layer when the channel is opened. The communication layer is then maintenance-free.