EWM HU Label PPF Action and Conditions Technique
EWM HU Label PPF Action and Conditions Technique
EWM HU Label PPF Action and Conditions Technique
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
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.