How to stop the cancellation of Goods Receipt Material Document before cancelling Invoice Receipt Document?

Requirement: Business wants to have control in system to give error if any user tries to cancel GR document without cancelling the IR document. This will be helpful to avoid any inconsistencies between GR and IR.

Solution: We should suggest to use GR Based Invoice verification process to the business if they are not using. If they are already using GR Based IV, it will be fine. As per SAP standard system, there is a configuration where we can setup which movements can be allowed after posting Invoice Receipt for a purchase order.

For example: 122- Return to Vendor should be allowed and 102- Cancel of GR Document should not be allowed

Once you click on the node – For GR-Based IV, Reversal of GR Despite Invoice , below screen will be appeared. Movement types need to be maintained along with check box.

Indicates that in the case of GR Based IV, you can enter a reversal in respect of the purchase order, or a return delivery, even though the corresponding invoice for the goods receipt document has already been posted.

If RevGR desp.IR = X, it means GR cancellation/Return to Vendor can be done without cancelling IR document

As the requirement is to test the cancellation of GR Document after posting both GR and IR for purchase order, we can consider that the GR and IR are completed for the Purchase Order. Below is the transaction to cancel the GR document without performing IR cancellation. You can observe the error message based on above configuration.

Transaction Code is MIGO. You can perform the cancellation of Material Document with Transaction Code MBST also. You can observe the error message once you click on Check or Post button

Error details are provided below for the information.

The error message will be given by the system when user tries to cancel the material document without cancelling the IR document when GR Based IV is activated in PO. Below screenshot is provided from the Purchase Order where GR Based IV flag will be available

This error can be resolved if you follow below steps

Cancel IR document with MR8M Transaction Code

Cancel GR document with MIGO-Cancellation or MBST Transaction Code

I hope this support issue document will be helpful for you. Keep learning and sharing. All the Best

Like this:

Related

Published by ganeshsapmmwm

I did Post Graduation in Organic Chemistry. I have more than 7 years of SAP consulting experience in SAP MM, WM and SRM modules. I did 5 End to End Implementations, 4 Roll outs and 2 Support projects.
View all posts by ganeshsapmmwm