Symptom
When cancelling a one step subcontracting goods receipt in Material Document Overview which only involves components, the system throws the error: PU withdrawn quantity exceeded (Message no. M7 022).
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to Material Document Overview.
- Open a subcontracting goods receipt material document.
- Click Reverse.
- In the popup, select all items by using the Material Document Item checkbox.
- Click Confirm to post the reversal.
- Observe that error M7 022 occurs.
Cause
A partial reversal was posted for the subcontracting goods receipt: the finished material was cancelled without all of its components. In one step subcontracting, the finished material and all components must be reversed in the same posting. Note that the reverse popup in Material Document Overview selects only up to 20 items via Material Document Item checkbox; documents with more than 20 items may have some components remain unselected, causing the partial reversal.
Resolution
- Identify the incorrect partial cancellation document(s) that reversed the finished material without all of its components.
- Reverse the incorrect cancellation document(s).
- Go to MIGO and perform a Return Delivery for the original subcontracting goods receipt.
- Select the affected finished material(s) of Step 2 together with all their components.
- Before posting, verify the movement types: finished material uses 122 (return to supplier); components use 544 with special stock indicator O (return from subcontractor stock).
- Post the document.
See Also
Keywords
subcontracting, cancellation, goods receipt, return delivery, M7 022, PU withdrawn quantity exceeded, movement type 122, movement type 544, special stock O, MIGO, Material Document Overview, partial reversal, components, finished material , KBA , MM-IM-GR-MIGO-2CL , Goods Receipt from External Procurement (MIGO) (Public Cld) , Problem
SAP Knowledge Base Article - Public