SAP Knowledge Base Article - Public

3252610 - Error QA046 "You cannot cancel GR, since inspection lot is already partly posted" shows up when you try to reverse the goods receipt of production/purchase order

Symptom

You have activated quality management (QM) for a product and finished the goods receipt (GR) of production order (in case of internal production) or purchase order (in case of external procurement). Then you want to reverse the GR for some reason, however, the error QA046 shows up and prevents you from doing this.

Environment

SAP S/4HANA Cloud

Cause

The error shows up because usage decision (UD) has been made for the inspection lot generated by the GR and this is a standard system behavior.
For the product with QM functionality activated, the stock change of it can be treated as a two-step procedure:
1. After the GR of the order, the inspection lot is created and all the quality is posted to the inspection stock.
2. After the UD has been made for the inspection lot, all the quantity then is posted to unrestricted/blocked stock from the inspection stock.
The reverse you want to make now is actually for the GR in the first step, which means from the inspection stock. However, since the UD has been made, there is no/not enough quantity in the inspection stock for the order any longer to make the reverse. 

Resolution

Since the reverse of the UD and related goods movements is not supported in S/4HANA Cloud, once you have done the UD after the GR, the GR can't be reversed any longer. So you should be extremely cautious on the UD in QM. 
Another preventive solution is to reverse the GR before any UD and stock postings have been made to the corresponding inspection lot.

See Also

2900440 - CO13 | COGI: error QA046 - You cannot cancel GR, since inspection lot is already partly posted

Keywords

QA046, reverse, goods receipt, quality management, usage decision, production order, purchase order, inspection lot , KBA , QM-IM-UD , Inspection Lot Completion , QM-IM-UD-2CL , Inspection Lot Completion (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions