# How to Reverse or Cancel a Usage Decision (UD) in SAP QM

> Source: https://netray.co/erp-help/sap-qm-reverse-cancel-usage-decision-ud-how-to
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: ERP Help

## Short answer

Use QA12 (Change Usage Decision) to change a usage decision you already made in QA11. It works when the lot has not been closed by follow-on processes. If stock has already been posted or follow-up actions ran, you may have to correct the stock with a movement type instead. The authorization to change UDs is separate from the one to make them.

## Kind

how-to

## System

sap

## Erp

SAP S/4HANA and ECC

## Module

Quality Management (QM) / Usage Decision

## Query

how to reverse ud in sap qm

## Alternate Queries

- how to cancel ud in sap qm
- sap qm change usage decision after stock posting
- qa12 change usage decision

## Applies To

SAP ECC 6.0 and SAP S/4HANA on-premise with QM inspection lot processing

## Steps

### Change a usage decision

**Items:**

- Run QA12 and enter the inspection lot number.
- Check the lot status: if the UD has been made, you will see UD in the status. Check the stock posting status and any follow-up action status.
- Choose the new usage decision code from the code group, or from the selected set, and save.
- Check what the system does with the stock posting. If the lot was posted to unrestricted use and the new decision requires a different stock type, the system may reverse the previous posting or prompt you to make a manual one.
- If QA12 refuses the change because the lot is closed, locked or already posted, correct the stock with MIGO using a transfer posting between the stock types.
- Check the inspection lot history and quality score, which are recalculated if the UD changes.

## Sections

### What QA12 can and cannot do

**Body:**

QA12 is the change transaction for the UD. It lets you replace the code, the quality score and the follow-up actions where the lot status allows it. The status of the inspection lot, whether stock posting is complete, and the authorization determine the outcome.

A UD is not a 'delete'. SAP treats it as a decision that can be changed, and changes are logged. This keeps the audit trail intact, which matters in regulated sectors.

If the inspection lot has an automatic stock posting at UD time and goods have since been consumed, you cannot move stock that is no longer there. The correction is then a business decision, not a system one.

### Stock posting and follow-up actions

**Body:**

In the UD, the stock posting moves the inspection lot stock to unrestricted, blocked, scrap or returns. The follow-up actions might create a quality notification, trigger a recall or update the quality level. Changing the UD affects these.

When the new decision requires a different stock type, check what the system proposes. If the original posting cannot be reversed, a manual transfer in MIGO (for example from unrestricted to blocked stock, or the quality inspection transfer movements) corrects the stock.

Always check batch status and any release for delivery. If a batch is now blocked, open sales orders using it should be checked.

**Code:**

- QA11   Record usage decision
- QA12   Change usage decision
- QA13   Display usage decision
- MIGO   Transfer posting between stock types

### Authorization and audit

**Body:**

Changing a UD is controlled by the authorization object for usage decisions (QM_UD style authorization objects) and by whether the user may use QA12. Many companies allow QA11 to inspectors and QA12 only to quality managers.

Because UDs affect stock value and customer deliveries, keep a reason code or a note for every change. In audited industries you will be asked why a lot was flipped from accepted to rejected.

Test in a quality system with a lot at each status (UD made, stock posted, follow-up executed) to know which of your lots can be changed.

## Pitfalls

- Assuming QA12 can always move stock back, when downstream consumption may make it impossible.
- Changing a UD to accepted without releasing the blocked batch in the batch record.
- Giving QA12 to inspectors who can also make the original decision, removing the second pair of eyes.
- Ignoring a quality notification created by the original rejection.
- Fixing stock in MIGO without recording why, which breaks the audit trail.

## Ai Angle

The hardest part is knowing the lot's state: UD made, stock posted, follow-up executed, batch consumed. A grounded assistant can read the lot, stock and batch tables and report 'this lot can be changed' or 'the quantity has been consumed in order 1000234' before anyone touches QA12. Netray's read-only layer on your SAP data runs on your own infrastructure, and any posting stays a human-approved SAP transaction.

## Faq

### What is the tcode to change a usage decision in SAP?

**Answer:** QA12 changes the usage decision, QA11 records it and QA13 displays it. QA12 depends on the lot status and requires its own authorization.

### Can I cancel a usage decision after stock posting?

**Answer:** Sometimes. If the stock has been posted and is still in the location, the change may be allowed with a corrective posting. If it has been consumed, shipped or transferred, you need a business correction rather than a UD change.

### Does changing a UD affect the quality score?

**Answer:** Yes. The quality score and the quality level of the vendor or material are recalculated when the decision changes, which in turn can change inspection frequency under dynamic modification rules.

### How do I stop users from changing UDs?

**Answer:** Remove the authorization for QA12 and the UD change activity from their roles and give it only to a defined quality role. Auditors usually expect separation between the people who decide and those who change the decision.

## Search terms

how to reverse ud in sap qm, how to cancel ud in sap qm, sap qa12 change usage decision, sap reverse usage decision, sap qm usage decision stock posting reversal, change ud after stock posting sap, sap qm ud authorization

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
