Integration with Third-Party Systems Using Web Services

Use

You can use PCo directly to transfer data from production to a third-party system, such as an SAP ME system. To do this, you can use the notification process. You can subscribe to specific tags of the data source. When specific events occur, PCo sends notification messages to the destination system by means of a Web service call.

If, for example, you want to connect SAP ME, you need to create a universal Web service destination system in PCo. SAP ME provides its own Web services, such as the Web service ProductionProcessingInClient.

PCo retrieves variable values such as the SFC number (SFC) from the data source and transfers them to the SAP ME system, for example, to a particular ME activity. PCo can predefine fixed values for specific parameters of the Web service.

Integration

For more information about the Web services provided by SAP ME, see https://help.sap.com/viewer/p/SAP_MANUFACTURING_EXECUTION.

Example

The following example shows which settings you need to make in the PCo Management Console for you to be able to transfer the SFC to SAP ME using the ProductionProcessingInClient Web service provided by SAP ME, for example.

Settings in the PCo Management Console

  1. In PCo, you create an OPC DA source system, for example, for a KEPWARE OPC server.

  2. You create a universal Web service destination system:

    • On the Web Service Settings tab, you define the settings for the Web service provided by SAP ME (see also: Web Service Settings Tab.)

    • On the Operation Configuration tab, in the Operation field, you select the Start (StartRequestMessage_sync StartRequest_syn) entry.

      For more information, see Operation Configuration Tab.

  3. You create the agent instance for the OPC source system to connect the OPC source system to the destination system.

    • Define the settings on the Host tab; for example, log level Verbose.

    • On the Subscription Items tab, choose the Browse pushbutton. The PCo system then displays the available tags, for example, for Device 1. Select the tag SCAN1, for example.

  4. Create a notification. The notification is used to be able to transfer the information from the source system to the destination system.

    • On the Output tab, enter the following expressions and values:

      Expression Name

      Expression Value

      SFC

      “SCAN1”

      SITE

      “QATEST”

      OPERATION

      “OP1”

      RESOURCE

      “RES1”

      USER

      “SITE_ADMIN”

    • Click on the Destinations tab, where you select the destination system and assign the appropriate output values to the destination variables. You can also have an automatic proposal of the assignment between the Web service variables and the output expressions. The assignment can only be made automatically if the Web service variable and the output expression have the same name.