Show TOC

Example documentationExample: How Printing Works Locate this document in the navigation structure

 

During production, you want to have travelers printed when SFC numbers of the ENGINE_MOUNT material are started on the first operation of the routing (WELDING).

Prerequisites

  1. Adobe Document Services (ADS) component is installed and configured during the SAP NetWeaver installation (see the Prerequisites section of Setting Up ADS Printing).

  2. Network printer ATL4 is set up on the system network. Printer drivers are installed on the server. SAP NetWeaver Windows Services SAPLKG_00 and SAPLKG_01 (where LKG is the SAP NetWeaver instance name) are logged on as Windows users having permission to the printer.

  3. Folder D:\Template is created on the server and shared. Traveler template file TVLR01.XDP, with ME data fields to be printed, is saved in this folder.

  4. In Routing Maintenance, you have created a routing with the WELDING operation as the first step.

  5. In System Rule Maintenance, under the System Setup category, you have set up system rules as follows:

    System Rule

    Site Value

    ADS - Document Printing Template Directory

    D:\Template

    Document Printing Temporary Directory

    D:\Temporary

    ADS - Storage of PDF Document

    TRUE

  6. In Document Maintenance, you have defined the following values for the traveler document to be printed:

    Field Name

    Value

    Document

    SHOP_ORDER_TRAVELER

    Version

    A

    Main tab page

    Print Qty

    1

    Template

    TVLR01.XDP

    Document Type

    Traveler

    Print By

    SFC

    Print Method

    All

    Status

    Enabled

    Document Options tab page

    All checkboxes selected

    Print Integration tab page

    Data Acquisition:

    com.sap.me.document.impl.BaseDataAcquisition

    User Argument:

    Blank

    Formatting:

    com.sap.me.document.impl.ADSFormat

    User Argument:

    PRINT_FORMAT=ZPL

    Transport:

    com.sap.me.document.impl.ADSTransport

    User Argument:

    SFC

    Write Error Log:

    Selected

  7. In Material Maintenance, on the Documents tab page, you have added TVLR01 to Printing Documents for the material SHOP_ORDER_TRAVELER.

  8. In Printer Maintenance, you have created ATL4 printer with the Enabled checkbox selected and Traveler added to the Assigned Document Types list.

    Caution Caution

    The printer name defined in Printer Maintenance must be equal to the printer name used by the operation system on the server where SAP NetWeaver instance of SAP ME application is running.

    End of the caution.
  9. In POD Maintenance, on the Printers tab page, you have specified ATL4 as a Traveler Printer.

  10. In Operation Maintenance, on the Activity Hooks tab page, you have set up ADS Document Print (SY521) activity as an activity hook on POST_START hook point at the first operation (WELDING) . The hook is enabled and User Argument for it is document name (SHOP_ORDER_TRAVELER).

Procedure

To print the traveller when SFC numbers of the ENGINE_MOUNT material are started on the first operation in the routing (WELDING), proceed as follows:

  1. In default Operation POD, specify WELDING as the operation and choose the appropriate resource.

  2. Enter an SFC number of the ENGINE_MOUNT material.

  3. Start the SFC number. A traveler for the SFC will be automatically printed at the assigned printer.

The figure below illustrates the primary flow of user actions when performing printing of the traveller:

This graphic is explained in the accompanying text.