WM Program Custom development Fiori app

EWM Stock Packing, Transfer into Handling Units and Carton Label Printing

Short answer: A custom program that packs free stock from a bin into cartons or pallets by quantity per carton, moves the resulting handling units to the destination bin with a warehouse task and prints the carton label automatically on the user's assigned printer. Packing is completed on one screen with a few fields.

Estimated effort
M · 7–10 working days
System
ECC and S/4HANA
Tables
6
Scope
Global
Built by
NeKuDos Teknoloji
Last updated

Why is the standard not enough?

/SCWM/PACK is a powerful but multi-step packing screen: creating the handling unit, moving the product, closing it and moving it to the target are separate steps. There is no automatic split by quantity per carton, and the label printer usually depends on the work centre setup; choosing the printer per operator needs extra setup.

Who uses it? EWM warehouse operators and shift supervisors, shipping preparation teams.

Closest standard alternatives

  • /SCWM/PACK Packing – General. Standard packing screen; multi-step, no automatic split per carton and no per-user printer.
  • /SCWM/MON EWM Warehouse Management Monitor. Monitors handling units and tasks; does not pack.

Tables used

The tables the program reads and updates. ECC and S/4HANA differences are marked separately.

TableRoleAccessSystem
/SCWM/AQUAEWM Available QuantityFree stock in the source binReadECC + S/4
MARMUnits of Measure for MaterialQuantity per carton (alternative unit of measure)ReadECC + S/4
MARAGeneral Material DataPackaging materialReadECC + S/4
/SCWM/HUHDREWM Handling Unit HeaderCarton and pallet handling units createdWriteECC + S/4
/SCWM/ORDIM_OEWM Open Warehouse TasksWarehouse task moving the handling unit to the destination binWriteECC + S/4
/SCWM/ORDIM_CEWM Confirmed Warehouse TasksConfirmed tasks (result list)ReadECC + S/4

BAPIs and functions used

  • FP_FUNCTION_MODULE_NAMEGet Adobe Form Function Module Name. Finds the carton label form
  • FP_JOB_OPENOpen Adobe Form Print Job. Opens the print job on the user's printer
  • FP_JOB_CLOSEClose Adobe Form Print Job. Closes the print job

Selection screen parameters

ParameterDescriptionTypeReference fieldRequiredExample
P_LGNUMWarehouse numberSingle value/SCWM/AQUA-LGNUMYesW100
P_LGPLASource binSingle value/SCWM/AQUA-LGPLAYes01-04-02-A
P_MATNRProductSingle valueMARA-MATNRYesVDA-M6
P_PMATPackaging materialSingle valueMARA-MATNRYesKOLI-40
P_QTYQuantity per carton (from the unit of measure if empty)Single value—No500
P_NLPLADestination binSingle value/SCWM/ORDIM_O-NLPLAYesSEVK-01
P_TESTTest modeCheckbox—No—

Result list columns

#ColumnSource
1Handling unit/SCWM/HUHDR-HUIDENT
2Packaging materialMARA-MATNR
3ProductCalculated /SCWM/AQUA-MATID → /SAPAPO/MATKEY-MATNR
4Batch/SCWM/AQUA-CHARG
5Quantity/SCWM/AQUA-QUAN
6Source bin/SCWM/AQUA-LGPLA
7Destination bin/SCWM/ORDIM_O-NLPLA
8Warehouse task/SCWM/ORDIM_O-TANUM
9LabelCalculated Printed / no printer / test
10StatusCalculated Packed and moved, packed, remainder or error

Sample result list

Handling unitPackaging materialProductBatchQuantitySource binDestination binWarehouse taskLabelStatus
00340000100000004512KOLI-40VDA-M6B2026-091250001-04-02-ASEVK-01100004871PrintedPacked and moved
00340000100000004513KOLI-40VDA-M6B2026-091250001-04-02-ASEVK-01100004872PrintedPacked and moved
00340000100000004514KOLI-40VDA-M6B2026-091250001-04-02-ASEVK-01100004873PrintedPacked and moved
VDA-M6B2026-091212001-04-02-ARemainder
A view built with fictional sample data; not real system data.

How does the program work?

  1. The operator enters or scans the warehouse number, source bin, product and packaging material. Free stock in the source bin is read from /SCWM/AQUA (LGPLA, MATID, CAT, QUAN, CHARG); the product GUID is resolved through /SAPAPO/MATKEY.
  2. The quantity per carton comes from the product’s alternative unit of measure (MARM, e.g. a carton unit) or from the screen; the total is split into full cartons and any remainder is shown with a warning.
  3. For each carton a handling unit is created with the packaging material and the stock is packed into it; records are written to /SCWM/HUHDR. If needed, cartons are nested into a pallet handling unit.
  4. The new handling units are moved to the destination bin with a warehouse task through /SCWM/TO_CREATE, and the task can be confirmed from the screen.
  5. The carton label (handling unit barcode, product, batch, quantity) is printed with an Adobe form; the printer comes from a custom per-user settings table, otherwise the work centre default is used.
  6. Test mode only shows the carton split and the task preview.

Performance notes

The program works on one bin and product, so the performance risk is low. When many cartons are created, save the handling units in one save and send the labels in one print job.

Features

  • Test mode (check without posting)
  • Line-by-line result and error log
  • ALV list (sort, filter, subtotals) Labels can be reprinted from the result list.

Authorization objects

  • /SCWM/HUAuthorization to create and pack handling units
  • /SCWM/TOCRAuthorization to create warehouse tasks

Frequently asked questions

Can it be used on a handheld?

Yes. The same logic can be offered as an RF screen; the operator scans bin, product and packaging material and the label prints on the nearest printer.

Can the carton label follow a customer format?

Yes. The label form can be chosen per customer or product group; standard shipping label barcode structures are added to the form during installation.

Related reports

WM Report Custom ALV report

Storage Bin Utilization and Empty Bin Report

A custom ALV report that shows, per storage type and storage section, the weight and capacity utilization percentage of every bin, the empty bins and …

LAGP · LQUA · T303 · T302

WM Report Custom ALV report

Warehouse Picker Productivity Report

A custom ALV report that groups confirmed transfer order items by confirming user, day and source storage type, and calculates items confirmed per …

LTAP · LTAK · T333 · T301

Let us build this program for your system

Briefly describe your system and expectations. We will clarify the scope and come back with an effort and price quote.

Related report: EWM Stock Packing, Transfer into Handling Units and Carton Label Printing