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

Configuration:

Below configuration needs to be used to put this control. The path for configuration : SPRO- SAP Reference IMG-Materials Management-Inventory Management and Physical Inventory-Goods Receipt-For GR-Based IV, Reversal of GR Despite Invoice

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

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

Testing:

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

  1. Cancel IR document with MR8M Transaction Code
  2. 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

Thanks and Best Regards,

Ganesh Padala

2 thoughts on “How to stop the cancellation of Goods Receipt Material Document before cancelling Invoice Receipt Document?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s