Show TOC

Function documentationPrint Forms in Shipping and Receiving

 

In shipping and receiving, you can print the following documents for a vehicle or a transportation unit (TU) using PDF-based forms or SAP Smart Forms forms:

  • Road Waybill

  • Loading List

In the header area of a TU or vehicle in the warehouse management monitor, you can manually print a TU-related document or vehicle-related document. For example, you can use this feature if the first print is damaged, or if you require a second print.

Integration

The automatic printing of documents is controlled by settings in the Post Processing Framework (PPF) and, optionally, by the print and form determination in the SAP EWM application.

You can configure printing for vehicles or for TUs. If you use vehicles in SAP EWM, you configure printing for action profile /SCWM/VEH. If you use transportation units without vehicles, you configure printing for action profile /SCWM/TU. Both action profiles are defined in the PPF application /SCWM/SHP_RCV.

Prerequisites

Before configuring printing in shipping and receiving, you have made the following settings:

  1. You have activated the PPF action for printing waybills or loading lists in the action profile for TUs or in the action profile for vehicles (only one of them is necessary):

    • In Customizing for Extended Warehouse Management, choose Start of the navigation path Cross-Process Settings Next navigation step Shipping and Receiving Next navigation step Message Processing Next navigation step Define Action Profiles for Transportation Units End of the navigation path and select action profile /SCWM/TU. The action definitions /SCWM/SR_PRINT_TU_WAYBILL (Print Waybill) or PRINT_LOADLISTTU (Print Loading List) should be active.

    • In Customizing for Extended Warehouse Management, choose Start of the navigation path Cross-Process Settings Next navigation step Shipping and Receiving Next navigation step Message Processing Next navigation step Define Action Profiles for Vehicles End of the navigation path and select action profile /SCWM/VEH. The action definitions /SCWM/SR_PRINT_VEH_WAYBILL (Print Waybill) or PRINT_LOADLISTVEH (Print Loading List) should be active.

  2. You have defined a printer in your system.

    For printing and previewing PDF-based forms, you need to use a PCL, Postscript, or ZPL printer and the appropriate device type (such as POST2, HPLJ4, HP9500, PDF1, AZPL203, or AZPL300). You cannot use a printer with the device type SAPWIN/SWIN. For more information, see SAP Printing Guide (BC-CCM-PRN), under Printing PDF-Based Forms.

Features

Standard Forms

For each print document in Shipping and Receiving, a PDF-based form and an SAP Smart Forms form are provided in standard:

Name

Description

Type

/SCWM/SR_CMR

Road Waybill (Europe)

PDF-based

Smart Forms

/SCWM/SR_VICS

Road Waybill (U.S.)

PDF-based

Smart Forms

/SCWM/PDF_SR_TULOADLIST

Loading List for TU

PDF-based

/SCWM/SF_SR_TULOADLIST

Smart Forms

/SCWM/PDF_SR_VEHLOADLIST

Loading List for Vehicle

PDF-based

/SCWM/SF_SR_VEHLOADLIST

Smart Forms

Note Note

In the standard setup, the system prints four copies of the form /SCWM/SR_CMR, as follows:

  • The original form

  • A copy for the sender

  • A copy for the consignee

  • A copy for the carrier

End of the note.
Standard Settings in the PPF Framework

In the PPF framework, action definitions related to printing are provided in standard. The processing type of the action definition determines whether a PDF-based form or an SAP Smart Forms form is used for printing: Processing type External Communication is used for PDF-based forms, processing type Smart Forms Print for SAP Smart Forms forms. In the action profiles /SCWM/VEH and /SCWM/TU, the settings shown in the table below are provided for the standard print documents, including the assignment of the action definition to standard PDF-based form or Smart Forms form and to standard processing modules

Action profile /SCWM/VEH (vehicles)

Definition

Processing Type

Processing Modules

Name

/SCWM/SR_PRINT_VEH_WAYBILL

External Communication (default)

Format /SCWM/SR_PRINT_WAYBILL_CMR

/SCWM/SR_CMR

Smart Forms Print

Processing Class /SCWM/CL_SR_PRINT_SF Method EXEC_SF_WAYBILL_CMR

External Communication

Format /SCWM/SR_PRINT_WAYBILL_VICS

/SCWM/SR_VICS

Smart Forms Print

Processing Class /SCWM/CL_SR_PRINT_SF Method EXEC_SF_WAYBILL_VICS

PRINT_LOADLISTVEH

External Communication

Format /SCWM/PRINT_VEH_LOADLIST

/SCWM/PDF_SR_VEHLOADLIST

Smart Forms Print (default)

Processing Class /SCWM/CL_SR_SFPROCESSING Method DETERMINE_N_EXEC_SMART_FORM

/SCWM/SF_SR_VEHLOADLIST

Action profile /SCWM/TU (transportation units)

Definition

Processing Type

Processing Modules

Name

/SCWM/SR_PRINT_TU_WAYBILL

External Communication (default)

Format /SCWM/SR_PRINT_WAYBILL_CMR

/SCWM/SR_CMR

Smart Forms Print

Processing Class /SCWM/CL_SR_PRINT_SF Method EXEC_SF_WAYBILL_CMR

External Communication

Format /SCWM/SR_PRINT_WAYBILL_VICS

/SCWM/SR_VICS

Smart Forms Print

Processing Class /SCWM/CL_SR_PRINT_SF Method EXEC_SF_WAYBILL_VICS

PRINT_LOADLISTTU

External Communication

Format /SCWM/PRINT_TU_LOADLIST

/SCWM/PDF_SR_TULOADLIST

Smart Forms Print (default)

Processing Class /SCWM/CL_SR_SFPROCESSING Method DETERMINE_N_EXEC_SMART_FORM

/SCWM/SF_SR_TULOADLIST

The conditions for actions enable you to change the default settings from the action definition and assign a printer. In addition, the conditions for actions contain a schedule condition, which determines when the document is printed. For example, the road waybill is printed automatically upon goods issue posting of the vehicle or TU.

Printer and Form Determination in the SAP EWM Application

As an alternative to the form and the printer defined in PPF configuration, you can use printer and form determination to control which printer is used and which type of form is to be printed, depending on application data such as warehouse number, means of transport, and carrier. If you do not make any settings in the printer and form determination, SAP EWM uses the form and the printer defined in the PPF configuration.

Activities

To create your own PDF-based forms (or copy and adapt the standard forms), on the SAP Easy Access screen choose Start of the navigation path Tools Next navigation step Form Printout Next navigation step Interactive Forms End of the navigation path. You can use the standard ABAP class or create your own ABAP class to process the print form.

To create your own Smart Forms forms (or copy and adapt the standard forms), on the SAP Easy Access screen choose Start of the navigation path Tools Next navigation step Form Printout Next navigation step Smart Forms End of the navigation path. You can use the standard ABAP class or create your own ABAP class to process the print form.

To configure the action conditions, in Customizing for Extended Warehouse Management, choose Start of the navigation path Cross-Process Settings Next navigation step Shipping and Receiving Next navigation step Define Action Conditions for Transportation Units or Define Action Conditions for Vehicles End of the navigation path. Here you can assign a form, a printer, and a processing class to the action.

If you want to use different printers or different forms based on application data such as warehouse number, means of transport, or carrier, you can configure the printer and form determination. On the SAP Easy Access screen, choose Start of the navigation path Extended Warehouse Management Next navigation step Settings Next navigation step Shipping and Receiving Next navigation step Set Up Printer and Form Determination End of the navigation path.

Example

For example waybill forms that show how you can tailor print forms to your own business, see Adapting Print Forms in Shipping and Receiving.