Show TOC

Process documentationSetting Up ADS Printing Locate this document in the navigation structure

 

You can use this process to set up printing of production-related documents using SAP NetWeaver Adobe Document Services component, including setting up manual printing from the Document Reprint activity and from a POD, as well as automatic printing at defined points in the manufacturing process.

Prerequisites

  1. You have installed and configured SAP NetWeaver Adobe Document Services component as follows:

    1. During the SAP NetWeaver installation, select to install the Adobe Document Services component. After the installation, check if Adobe Document Services have been installed at http://<nwhost>:<port>/nwa under   Configuration Management   Infrastructure   Adobe Document Services  .

    2. Install and configure reader rights credentials (see Configuring Credential Attributes used by ADS at   http://service.sap.com/instguidesnw   SAP NetWeaver 7.3   SAP NetWeaver Library   Functional View   SAP NetWeaver by Functional Areas   Adobe Document Services for Form Processing   Configuring Adobe Document Services for Form Processing (Java)  .

    3. Create a user for basic authentication (see Setting Up Basic Authentication to ADS in a Java Environment at   http://service.sap.com/instguidesnw   SAP NetWeaver 7.3   SAP NetWeaver Library   Functional View   SAP NetWeaver by Functional Areas   Adobe Document Services for Form Processing   Configuring Adobe Document Services for Form Processing (Java)  ).

    4. Configure WSIL destination. For more information, see Configuring Logical Destinations for WS Callable Objects in SAP Library for SAP Solution Manager.

      For more information about configuration of SAP NetWeaver Adobe Document Services (ADS), see Configuring Adobe Document Services for Form Processing (Java) at   http://service.sap.com/instguidesnw   SAP NetWeaver 7.3   SAP NetWeaver Library   Functional View   SAP NetWeaver by Functional Areas   Adobe Document Services for Form Processing  .

  2. You have set up one or more network printers on your system network and installed printer drivers on the server.

    Note that after installing a new printer on Windows, SAP NetWeaver server must be restarted for having access to the printers.

  3. You have granted appropriate rights to SAP NetWeaver Services starting user to access the network printer. By default, SAP NetWeaver starting user is a local user that cannot access networks resources like network printers. Contact your system administrator for more information. If SAP NetWeaver starting user has been changed, stop SAP Netweaver from sapmmc console, then stop corresponding OS services and start all of them again.

  4. You have created .XDP template file in Adobe Lifecycle Designer and saved it in the shared folder on the server. As an option, you can use the template delivered with SAP ME.

    If you want to print SAP ME field values, for example, shop order, SFC number, or NC code, you need to reference SAP ME fields and values (see Referencing SAP ME Variables in Printing Template).

Process

  1. In System Rule Maintenance, under the System Setup category, you do the following:

    • Enter the path to the shared folder on the server, where you keep your templates in the ADS - Document Printing Template Directory system rule, for example D:\Template.

    • Enter the path to the folder on the server, for the temporary printing files, in the Document Printing Temporary Directory system rule, for example, D:\Temporary.

    • If you need to save your temporary files in the folder you specified in the Document Printing Temporary Directory system rule, set the ADS - Storage of PDF Document system rule to True.

    For more information, see System Rule Maintenance.

  2. In Document Maintenance, you create a record for each document you want to print.

    • On the Main tab page, define the Print By method.

    • On the Document Options tab page, select the data groups to be printed.

    • On the Print Integration tab page, do the following:

      • Enter com.sap.me.document.impl.BaseDataAcquisition value in the Data Acquisition field.

      • Enter com.sap.me.document.impl.ADSFormat value in the Formatting field; define PRINT_FORMAT with one of the supported values (ZPL, PDF, PS, PCL) as User Argument value for Formatting. An example of user argument setting for Formatting is PRINT_FORMAT=PCL.

      • Enter com.sap.me.document.impl.ADSTransport value in the Transport field; define SFC or SHOP_ORDER or both as User Argument to include SFC and/or shop order name into the output document name.

        If User Argument value is SHOP_ORDER, the document name will be <Site>-<DocumentName>-<timestamp>-<ShopOrder>.pdf.

        If User Argument value is SHOP_ORDER;SFC, the document name will be <Site>-<DocumentName>-<timestamp>-<ShopOrder>-<SFCNumber.pdf>.

        If the User Argument value is SFC, the document name will be <Site>-<DocumentName>-<timestamp>-<SFCNumber>.pdf.

        If the User Argument field is left empty, the document name will not include the reference to SFC number or shop order and will look like <Site>-<DocumentName>-<timestamp>.pdf.

        An example of user argument setting for transport is SHOP_ORDER;SFC.

    For more information, see Document Maintenance.

  3. In Material Maintenance, you retrieve the material you want to associate with one or more documents. On the Documents tab page, you associate all the documents that you want to print with this material, for example, LABEL_01 and TVLR01.

    For example, you may want to print a barcode label document with PCBOARD, version C, and a packing list document with PRINTER, version A.

    For more information, see Material Maintenance.

  4. In Printer Maintenance, you define printers you want to use and enable them. You also indicate what document types can be printed on each printer (see Printer Maintenance).

    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.
  5. In POD Maintenance on the Printers tab page, you specify the printer for the specific document types (see POD Maintenance). If you want to use the same printer for all document types from all PODs, define this printer in Activity Maintenance, for the ADS Document Print (SY521) activity as follows:

    • Retrieve activity SY521ADS Document Print.

    • Insert PRINTER_NAME rule.

    • Assign printer to be used as a rule setting.

    Note Note

    If a printer is defined in User Preference Maintenance, POD Maintenance, and for ADS Document Print (SY521) in Activity Maintenance, the system uses only a printer defined in User Preference Maintenance. If a printer is defined in POD Maintenance and for ADS Document Print (SY521) in Activity Maintenance, the system uses only a printer defined in POD Maintenance.

    End of the note.

The steps above are sufficient for manual printing production-related documents using the Document Reprint (SY510) activity at any time after the shop order is released to the shop floor (see Document (Re)print and Manual Printing). The further steps depend on whether you also need to enable manual document print from POD or automatic printing at defined points.

  1. If you want to enable operators to manually print documents from a POD, you associate the Document Reprint plug-in activity (SY511) with a button and layout in POD Maintenance.

  2. If you want to set up automatic printing of documents at a defined point, set up ADS Document Print (SY521) as an activity hook where you want the documents to print. You can set an activity hook at the site, operation, resource, or routing step level.

    • Insert SY521ADS Document Print at the appropriate hook point and enable the activity hook.

    • Specify the name of the document to be printed as the user argument.

    For more information, see ADS Document Print.