You are on page 1of 3

Printing Handling Unit Documents

Use

Extended Warehouse Management (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 handling unit.
You can use this function in the warehouse management monitor, from the user interface for
handling units, to perform or repeat printing for a handling unit.

Integration

Printing of handling unit documents is based on SAPscript texts and SAP Smart Forms as
form templates.
EWM uses the Post Processing Framework (PPF) for message control.
Additionally, EWM uses condition technique in the schedule condition for the PPF, to
determine the printer, the form type, and the spool parameter.
For more information about the structure and Customizing for the Post
Processing Framework, see the SAP Library under SAP NetWeaver
Components SAP Web Application Server Basis Services/Communication
Interface (BC-SRV) SAP Communication: Configuration (BCSRV) Business Workplace and Services (BC-SRV-OFC) Generic Business
Tools for Application Developers (BC-SRV-GBT) Post Processing Framework
(BC-SRV-GBT).
For more information about the condition technique, see the SAP Library
under mySAP Customer Relationship Management CRM
Enterprise Enterprise Sales Sales Management for Commercial and
Industrial Customers Basic Functions Condition Technique.

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 aggregation
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 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 should 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 handling unit 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 a 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 Forms forms. You specify the assignment between action definition and
Smart Form form in the created condition records.
Action definition

Description

SmartForm form

HU_CONTENT

/SCWM/HU_CONTENT

HU_EXPRESS

/SCWM/HU_EXPRESS

HU_HAZARD

/SCWM/HU_HAZARD

HU_LABEL

/SCWM/HU_LABEL

HU_SHPLABEL

/SCWM/HU_SHPLABEL

HU_TO

/SCWM/HU_TO

When you save handling units 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 manually using a
button.
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

EWM automatically triggers the print run from processing, or you trigger it manually.
EWM calls the PPF and transmits the application data.
The PPF determines the PPF action definitions 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 Forms form.
PPF lists the current application data.
The system determines the function module that corresponds to the Smart Forms form,
and calls this function module using the application data.
PPF saves the action that was executed and the logs that were written.

You might also like