Error M7022 "PU Withdrawn qty exceeded by 0,001..."
Hey SAP Experts,
While posting GR in reference with the outbound delivery in T-code MIGO, an error M7022 "PU Withdrawn qty exceeded by 0,001..." is shown.
You can reproduce the issue by following below steps:
- Create an STO in the material master for the material which has base unit of measure PC, order unit BOX where the conversion factor is 16 PC = 1 BOX
- Now create an outbound delivery for 32 EA (base unit), and then posting the Goods Issued for the delivery with 32 EA.
- Post a partial GR with reference to the outbound delivery for 31 EA In T-code MIGO
- Now when you try to do another GR for 1 EA in a reference with the outbound delivery, error M7022 "PU Withdrawn qty exceeded by 0,001 BOX..." is shown.
Due to the rounding off,
The first GR (31 EA) gets converted to the order unit (1.938 BOX):
1 EA = 31 / 16 = 1.9375 BOX which is it's rounded off to 1.938 BOX.
The second GR (1 EA) gets converted to the order unit (0.063 BOX):
1 EA = 1 / 16 = 0.0625 BOX which is rounded off to 0.063 BOX.
Since the STO has order quantity 2 BOX and the total quantity for the two GRs would be 2.001 BOX which exceeds the order quantity, therefore the error M7022 is shown for the second GR.