Summary
Standard SAP EWM cartonization chooses boxes with basic business rules. Its standard algorithm, SAP1, checks weight, volume and optionally dimensions and aims for the fewest boxes. SAP itself says "the result is no optimization".
Warehouses choose cartons at one of three levels: the packer's gut feel, a rule that compares volumes, or a 3D engine that places every item and prices the shipment. SAP's standard sits at the second level, so orders still ship in boxes that are too big or get repacked because the box was too small. The bill arrives as shipped air, dimensional weight charges, void fill and extra work at the pack station.
Across customer deployments, cartonization with Pulse ships 15 to 30% less air and lowers transport costs by 10 to 30%. Its packing engine, Pulse Pack, plugs into SAP EWM without replacing it. EWM calls it right after warehouse tasks are created and keeps SAP's standard plan as the fallback.
Three levels of cartonization: gut feel, business rules and 3D packing
The three levels differ in how much of the order the box decision looks at. At the first level it is the packer's eye, at the second the summed volume, and at the third every item's shape, weight and freight price.
Level 1: manual cubing
In manual cubing, the packer looks at the items and picks a box on gut feel. With few box sizes and low volume, that works. At a busy station the safe choice is the bigger box, because a repack costs more time than some extra air.
Level 2: basic business rules such as liquid cubing
Liquid cubing is the industry's name for volume-only cubing. The logic treats every item as if it were liquid: if the box volume is larger than the summed item volume, it assumes the items fit.
Real items have a shape. A rigid 60 cm tube does not fit a 30 by 20 by 15 cm carton, even though the carton holds 9 liters and the order only 8. A volume sum cannot see length, the ways an item can be turned, or items that will not bend or compress.
Rule-based setups make up for the missing shape check with a safety margin, usually a maximum fill percentage per box. Set it low and orders move up to the next carton size, even when they would fit the smaller one turned on its side. Set it high and more orders reach the pack station in a box they do not fit.
Standard SAP EWM cartonization planning works at this level. SAP describes its standard algorithm, SAP1, as one that "minimizes the number of HUs by checking the weight, the volume and optionally the dimensions" (HUs are handling units: boxes, pallets and other packed units SAP tracks). The algorithm profile adds a maximum fill level in percent, which makes it volume logic with an optional size check, close to liquid cubing even though SAP does not use that name.
Level 3: cost-aware 3D packing
A 3D packing engine places every item inside a specific carton. It uses each item's length, width and height, the ways it may be turned, its weight and the weight it can carry. If the tube does not fit the small carton in any position, the engine never proposes that carton, and if the order fits a smaller carton turned on its side, the engine finds it.
Cost-aware means the engine chooses the box, or the split over several boxes, by what the shipment will cost. It prices each option with the carrier's rates, dimensional weight and surcharges. Pulse, the Optioryx optimization platform, packs this way with its engine, Pulse Pack.
| Manual cubing | Basic rules (SAP EWM standard) | Cost-aware 3D packing (Pulse Pack) | |
|---|---|---|---|
| Result | Varies by station and shift | Rule of thumb. SAP: "the result is no optimization" | Optimized 3D packing plan per order |
| How fit is checked | The packer's eye | Weight, volume, optionally dimensions, with a maximum fill level | Each item placed in 3D by length, width and height |
| Item limits | The packer's judgment | Weight and volume capacity | Optional: weight, the weight an item can carry, allowed orientations, sequence |
| Objective | Get the order packed | Fewest HUs | Lowest total shipping cost, or fewest cartons |
| Carrier rates, DIM weight and surcharges | Not calculated | Not part of the SAP1 check | Priced per carrier for every candidate packing |
| Packer guidance | None | Planned HU (PSHU) with packaging material and items | Interactive 3D view per carton |
| Where it runs | At the pack station | Inside EWM, as a cartonization planning algorithm | External API called from EWM, SAP standard kept as fallback |
View this comparison on desktop for the full data table.
Where does cartonization planning in SAP EWM stop?
SAP's lesson on planning cartonization says this about the standard algorithm: "The default algorithm uses a heuristic approach, but the result is no optimization." A heuristic is a rule of thumb. That is fine for a site with three carton sizes and orders that look alike, and expensive with mixed orders, many carton sizes and a carrier contract full of surcharges.
SAP sets the right goal for cartonization planning: choosing "the right packaging materials to minimize empty space", which SAP links to lower shipping costs and less transport damage. The standard algorithm works toward that goal by counting HUs and comparing weights and volumes, and a 2025 SAP Community walkthrough lists the same inputs: volume, weight and dimensions. Carrier rates, dimensional weight and surcharges are not among the checks SAP lists for SAP1.
SAP2, the Package Builder algorithm available since SAP EWM 9.5, "provides more features", such as building full pallets of a single product first. SAP describes it with the same kind of inputs: "The system takes into account the weight, height, and volume of the products."
Anything beyond that means writing your own algorithm in ABAP, SAP's programming language, and plugging it in through a BAdI, a slot where SAP lets customers add their own code. SAP allows it: "A customer can define their own, optimized algorithm". Keeping 3D packing and carrier pricing up to date in a custom program is a lot of code for an SAP team to own.
Our SAP EWM integration guide describes the same picture on site. Many sites run static or template-based rules, and the dimensions in the material and packaging master "exist but are underused". At those sites there is no spatial optimization: no 3D packing, no allowed orientations and no weight constraints.
What does the wrong carton cost?
Shipped air and dimensional weight
A carton that is too big ships air on every parcel with that order profile, and carriers charge for that air through dimensional weight. UPS calculates it as length times width times height divided by a divisor, 139 for daily rates in inches and pounds. It uses dimensional weight when a package is large relative to its weight.
Take a 6 lb order. In a 16 by 12 by 12 inch carton its dimensional weight comes to 17 lb, and in a 12 by 10 by 10 inch carton to 9 lb. Carriers bill the higher of actual and dimensional weight, so in the bigger box the same items ship as a 17 lb parcel.
Surcharges work as thresholds: once a parcel passes a carrier's size or weight limit, a flat fee applies. Rates and limits differ per carrier, so the cheapest packing differs per carrier, and sometimes per carrier zone.
Void fill and damage
Every liter of air in the box needs filling, with paper, air pillows or foam, or the items move around in transit. SAP's own lesson ties under-filled HUs to product damage during transport.
Repacks at the pack station
A carton that is too small is found at the pack station, after picking. The packer swaps the box or splits the order, and the planned HU no longer matches what ships.
From then on, the carton counts that EWM planned are wrong. Those counts feed carrier booking, staging space and labor planning for the pack stations.
Signs your SAP EWM cartonization plan is not working
- Packers at the work center change the proposed box on many orders, and nobody tracks why.
- Orders get repacked into a bigger carton because the first one was too small.
- Carrier invoices show dimensional weight or oversize charges on parcels the plan considered fine.
- Packaging rules are kept up by hand per product group, and the team avoids touching them.
What changes with cost-aware 3D packing in SAP EWM?
EWM sends Pulse Pack the order lines and the cartons a packer may use, and Pulse Pack returns which carton each item goes in and how it is stacked. Items from different orders never share a carton. When weight limits and allowed orientations are filled in, every placement respects them.
With carrier costs loaded, Pulse Pack aims for the lowest shipping cost instead of the fewest cartons. Our cost optimisation guide says it "switches from minimising carton count to minimising total shipping cost." Each packing option is priced with each carrier's billable weight rule, rates and surcharges, and "a slightly larger carton may win if shrinking would cross a surcharge threshold."
The box decision and the carrier decision become one decision. Each packed carton can go to its own cheapest carrier, or the whole order to the carrier with the lowest total. We explain why that pays off in how you pack decides which carrier you should use.
Packers get a 3D view of the plan instead of a carton code to second-guess. Each packed carton has an interactive 3D view, and you can embed it in your own screens, with or without our styling.
Voltex packs its orders with Pulse. In its customer video, the team shows how that works in practice.
The wider business case, from packaging spend to damage, is in our article on the benefits of cartonization. If you are still comparing engines, our cartonization software buyer's guide lists the criteria to compare them on.
How does Pulse Pack integrate with SAP EWM?
Pulse Pack is called right after warehouse tasks are created. A warehouse task is EWM's instruction to pick or move a product. At that point EWM knows the materials and quantities in each outbound delivery order (ODO), but has not yet decided how to pack them into HUs.
The call goes from an ABAP program over HTTPS to the Pulse Pack API. On the SAP side it needs only standard tools: an HTTP destination, a certificate and your own Z-program (custom SAP programs start with Z).
SAP's standard plan is still worked out, but not saved. The Pulse Pack SAP EWM integration guide recommends precomputing SAP's cartonization planning or your own standard logic without saving it. EWM saves it only if Pulse Pack fails or is switched off.
If a call fails, EWM packs exactly as it does today, so the integration stays non-intrusive.
Three places to call Pulse Pack from EWM
The recommended trigger is a PPF action on the ODO. PPF, SAP's Post Processing Framework, runs follow-up actions on a document when set conditions are met. The action fires after warehouse task creation, for example at wave release or at a given ODO status.
Two other patterns suit other floor setups.
| Trigger | When it fires | What it does |
|---|---|---|
| PPF action on the ODO Recommended | After warehouse task creation, for example at wave release or at an ODO status | Calls Pulse Pack. If the call works, the plan is saved. If not, EWM uses SAP's standard cartonization planning or your own standard logic |
| Packing work center | When the packer starts it | Calls Pulse Pack and proposes on screen which items go in which HU |
| Background job | On a schedule | Picks up ready ODOs and posts plans in batches |
View this comparison on desktop for the full data table.
Save the result as PSHUs or shipping HUs on the ODO. A PSHU is a planned shipping HU: the box on paper, before anything is packed. Assign the items to each HU in VEPO, the SAP table that lists what is inside each HU, and in pick-to-cart flows stamp the pick HUs first and then consolidate them into shipping HUs per the plan.
The guide keeps its examples general, so expect to adapt them. Your EWM version, document types and HU process decide the exact program, and your SAP team owns that code.
Which SAP data does 3D cartonization in SAP EWM need?
Pulse Pack needs two inputs: orders with their items, and bins. Orders are your ODOs, with one entry per material and quantity. Bins are the cartons and other HUs a packer may use: in SAP, packaging materials of type VERP (SAP's material type for packaging) with their dimensions filled in.
Dimensions are mandatory. The guide says: "We filter away order lines where one or more of the dimensions are undefined or equal to 0." An item without length, width and height in the material master, SAP's product record, never reaches the engine.
Master data quality decides how much of each order gets a real 3D plan. Our item master guide lists which fields an item master needs and how to keep them true.
Each item can also carry optional details: weight, the weight it can carry, allowed orientations and a sequence value. Fill in weight limits and allowed orientations for fragile and this-side-up products, because the engine can only respect limits it receives.
| Pulse Pack field | SAP EWM source | Note |
|---|---|---|
orders[].id | DOCNO in /SCDL/DB_PROCI_O | Or the ERP delivery number (VBELN) via /SCDL/DB_PROCH_O |
orders[].items[].id | PRODUCTNO | The material number (MATNR), alpha-formatted |
orders[].items[].quantity | QTY | Or QTY_REQ, REQ_QTY or QREQ |
items[].width / height / depth | MARM, MARA as fallback | Mandatory. Lines with a missing or zero dimension are dropped |
bins[].id | MATNR of the packaging material | Packaging materials of type VERP |
bins[].width / height / depth | MARM, or MARA | Only VERP materials with non-zero dimensions |
View this comparison on desktop for the full data table.
Fix units and axes once, before go-live. Read dimensions from MARM (units of measure per material) before MARA (general material data), and convert them all to one unit, such as centimeters. Then write down the axis mapping: LAENG (length) to depth, BREIT (width) to width, HOEHE (height) to height.
A swapped axis raises no error. The first sign is a plan the packers cannot follow.
Limit the selection by warehouse number (/SCWM/WHNO) and document category (DOCCAT), so only the ODOs you want to optimize reach the call.
SAP EWM integration setup: checklist and tips
A first connection takes a handful of standard SAP Basis steps and one Z-program. Basis is the technical administration side of SAP. The steps follow the Pulse Pack SAP EWM guide.
- Master data: fill in length, width and height for every product and every VERP packaging material, preferably in MARM.
- Scope: check that the warehouse number and document category filters match the warehouses and ODOs you want.
- API key: create a key in the Pulse Pack web app and pass it in the X-Api-Key header of each request.
- Certificate: import the Pulse Pack API certificate chain in transaction STRUST, where SAP keeps trusted certificates.
- Destination: in transaction SM59, create an HTTP connection to an external server. The connection test returns error 405. That is expected: the test sends a GET, and the API expects a POST.
- Network: allowlist optiapp.api.optioryx.com on your outbound proxy or firewall.
- Authorizations: the program needs access to /SCDL/*, MARA and MARM, STRUST and SM59.
- Feature toggle: add a TVARVC variable (a switch stored in an SAP table) or similar, so you can turn the call on and off per warehouse.
Tips that save a go-live
Plan for errors from day one. Give every HTTP call a timeout, and retry 429 (too many requests) and 5xx (server error) responses with a growing wait between tries. Log to SLG1, SAP's application log: the standard plan covers the order, and the log shows support why it was needed.
Make retries safe with scenario_id and upsert=true. A call retried after a timeout then updates the same plan instead of creating a second one.
Make one API call per order. According to the guide, this scales much better than bundling many orders into one call.
Never hardcode the API key. Store it in SSFS, SAP's secure storage, or in a protected Z-table, and limit who can change it with authorization objects.
Move it like any other SAP change. Transport the STRUST and SM59 settings and the Z-programs from development to test to production (DEV, QAS, PRD). Then switch it on one warehouse at a time with the feature toggle.
A first warehouse with SAP's standard plan as the fallback is a low-risk way to compare both plans on the same orders.
Questions?
Cartonization planning is SAP EWM's built-in way to propose boxes before packing. It creates planned shipping handling units (PSHUs), each with a packaging material and the items planned for it, for outbound delivery orders, for waves or when warehouse orders are created. The standard algorithm, SAP1, minimizes the number of HUs by checking weight, volume and optionally dimensions.
SAP describes its standard algorithm, SAP1, as checking weight, volume and optionally item dimensions, with a maximum fill level in percent. That description does not mention placing items in 3D or turning them, and SAP states that the result is no optimization. Volume-based checks like this are what the industry calls liquid cubing. A 3D packing engine such as Pulse Pack places each item by length, width and height, in the ways it may be turned.
Not with the standard algorithm, SAP1, which aims for the fewest HUs. Carrier rates, dimensional weight and surcharges are not among the checks SAP lists for it. Pulse Pack, called from EWM, prices every candidate packing per carrier with its billable weight rule, rates and surcharges and picks the lowest total shipping cost, so a slightly larger carton can win when it avoids a surcharge.
Yes. An ABAP program calls Pulse Pack over HTTPS. The recommended trigger is a PPF action, a follow-up action on the outbound delivery order, fired after warehouse tasks are created. Pulse Pack returns a 3D packing plan per order. EWM saves it as PSHUs or shipping HUs and assigns the items to each HU in VEPO.
EWM packs as it does today. In the recommended setup, EWM works out the standard SAP plan for every order but does not save it. It saves that plan only when the Pulse Pack call fails or is switched off. Timeouts, retries and logging in SLG1 make those cases visible.