Show TOC

Process documentationSetting Up ADS Printing

 

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

  • 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 Start of the navigation path Configuration Management Next navigation step Infrastructure Next navigation step Adobe Document Services End of the navigation path.

    2. Install and configure reader rights credentials (see Configuring Credential Attributes used by ADS at Start of the navigation path http://help.sap.comInformation published on SAP site Next navigation step SAP NetWeaver 7.3 Next navigation step SAP NetWeaver Library Next navigation step Functional View Next navigation step SAP NetWeaver by Functional Areas Next navigation step Adobe Document Services for Form Processing Next navigation step Configuring Adobe Document Services for Form Processing (Java) End of the navigation path.

    3. Create a user for basic authentication as follows:

      1. Navigate to http://<server>:<port>/useradmin to start the User Management.

      2. On the Identity Management tab page, select Search Criteria as Group.

      3. Choose Create Group to create the ADSCallers group. Save the group.

      4. Select User in the Search Criteria dropdown list.

      5. Choose Create User and enter ADSUser for the user name, enter a password.

      6. Under Security Policy, choose Technical User.

      7. On the Assigned Roles tab page, in Available Roles, search for the SAP_ADSCALLER role and choose Add to assign this role to the ADSUser user.

        Note Note

        The SAP_ADSCALLER role was created during the installation of your system. Assign this role only to the users that need to access Adobe document services.

        End of the note.
      8. Save your entries.

      For more information, see Setting Up Basic Authentication to ADS in a Java Environment at Start of the navigation path http://help.sap.comInformation published on SAP site Next navigation step SAP NetWeaver 7.3 Next navigation step SAP NetWeaver Library Next navigation step Functional View Next navigation step SAP NetWeaver by Functional Areas Next navigation step Adobe Document Services for Form Processing Next navigation step Configuring Adobe Document Services for Form Processing (Java) End of the navigation path).

    4. Configure WSDL destination as follows:

      1. Navigate to the SAP NetWeaver Administrator (NWA) at http://<server>:<port>/nwa.

      2. Log on to the SAP NWA with a user that has administrator privileges.

      3. In the SAP NWA, navigate to Start of the navigation path SOA Management Next navigation step Technical Configuration Next navigation step Destination Template Management End of the navigation path.

      4. Choose New to create a logical port.

      5. Choose WSDL as a destination type.

      6. Enter ConfigPort_Document in the Destination Name field.

      7. Enter http://<host>:<port>/AdobeDocumentServices/Config?wsdl&mode=ws_policy&style=document in the URL field and choose Next.

      8. Choose HTTP Authentication in the Authentication group box and select the User ID/Password (Basic) indicator.

      9. Choose the Details button. Enter ADSUser in the User ID field and the password in the Password and Confirm Password fields.

      10. Choose Finish to save your entries.

      For more information about configuration of SAP NetWeaver Adobe Document Services (ADS), see Configuring Adobe Document Services for Form Processing (Java) at Start of the navigation path http://help.sap.comInformation published on SAP site Next navigation step SAP NetWeaver 7.3 Next navigation step SAP NetWeaver Library Next navigation step Functional View Next navigation step SAP NetWeaver by Functional Areas Next navigation step Adobe Document Services for Form Processing End of the navigation path.

  • 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.

  • 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.

  • 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 Binding SAP ME Data to XDP Templates).

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$PrintingDataAcquisitionService value in the Data Acquisition field.

      • Enter com.sap.me.document$PrintingFormatAdsService value in the Formatting field.

      • Enter com.sap.me.document$PrintingTransportAdsService value in the Transport field; define PRINT_FORMAT with one of the supported values (ZPL, PDF, PS, PCL, IPL, TPCL) and an XDC file as User Argument value for Transport. An example of user argument setting for Transport is PRINT_FORMAT=PCL;XDC=hppcl5e.xdc.

        For more information about printing formats and XDC files, see the following table:

        Printing Format

        XDC File

        Description

        PDF

        acrobat6.xdc

        acrobat7.xdc

        adobepdf.xdc

        pdfa.xdc

        Supports data for rendering output in PDF 1.5 (default)

        Supports data for rendering output in PDF 1.6

        Supports data for rendering output in PDF 1.6 and 1.7

        Supports data for rendering output in PDF/A

        DPL

        dpl203.xdc

        dpl300.xdc

        dpl406.xdc

        dpl600.xdc

        For use with 203 dpi Datamax printers

        For use with 300 dpi Datamax printers (default)

        For use with 406 dpi Datamax printers

        For use with 600 dpi Datamax printers

        PCL

        hp4350pcl5e.xdc

        hppcl5c.xdc

        hppcl5e.xdc

        lmt644pcl5e.xdc

        For generating PCL output on an HP 4350 printer

        For use with PCL printers that support the HP PCL 5c printer language

        For use with PCL printers that support the HP PCL 5e printer language (default)

        For generating PCL output on a Lexmark T644 printer

        PS

        hp4350ps.xdc

        lmt644ps.xdc

        ps_bw.xdc

        ps_plain.xdc

        ps_plain_level3.xdc

        ps_plain_mt.xdc

        For generating PostScript output (monochrome and color) on an HP 4350 printer

        For generating PostScript output (monochrome and color) on a Lexmark T644 printer

        For use with printers that support PostScript language level 2 (monochrome)

        For use with printers that support PostScript language level 2 (monochrome and color) (default)

        For use with printers that support PostScript language level 3 (monochrome and color)

        For use with printers that support PostScript language and use MT (Monotype) font names

        IPL

        ipl203.xdc

        ipl300.xdc

        ipl400.xdc

        For use with 203 dpi Intermec printers (default)

        For use with 300 dpi Intermec printers

        For use with 400 dpi Intermec printers

        TPCL

        tpcl203.xdc

        tpcl305.xdc

        tpcl600.xdc

        For use with 203 dpi Toshiba printers

        For use with 305 dpi Toshiba printers (default)

        For use with 600 dpi Toshiba printers

        ZPL

        zpl203.xdc

        zpl300.xdc

        zpl600.xdc

        For use with 203 dpi Zebra label printers

        For use with 300 dpi Zebra label printers (default)

        For use with 600 dpi Zebra label printers

        Note Note

        If you do not enter an XDC file, a default XDC file is used.

        End of the note.

    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).

    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 SY521 (ADS 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.