Production Versions
PP / M2Dintermediate

Lot Size Ranges, Validity Periods, and Quota Logic in Production Versions

Learn how lot-size ranges and validity periods on production versions control which version MRP or production order creation selects, and how this interacts with quota arrangements and alternative BOM/routing usage.

Explanation

Every production version carries a validity period (valid-from/valid-to dates) and, optionally, a lot-size range (from lot size, to lot size) in the MRP4 view of the material master. These two mechanisms are the primary levers planners use to control which combination of BOM alternative and task list (routing, rate routing, or master recipe) is proposed automatically when material requirements planning or production order/process order creation determines a production version. Validity periods matter most in phase-in and phase-out scenarios: a new production line ramping up, an engineering change replacing an old process, or a supplier changeover requiring a temporary alternate BOM. When a planned order or production order is created, the system searches for a production version whose validity window covers the requirement date and whose lot-size range covers the order quantity. If no such version exists, or if multiple versions overlap without lot-size differentiation, the system either fails to determine a version (error/warning depending on configuration) or non-deterministically defaults to the first valid entry, which is a frequent source of wrong-BOM or wrong-routing production orders. Lot-size ranges let you route small trial-quantity orders through a manual or pilot-line routing while large-volume orders use an automated line's routing, all under one material number. This is common in ramp-up manufacturing, make-to-order customization, and capacity-constrained plants running mixed automated/manual lines. Because lot-size ranges are absolute values (not percentages), they must be revisited whenever standard batch sizes or MRP lot-sizing procedures change; otherwise gaps or overlaps develop silently. Quota arrangements interact with production versions in a different but related way: quota arrangements are typically used to split external procurement (vendor quotas) but can also apply in special procurement scenarios that reference production versions for in-house alternatives versus subcontracting alternatives. When special procurement keys are combined with multiple production versions (e.g., one version for in-house production, another with a subcontracting BOM/routing), the interplay between special procurement type, source list, and production version selection needs careful testing, because MRP evaluates these in a defined sequence and inconsistent settings between the material master's procurement views and the production version's assignments cause hard-to-diagnose sourcing errors. Another frequently overlooked detail is the interaction between production version validity and BOM/routing validity. Even if a production version's own dates are wide open, the underlying BOM alternative and task list group counter each carry their own validity periods. If a BOM alternative expires before the production version does, the version becomes technically invalid for new orders even though its own header record still shows as valid, producing confusing error messages during order creation or MRP conversion. Consultants must check all three validity layers (production version, BOM alternative, task list/routing) whenever version-selection issues are reported. In S/4HANA, the same MRP4 fields and version-determination logic apply; there is no fundamental redesign of this mechanism, though Fiori apps for managing production versions provide better visibility of overlapping ranges and validity gaps than the classic transaction did, making proactive cleanup easier.

Code example

ABAP Code
Example MRP4 configuration for lot-size-driven version selection (illustrative field values): Material: FG-1001, Plant: 1000 Production Version 0001 Valid from: 01.01.2024  Valid to: 31.12.2024 Lot size from: 0        Lot size to: 500 BOM usage 1, Alternative BOM 01 Routing group RT-1001, Group counter 01 (manual/pilot line) Production Version 0002 Valid from: 01.01.2024  Valid to: 31.12.2024 Lot size from: 501      Lot size to: 999999 BOM usage 1, Alternative BOM 02 Routing group RT-1001, Group counter 02 (automated line) -- Verification checklist when a wrong version is picked --1. Confirm requirement/order quantity falls strictly inside intended lot-size range.2. Check for overlapping ranges across versions (e.g., 0-500 and 400-1000) - overlaps cause ambiguous selection.3. Check BOM alternative 02 validity dates are not earlier than version 0002's valid-to date.4. Check routing group counter 02 status is released, not just 'created'.5. Re-run MRP single-item, multi-level, and inspect the MRP log for version-determination messages.

Real project scenario

A consumer goods plant introduced a new high-speed packaging line alongside its legacy manual line for the same finished product. The team created two production versions differentiated purely by lot-size range so that trial/small customer orders (under 500 units) still ran on the manual line while bulk orders used the new automated line. During go-live, several bulk orders were incorrectly routed to the manual line because a planner had left the legacy production version's lot-size range open-ended (0 to 999999) instead of updating it to 0-500 after the new version was created. The overlap caused MRP to inconsistently pick either version depending on order sequence. The consultant ran a mass consistency check across all production versions for the material group, corrected overlapping ranges, and added the validity-and-range check to the plant's monthly master data audit routine.

Common mistakes

• Leaving legacy production versions with open-ended lot-size ranges after introducing a new version, causing overlaps • Assuming production version validity alone controls selection while ignoring BOM alternative and routing validity dates • Not testing quota-arrangement interaction when special procurement keys reference multiple production versions • Failing to re-run MRP after correcting lot-size ranges, so existing planned orders retain the previously wrong version • Using percentage-based thinking for lot-size ranges when they are actually absolute quantity values • Not aligning lot-size ranges with actual MRP lot-sizing procedure output, leaving quantity gaps uncovered

Best practices

• Design lot-size ranges with zero overlap and no gaps across all active production versions for a material • Align production version validity dates with the validity of the referenced BOM alternative and routing/group counter • Include production version lot-size and validity review in periodic master data governance audits • Document the business rationale (line capability, customer segment, phase-in date) behind each version's ranges for future maintainers • Test quota arrangement and special procurement key combinations in a sandbox before activating multiple production versions with mixed sourcing

Interview angle

Interviewers probe whether candidates understand that production version selection depends on three independent validity layers (version, BOM, routing) and that lot-size ranges are absolute, not relative. A strong answer explains the failure symptom (wrong or no version found) and the systematic verification sequence (ranges, overlaps, validity dates, release status) rather than jumping straight to a fix.