How-toSAP QM / COQuality Management / Controlling

QM order cost recording and settlement in SAP

Question
qm order cost recording in sap

Also searched as

  • sap qm order capturing costs
  • sap qm order settlement rule
  • qm order settlement to cost center

Short answer

A QM order is a cost collector for inspection effort. Costs such as labour confirmed against it and external services are posted to the order, and at period end the order is settled to a receiver, typically a cost center, using a settlement rule and settlement profile. It is a Controlling process as much as a Quality one.

Applies to: SAP ECC and S/4HANA with QM and CO.

Capture and settle costs

  1. 1Configure the QM order type and its settlement profile and allocation structure with your CO team.
  2. 2Ensure the inspection lot or notification creates or links the QM order, per your configuration.
  3. 3Post costs to the order through time confirmations, goods issues for materials used and external service procurement.
  4. 4Maintain the settlement rule, assigning the receiver, for example a cost center, with the percentage.
  5. 5Check the order's costs in the order reports before period end.
  6. 6Run settlement (KO88 individually or KO8G collectively) and verify the postings on the cost center.

What a QM order does and does not do

A QM order collects costs only; it does not drive the inspection itself. The inspection lot handles the quality process, while the order is linked so that effort and materials spent on inspection can be reported as cost.

Settlement rule and profile

The settlement profile (maintained by CO, for example in KO04) defines allowed receivers and whether a rule is mandatory. The settlement rule on the order specifies the receiver and share. Without a rule, settlement fails with an error asking for it.

The allocation structure and source structure decide how cost elements map to settlement cost elements on the receiver.

KO88  Actual settlement: individual processing
KO8G  Actual settlement: collective processing
KO04  Maintain settlement profile

Troubleshooting

If settlement does nothing, check the order status (it needs to be released and not already settled), that costs exist, and that the period is open. If receivers are rejected, check the settlement profile permitted receivers.

Try it here, free

SAP QM Inspection Results Recording Worksheet

Open full tool

Record measured values per characteristic, see deviation from target and in-tolerance status, and keep a paper copy to key into SAP QE51N.

Common pitfalls

  • !No default settlement rule, so each order needs manual maintenance.
  • !Settling into a closed period.
  • !Changing the settlement profile after orders exist.
  • !Not training quality staff to confirm time to the order.
  • !Expecting the QM order to control inspection scope.

How an ERP-grounded AI assistant handles this

A grounded assistant can answer which QM orders have unsettled costs or missing settlement rules by reading CO data read-only. Netray runs this privately on-prem alongside SAP.

Frequently asked questions

What is a QM order in SAP?

An order used to collect costs of quality activities such as inspection, which are then settled to a receiver like a cost center.

How do I settle a QM order to a cost center?

Maintain a settlement rule with the cost center as receiver, then run KO88 or KO8G in an open period.

Why does settlement fail?

Common causes are a missing or invalid settlement rule, wrong status, no costs to settle or a closed posting period.

Who configures settlement profiles?

Typically the CO consultant with QM input on the order type.

Related

How-to

What is a quality info record in SAP QM, and how do customer returns trigger inspection?

The quality info record is a QM master record per material, vendor and plant that stores quality control data for procurement, such as whether inspection is required and which release or block controls apply. Customer returns are a separate flow: the returned goods are received and can be put into inspection through the return process.

How-to

How to create a quality notification in SAP QM (QM01) and set up an 8D report

Run QM01, pick the notification type (Q1 customer complaint, Q2 complaint against a vendor, Q3 internal problem), fill the header and item, then add causes, tasks and activities to track the problem to closure. An 8D report is not a separate object: it is a print form over the notification, configured in customizing.

Advanced

SAP QM Integration With LIMS: How the Hand-Off Works

A LIMS connects to SAP QM by receiving the inspection lot and its characteristics, running the lab work, then returning results (and sometimes the usage decision) to SAP. The main options are the QM-STI subsystem interface, released BAPIs such as BAPI_INSPOPER_RECORDRESULT, IDocs through middleware, or modern APIs. Choose by who owns the usage decision.

Error fix

SAP M7 021: Deficit of SL Stock Quantity

M7 021 fires during a goods issue, delivery, or confirmation when SAP checks the unrestricted-use (SL) stock for the exact plant, storage location and batch combination and finds less than what you are trying to post out. Fix the entry (batch, storage location, quantity) first; only enable negative stock or downgrade the message to a warning if the business genuinely needs to post ahead of a receipt.

Error fix

SAP IDoc Status 51: Application Document Not Posted

Status 51 tells you the IDoc reached the application layer and failed to post, but the status text itself is not the error - the real cause sits in the status record's long text or the linked application log. Fix the underlying data or configuration, then reprocess the IDoc through BD87 rather than editing the status.

Error fix

SAP Short Dump TIME_OUT: Maximum Runtime Exceeded

A TIME_OUT runtime error means a dialog (or RFC) work process ran longer than the maximum allowed runtime, controlled by profile parameter rdisp/max_wprun_time (600 seconds by default). The fix is almost always to move the long-running work to background processing or tune the underlying program, not to raise the timeout.

AI for ERP

AI for SAP Quality Management: Notifications, 8D, and CAPA Without the Manual Drafting

AI grounded on SAP QM data that triages notifications, drafts 8D and CAPA reports, and summarizes inspection trends, deployed on-prem for full traceability.

AI for ERP

AI for SAP S/4HANA, Running On-Prem or in Your Private Cloud

Run AI on SAP S/4HANA without sending ERP data to a public API. On-prem and private-cloud architecture, CDS views, OData, and honest deployment trade-offs.

Stuck on SAP QM / CO?

Talk to engineers who work inside SAP QM / CO every week, and who build private AI that answers these questions from your own ERP data.

Keep exploring

Free tools

ERP fixes and how-tos

Runs with your ERP

AI on your ERP

Software