Printing Handling Unit Documents

Use

SAP Extended Warehouse Management (SAP EWM) can use this function to automatically print lists or labels according to your Customizing settings, when you work with handling units (HUs). The documents can contain information about the contents, destination, owner, and data necessary for further processing of the HU.

You can use this function in the warehouse management monitor on the user interface for HUs to manually perform or repeat printing for a HU.

Integration

  • Printing of HU documents is based on SAPscript texts and SAP Smart Forms as form templates.

  • SAP EWM uses the Post Processing Framework (PPF) for message control.

  • Additionally, SAP EWM uses the condition technique in the schedule condition for the PPF to determine the printer, the form type, and the spool parameters.

Prerequisites

You have made the Customizing settings for the PPF.

  • You have defined the PPF action definitions with the relevant processing types.

    In Customizing for the PPF action definition, you have defined the following data:

    • Processing time

    • Scheduling

    • Determination technique

    • Rule type

    • Action merging

  • You have defined the PPF conditions for the defined PPF action definitions.

    You have made the Customizing settings for the condition technique.

    • You have defined condition tables.

      In Customizing, you have defined your condition tables from the field catalog, which SAP delivers. You have selected fields from the field catalog as key fields. These fields represent the condition under which the condition technique finds the condition record. If a data record transferred by SAP EWM matches your key fields, then condition technique finds the matching condition record.

  • In Customizing, you have defined condition types, and therefore the access sequence to the condition tables to search.

  • In Customizing, you have assigned your condition types to the relevant condition schemas.

    The condition schema specifies the conditions that you permit for determining data (such as printer, form type) and specifies the sequence (access sequence) in which condition technique is to consider them.

  • In Customizing, you have assigned the condition schema to the application object (warehouse process type, packaging material type, work center).

  • In Customizing, you have defined the condition maintenance group.

    You need the condition maintenance group to create condition records. The condition maintenance group specifies the condition tables and therefore the key fields.

  • You have defined the logical conditions that you want to use in the condition records.

  • You have defined warehouse-number-specific print settings (in particular the spool parameters).

Features

For printing HU documents, the following action definitions are supported in the PPF in the application /SCWM/WME in the action profile /SCWM/HU.

You have created these action definitions for each form type. This enables you to simultaneously print several different documents, for example, printing an HU content note and printing HU labels.

An SAP Smart Form is available for each action definition. The system only supports printing of Smart Forms. The following table gives you an overview of the action definitions and their corresponding Smart Form forms. You specify the assignment between action definition and Smart Form form in the created condition records.

Action Definition

Description

SmartForm form

HU_CONTENT

Print HU contents document with serial numbers

/SCWM/HU_CONTENT

HU_EXPRESS

 

/SCWM/HU_EXPRESS

HU_HAZARD

Print hazardous goods label

/SCWM/HU_HAZARD

HU_LABEL

Print HU label

/SCWM/HU_LABEL

HU_SHPLABEL

Print shipping label

/SCWM/HU_SHPLABEL

HU_TO

Print HU warehouse tasks

/SCWM/HU_TO

HU_SERIAL

Print HU serial number label

/SCWM/HU_SERIAL

When you save HUs or confirm a warehouse task, the system calls the PPF and starts an attempt to print. The decision whether to print is dependent on the condition records that are found in the schedule condition. If there is a condition record in which the PPF action definition matches the current PPF action definition, the PPF triggers the executing method and printing. This only happens if the logical condition is fulfilled, if one is entered in the condition record. In the work center, you can also trigger this manually using a pushbutton.

During printing or repeat printing, you can also execute PPF action definitions for which no condition records were created. However, since this means that the necessary data such as printer, form name, and spool parameters cannot be determined, you must enter this data manually.

During printing, both the application and the PPF write data into tables. You must reorganize these tables manually. To do this, use report /SCWM/R_REORG_HU_WO_PRINT.

During printing, the PPF writes a determination log and a processing log. You can switch these logs on and off, since they can become large. To do this, use parameter /SCWM/HU_PRT_PROT, where “X” means that the system writes the log.

Activities

  • SAP EWM automatically triggers the print run from processing, or you trigger it manually.

  • SAP EWM calls the PPF and transmits the application data.

  • The PPF determines the PPF action definitions that you have defined in Customizing for the PPF application /SCWM/WME and the PPF action profile /SCWM/HU.

  • The PPF calls the schedule condition that corresponds to the PPF action definition.

  • In the schedule condition, the PPF calls determination in the condition technique.

  • Determination of the condition technique returns the relevant condition record. This determines the printer, spool parameters, and the Smart Form form.

  • The system reads the current application data.

  • The system determines the function module that corresponds to the Smart Form form, and calls this function module using the application data.

  • PPF saves the action that was executed and the logs that were written.