Using the http trigger input in labels – QuickLabel NiceWatch User Manual

Page 43

Advertising
background image

Working with Triggers

43

NiceWatch User Guide

• In the Service No.field, enter the port where NiceWatch Server will be waiting for

incoming messages from SAP. You will need to set the same port in NiceWatch
configuration.

Under Logon/Security, setup the connection type. The NiceWatch device controller
supports the following: o No logon o Basic Authentication

Set the trigger for receiving messages from SAP ERP:

• In the Edit menu, select Add trigger and then select HTTP (or click on the HTTP

trigger icon in the Triggers toolbar.

• In the Trigger Properties window, make the following configuration:

a. Trigger Name: select the name of your trigger

b. Port: select the port where SAP is going to send the messages. This port

needs to correspond to the Service No. field in the Technical settings of the
RFC destination in SAP
(see RFC destination settings).

c. Press the OK button to save the settings and start the trigger.

Note: If you wish to secure the data exchange with a password, check the Basic
authentication
checkbox and enter the username and password. This username and
password must match the one set in HTTP destination settings.

To test the communication, go to SAP RFC destination settings and press the Test
connection
button. If all settings are configured correctly:

• SAP will display a “Status http response 200

• NiceWatch will display the “Trigger was executed” message.

Using the HTTP Trigger Input in Labels

NiceWatch enables you to send data in various structured types. The most commonly
used formats are .csv and XML. Other types of data sources are also available, but are not
recommended as they require more complex setup.

If you already have a sample data source (csv or XML file) that will be sent by your data
source, you can very easily import the structure into NiceWatch.

Note: You can use this trigger to send the data from SAP to the NiceWatch RFC
destination. NiceWatch will save the data to your hard disk or network destination if you
select the Save incoming data to the file checkbox on the HTTP trigger properties tab.

1. Save the data source file saved on the file system.
2. When you have access to the data, select the Filter tab in the HTTP Trigger

properties window.

3. Check the Use filter checkbox.

Advertising