Professional Documents
Culture Documents
com
info@nicelabel.com
Implementing NiceWatch
Enterprise Business Connector
in a SAP environment
Introduction ............................................................................................................................. 3
Conclusion ............................................................................................................................ 11
Appendix ............................................................................................................................... 12
Introduction
This white paper is a basic guide on implementing a rugged and structured label
printing solution in SAP ERP with the help of the NiceLabel Enterprise for SAP
device controller.
This white paper is a technical look at the process of SAP label printing
integration, see the Printing labels from SAP ERP white paper for additional
business-focused information on the topic.
The 3-step guide to SAP label printing
The printing scenario
The printing scenario is the practical aspect of the SAP label printing integration
project. Once a need for label printing has been identified, and a SAP Certified
device controller has been selected, the questions of What and Why have been
answered. This leaves us with the How.
In order to facilitate this process, a basic plan should be assembled to define the
above process in terms of actions needed both on the SAP side, as well as on
the device controller side (steps 2 and 3).
Setup scenario
SAP side NiceLabel side
NiceWatch Server NiceLabel Pro
Connectivity Setup RFC Setup RFC trigger
destination
Data Define data source Import or manually Design label
(XML or csv) define the data template with
structure that will source structure variable fields from
hold the data the data source
structure
Considerations
Before implementation, consider:
o How many different label templates are needed
o To which printers will the labels be printed
o How is the printer going to be selected
o Which data is going to be printed
SAP configuration
Define the data source (XML or csv) structure that will hold the data
Refer to SAP documentation
1
If the server where NiceWatch Server is installed has multiple IP addresses,
refer to Appendix.
Under Logon/Security, setup the connection type. The NiceWatch device
controller supports the following:
o No logon
o Basic Authentication
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 SAP RFC 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.
This guide will focus on the vital basics, for a complete guide and instructions see
the NiceWatch Enterprise User Guide.
If you already have a sample data source (csv or XML file) that will be sent by
SAP, you can very easily import the structure into NiceWatch.
Note: you can 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 SAP RFC trigger
properties tab.
After importing the structure, connect the structure to the variable fields in the
label template. If the variable field names in the .lbl file match with the ones in
your data source, NiceWatch will connect them automatically.
This procedure is primarily used for error reporting, which is achieved by 2 steps:
o Exporting error data from the trigger
o Capturing this data and sending it to SAP
Note: The dumped data will not include the error message itself, but will provide
the XML data captured by the trigger and data identifying the trigger and time.
As the data arrives in a file format, it can easily be picked up by a NiceWatch file
trigger.
A new File Tigger must be created and set up to gather error event data:
o In the Edit menu, select Add Trigger, then File
o Refer to the File trigger documentation to see how to set up a trigger that
gathers data from newly created files in a certain folder or updated files.
o Add the action “Send XML to SAP” for the trigger
o Define the XML structure to reflect the structure expected by SAP
Note: There are countless ways to receive and parse data to be sent to SAP.
The File Trigger structure allows the user to parse the XML data dump and
include variable data into the return data or even use VBScript to customize the
process. For more information, see the File Trigger section of the NiceWatch
User Guide.
Because the system of sending error data to SAP is based on NiceWatch errors,
it is limited to errors which occur before the data is sent to the printer. This
includes errors in received data or sending errors. It is not possible to report
errors which occur in the spooler or on the printer.
The system provides a rugged and basic frame which is implemented quickly and
efficiently into any existing SAP implementation, yet provides numerous valuable
components which can be used to enhance its performance.
Appendix
Additional Resources
Additional documentation is available, detailing individual NiceLabel products and
industry solutions. As any detailed documentation of these processes also
depends on the individual solution, the examples and workflows in specific
documentation are based on NiceLabel products and the NiceLabel methodology
of enterprise-level label printing performance and automation. The documents
are available at http://www.nicelabel.com/Learning-center.
www.europlus.si www.nicewareintl.com
info@europlus.si sales@nicewareintl.com
support@nicewareintl.com
support@nicelabel.fr info@nicelabel.de
www.nicelabel.fr www.nicelabel.de