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.
| Table | Role | Access | System |
|---|---|---|---|
| /SCWM/AQUAEWM Available Quantity | Free stock in the source bin | Read | ECC + S/4 |
| MARMUnits of Measure for Material | Quantity per carton (alternative unit of measure) | Read | ECC + S/4 |
| MARAGeneral Material Data | Packaging material | Read | ECC + S/4 |
| /SCWM/HUHDREWM Handling Unit Header | Carton and pallet handling units created | Write | ECC + S/4 |
| /SCWM/ORDIM_OEWM Open Warehouse Tasks | Warehouse task moving the handling unit to the destination bin | Write | ECC + S/4 |
| /SCWM/ORDIM_CEWM Confirmed Warehouse Tasks | Confirmed tasks (result list) | Read | ECC + 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
| Parameter | Description | Type | Reference field | Required | Example |
|---|---|---|---|---|---|
| P_LGNUM | Warehouse number | Single value | /SCWM/AQUA-LGNUM | Yes | W100 |
| P_LGPLA | Source bin | Single value | /SCWM/AQUA-LGPLA | Yes | 01-04-02-A |
| P_MATNR | Product | Single value | MARA-MATNR | Yes | VDA-M6 |
| P_PMAT | Packaging material | Single value | MARA-MATNR | Yes | KOLI-40 |
| P_QTY | Quantity per carton (from the unit of measure if empty) | Single value | — | No | 500 |
| P_NLPLA | Destination bin | Single value | /SCWM/ORDIM_O-NLPLA | Yes | SEVK-01 |
| P_TEST | Test mode | Checkbox | — | No | — |
Result list columns
| # | Column | Source |
|---|---|---|
| 1 | Handling unit | /SCWM/HUHDR-HUIDENT |
| 2 | Packaging material | MARA-MATNR |
| 3 | Product | Calculated /SCWM/AQUA-MATID → /SAPAPO/MATKEY-MATNR |
| 4 | Batch | /SCWM/AQUA-CHARG |
| 5 | Quantity | /SCWM/AQUA-QUAN |
| 6 | Source bin | /SCWM/AQUA-LGPLA |
| 7 | Destination bin | /SCWM/ORDIM_O-NLPLA |
| 8 | Warehouse task | /SCWM/ORDIM_O-TANUM |
| 9 | Label | Calculated Printed / no printer / test |
| 10 | Status | Calculated Packed and moved, packed, remainder or error |
Sample result list
| Handling unit | Packaging material | Product | Batch | Quantity | Source bin | Destination bin | Warehouse task | Label | Status |
|---|---|---|---|---|---|---|---|---|---|
| 00340000100000004512 | KOLI-40 | VDA-M6 | B2026-0912 | 500 | 01-04-02-A | SEVK-01 | 100004871 | Printed | Packed and moved |
| 00340000100000004513 | KOLI-40 | VDA-M6 | B2026-0912 | 500 | 01-04-02-A | SEVK-01 | 100004872 | Printed | Packed and moved |
| 00340000100000004514 | KOLI-40 | VDA-M6 | B2026-0912 | 500 | 01-04-02-A | SEVK-01 | 100004873 | Printed | Packed and moved |
| VDA-M6 | B2026-0912 | 120 | 01-04-02-A | Remainder |
How does the program work?
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
EWM Production Staging Cockpit with Pick Lists and Handover Tracking
A custom cockpit that manages picking and staging the components of production and subcontracting orders to the production supply area (PSA) in EWM …
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 …
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 …
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.