SAP S/4HANA Costing Explained: Standard vs. Actual Costing, Material Ledger, and PMMO

3 hours ago 2

In many manufacturing organizations, finance teams frequently ask why product margins fluctuate from month to month, even when operations report nothing has changed on the shop floor.

In most cases, the issue is not the manufacturing process itself but a disconnect between how SAP calculates costs and how the products are actually built. This gap is often driven by inconsistent master data—BOMs, routings, activity rates, or poorly structured overhead allocations.

When the foundational data doesn’t reflect the real manufacturing process, the costing result starts losing credibility, and leadership teams spend more time reconciling numbers than acting on them.

Before jumping into fixes to this issue, let’s step back and understand the costing options that SAP S/4HANA provides. The right approach depends entirely on how your company manufactures and how much accuracy you need from the margin analysis.

Standard vs Actual Costing: A Strategic Decision

Choosing a costing method in SAP is not just an accounting preference; it’s a strategic decision that affects how confidently a business can understand the profitability of its product. The real question isn’t whether a company uses standard or actual costing, but whether the costs calculated in the system reflect what is truly happening on the shop floor. When cost numbers align with operational reality, finance teams can trust margin analysis, and leadership can make better decisions.

Standard costing estimates material, labor, and overhead costs in advance, usually based on historical data. It provides stability for planning and forecasting, but real production conditions rarely follow last year’s patterns. Changes in yields, labor hours, and overhead often show up as variances at the month end, but they don’t always explain the real reason behind why margins fluctuate.

Actual costing captures what was truly spent during production. While this provides a more accurate view of costs, it relies on timely and accurate operational confirmations and strong coordination between production, supply chain, and finance teams.

Two Paths to Actual Costing in SAP: Material Ledger vs. PMMO

SAP provides two main solutions to calculate the true cost of products, each with different features and use cases.

Material Ledger: Period-End Actual Costing:

Actual costs are calculated through the month-end closing processes. During this period, transactions are posted at either the standard or the moving average price. However, at the end of the month, the Material Ledger makes complex calculations to determine the actual procurement prices, actual production variances, and overhead consumption. These costs are then passed through multi-level structures of the bill of materials.

Material Ledger isn’t truly an “actual” in the purest sense. It's a periodically weighted average costing. A material purchased early in the month at one price and late in the month at another gets averaged together. Throughout the month, inventory is still valued at standard prices. Only after closing does the system adjust to the weighted-average actual cost.

For most manufacturers, this approach works exceptionally well. Finance gets costs close enough to the actual for accurate financial reporting, operations receive detailed variance analysis, and the monthly rhythm aligns with business cycles. The Material Ledger excels at complex scenarios: co-product allocation in process manufacturing, multiple foreign currency valuations, and multilevel cost flows through deep BOMs. It is suitable for discrete, process, and repetitive manufacturing.

In SAP S/4HANA, with universal parallel accounting, the old way of waiting until the end of the month to settle costs is becoming a thing of the past. Instead of waiting for the period to close, organizations can now see actual costs and variances reflected in the financial books in real time. This creates a level of harmony between CO (management books) and FI (legal books) that previously required complex workarounds, especially when managing multiple valuation views. By aligning the Universal Journal directly with operational events, this capability provides the strongest argument for transitioning to a real-time, event-driven costing model with Material Ledger.

PMMO: True Real-Time Actual Costing for Projects:

Project manufacturing management and optimization (PMMO) in SAP S/4HANA provides true, real-time actual costing through a sophisticated requirement-pegging and cost-allocation method that is significantly different from the Material Ledger's approach. It utilizes non-valuated project structures (WBS elements) that don't carry inventory value. Instead of traditional inventory valuation, the system adopts requirement grouping to consolidate similar material needs across multiple sales orders or project elements, enabling efficient procurement while maintaining complete traceability.

The critical enabler is pegging relationships; a critical link that the system maintains between grouped requirements and their originating demands from sales orders, production orders, or WBS elements. This creates a traceable chain from procurement through production to final customer delivery. When procurement or production transactions occur, PMMO distributes actual costs based on these pegging relationships. This method of using pegging relationships provides a continuous visibility into project-specific or customer-specific actual costs reflecting what happened and not standardized estimates or monthly weighted averages. It is highly recommended for engineer-to-order and complex project manufacturing.

Different Manufacturing Types: Why One Size Doesn't Fit All

Manufacturing ranges from high-volume, repetitive work to fully customized, engineered-to-order jobs. Where your company falls on this range should guide how you set up costs in SAP. If costing doesn’t align with actual operations, finance will end up tracking numbers that don’t reflect reality. An overview of costing approaches that fit each type of manufacturing is as follows:

  • Repetitive manufacturing involves high-volume, continuous production of identical or similar products, such as appliances, automotive parts with few variations, or electronics, on a dedicated assembly line. Production rates can reach hundreds or thousands of units per hour, making traditional discrete manufacturing approaches computationally impractical.
  • Discrete manufacturing represents perhaps the most naturally understood production process: assembling distinct, countable units from parts. Automotive assembly, electronics manufacturing, aerospace production, and machinery fabrication all fall within this category. Each finished product maintains its identity as a discrete item with traceable serial numbers, specific configurations, and individual quality attributes.
  • Process manufacturing operates on entirely different principles. It employs formulas or recipes to blend and convert raw materials into outputs measured in pounds or liters, not pieces. Examples include industries like pharmaceuticals, chemicals, food, and paints. A batch often yields multiple co-products and by-products, and the finished product cannot be disassembled back into its constituent materials.
  • Customer-specific manufacturing supplements project-oriented complexity and could either be make-to-order (MTO), configure-to-order (CTO), or engineer-to-order (ETO). This customer-specific model applies to industries such as aerospace and defense, industrial equipment, shipbuilding, custom machinery producers, and specialized engineering firms, where each order may need unique engineering, procurement, and production approaches, making standard SAP solutions challenging.

Understanding SAP Costing Methodologies: An In-Depth Overview

Before we probe into costing methods, it’s important to acknowledge that master data is the single biggest driver of costing accuracy in SAP. Bill of materials (BOMs), routing or master recipe, work centers, activity rates, overhead costing sheets, valuation classes, and material master settings directly determine cost roll-ups and variance behavior. Even the most sophisticated costing method will produce misleading results if the underlying master data is inconsistent, outdated, or poorly governed. Costing precision is not a system feature—it is a master data discipline.

Even with perfect master data, the costing numbers won't make sense unless the system knows how to value them. In SAP, that logic lives in the “price control” methods at the material level. These settings essentially dictate your financial story—from inventory valuation to the bottom line on your P&L. You’ll find these handled by two main indicators in the Price Control field of the Accounting 1 view:

Standard Price (S)

  • Materials are valued at a predetermined, fixed price
  • Price remains constant regardless of fluctuations in procurement costs
  • Purchase price variances (PPV) are posted separately to variance accounts
  • Requires periodic updates through cost estimate releases
  • Ideal for manufactured products and materials with steady pricing
  • Supports detailed variance analysis for cost control

Moving Average Price (V)

  • Material value recalculates automatically with each goods receipt
  • The system keeps a weighted average of all acquisition costs
  • Price is updated continuously based on procurement transactions
  • No separate price variance posting- differences flow directly into the material value
  • Suited for purchasing materials with volatile pricing, trading goods, and MRO supplies
  • Simplifies period-end closing but provides limited visibility into variances

For different manufacturing and business needs, SAP offers several costing methods. Selecting the right method for your manufacturing type is essential to obtaining accurate costs, understanding variances, and managing profits. Some of the most-used costing methods based on the manufacturing types are as follows.

Product Cost by Period (Repetitive Manufacturing)

This simplifies costing for companies that are running high-volume, repetitive production where tracking individual orders doesn't add value. The system uses cost collectors to accumulate costs over a planning period, typically monthly. Production confirmations automatically backflush materials and post activity costs based on output, with costs settling at period-end rather than order-by-order. These provide:

  • Far fewer transactions to manage high-velocity production
  • Backflushing that cuts down on manual confirmations.
  • Streamlined period-end settlement.
  • Less strain on system resources compared to tracking every order

Product Cost by Order (Discrete Manufacturing and Process Manufacturing)

This collects actual costs for both discrete units and process-based production. The approach tracks every dollar spent on the floor to provide visibility into resource usage.

Production Order

This is used for discrete manufacturing, where each production order acts as an independent cost collector. Costs for materials, labor, machine time, and overhead accumulate on the order and when complete, settle to finished goods, with variances calculated against standard or planned costs. This approach provides:

  • Granular cost visibility
  • Detailed variance analysis
  • Customer-specific cost tracking for make-to-order scenarios
  • Realtime work-in-process tracking

Process Order

This is used in batch or continuous production, following recipes or formulas and allocating costs according to production complexity, sales value, or output quantity. With this method, organizations get:

  • Natural handling of production and catalyst costs
  • Smart allocation of costs across co-products and by-products
  • Recipe-based calculations that follow formulas
  • Support for regulatory compliance and batch documentation

Cost Objects for Custom Manufacturing (Engineer-to-Order and Configure-to-Order/Make-to-Order)

Some manufacturers don't produce for stock; they do exactly what customer orders expect. The goal remains the same: to treat every single contract as its own dedicated bucket. By tracking every expense from the contract signature to the final delivery, a company would like to know exactly how much profit is left once the wheels leave the tarmac. These customer orders could be of the following types:

  • Project-based costing (engineer-to-order) is used to manufacture products with long-term, complex contracts where progress is measured by percentage of completion rather than a single delivery date. It treats each customer’s engagement or contract as a unique project, using work breakdown structures (WBS) for dedicated cost tracking instead of traditional production orders. All engineering, procurement, production, and installation costs are tracked, enabling percentage-of-completion revenue recognition and project-specific profitability analysis. This approach offers:
    • Full cost tracking across the entire project lifecycle
    • Capture of customer-specific engineering costs.
    • Support for long-term contract accounting
    • Milestone-based billing and revenue recognition
    • Integration of engineering, procurement, and production costs in one place
  • Product cost by sales order (configure-to-order/make-to-order) are designed to be used to manufacture customer-specific products with shorter build cycles, allowing for a precise margin analysis of that unique order. It directly links customer orders to costing, enabling customer-specific cost tracking and profitability analysis. This method provides:
    • Direct visibility into customer-specific profitability
    • Customer-specific pricing based on actual costs
    • Make-to-order production without forecast-driven inventory
    • Integration between sales commitments with production planning

Strategic Decision Framework: Determining the Costing Approach in SAP

In many SAP projects, costing goes wrong because companies either try to fit their unique operations into a standard setup that doesn’t work, or they overcomplicate the system by adding features that do not improve the accuracy of their cost calculation but add significant back-office and operations complexities. The impact of these decisions quickly shows up in cost accounting. Getting costing right is crucial for SAP success, but it’s often misunderstood.

The key to a successful implementation of an SAP system requires a logical, step-by-step process that aligns with your actual manufacturing situation and business goals. The three-step framework outlined below helps you to prevent costly errors and ensure that your cost accounting provides useful insights and is not an administrative burden.

Step 1: Manufacturing Type Determines Order Type

The first step is understanding the manufacturing processes followed by the organization, because they largely determine the costing structure. Repetitive manufacturing typically uses product cost by period with cost collectors. Discrete manufacturing relies on production orders that collect costs per unit. Process manufacturing uses process orders to manage recipes and co-product allocations, while engineer-to-order environments typically track costs at the project or WBS level.

Step 2: Order Type Influences (But Doesn't Dictate) Price Control

The order type doesn't dictate a specific price control, but it creates strong practical preferences. SAP has two price control options managed on the material master.

Standard price (S) is recommended for the following:

  • Manufactured finished goods across all manufacturing types
  • Semi-finished goods and subassemblies in discrete and process environments
  • Products with significant value transformation where labor, machine time, and overhead substantially increase value beyond component costs
  • Operations require variance analysis to distinguish procurement effectiveness from production efficiency

Moving average price (V) is appropriate and recommended for the following:

  • Purchased raw materials across all manufacturing types
  • MRO supplies, traded goods, commodity ingredients, and spare parts, wherein detailed variance tracking adds minimal value
  • Simple assembly operations involving minimal value-add transformation

Note: moving average price only makes sense without Material Ledger actual costing—suitable for MRO supplies, traded goods, or spare parts, but for manufactured products it creates inaccurate valuations and unnecessary price variance noise in production orders.

Step 3: Business Requirements Determine Actual Costing Need

Choosing between actual and standard costing is usually a tug of war between the shopfloor which wants predictability and finance teams that want the truth. Supply chain teams have the usual preference to go with standard costing because it’s lean and predictable.

If your production is simple and steady, and your products are actually very similar and the cost variations between them are negligible, then the efficiency of standard costing is hard to beat. But when the raw material prices fluctuate, yields vary by batch (e.g., one batch of chemicals is more potent than another), or if you’re building complex multi-level assemblies (like a defense aircraft), it stops reflecting reality, and that's where actual costing earns its place.

Actual costing captures what things genuinely cost after exchange rate moves, procurement hiccups, and production variability. It doesn't tell what a product should cost, instead it tells what it did cost, making product margins something that can be acted on.

For organizations running complex manufacturing in SAP S/4HANA, the Material Ledger combined with universal parallel accounting is increasingly the preferred approach—mainly because it removes many of the reconciliation and timing issues that older setups struggled with.

Key Implementation Insights

The strategic decisions that we have covered in this blog post are all interconnected to solve a complex puzzle. It begins with a clear understanding of your current manufacturing operations, what you are trying to achieve, and what insights you need. When you follow this sequential framework methodically, you are not just configuring your SAP system; but you are building a cost accounting system that reflects your manufacturing reality and helps you to make profitable and sustainable decisions. Here is how that breaks down in practice.

The Shop Floor Processes Dictate the Order Type

This part is non-negotiable. Whether you are running discrete lines, repetitive high-volume runs, or complex "engineer-to-order" projects, your shop floor manufacturing process determines your order type. You can't force a square peg into a round hole; your digital setup must mirror how your teams are building the products.

Strategy Drives Your Price Control

Choosing price control is a strategic balancing act. Most successful organizations prefer to go with standard pricing for in-house manufactured goods to maintain operational stability, while sticking with the moving average for volatile raw materials or external purchases. It’s about balancing "what it should cost" with the reality of what you just paid.

Maturity and Analytics Define "Actuals"

You typically move to actual costing when variance analysis alone stops giving you the answers you need, and you’re chasing more precise profitability analysis. In some places, though, it’s not really a choice. Countries like Brazil and Turkey (and parts of India) with regulatory expectations around inventory valuation leave little room for purely standard‑cost models, so some form of actual costing or full variance capitalization is needed for compliant reporting.

Manufacturing Repetition vs. Engineering Uniqueness

Once you have decided to go with actual costing, the level of complexity in your manufacturing and source of materials, price fluctuations, and production variances in your projects determines your technical path.

  • Material Ledger: This is your go-to when the cost variance is driven by material/production, and a periodically weighted average fits your requirement for actual cost. It’s clean, reliable, and provides a clear view of the month’s performance. It is a preferred solution for any industry, such as automotive, (commercial) aerospace, chemicals, pharma, and consumer goods, among others.
  • PMMO: If you are managing complex, long-term projects (like defense aircraft, ship building, industrial equipment, etc.) and need real-time, transaction-level actual costing, with cost variance driven by the project and configuration, PMMO is the way to go.

If your organization’s costing model relies on monthend variance allocations or workarounds to force a “reasonable” product cost, you’re no longer measuring reality—you’re trading transparency for control and usually lose both. Instead, let SAP do exactly what it is designed to do: reflect the operational truth rather than accounting comfort. When you truly need actual costing, trust the Material Ledger or PMMO to provide accurate, detailed insight without manual intervention. The shift in the mindset is simple: stop fixing costs outside the system and let SAP produce numbers the business can rely on.

This post was originally published 3/2026.

Read Entire Article