Tuesday, January 9, 2024

How to fix the quantity on stock in transit when error message "M7 022 - & exceeded by & & &' is raised"

 SAP error message "M7 022 - & exceeded by & & &' is raised"

Issue

Ø  When trying to post a goods receipt for an Outbound Delivery at the receiving plant which was created based on a Stock Transfer Order (STO), error message 'M7 022 - & exceeded by & & &' is raised. 

Ø  Unable to post a Goods Receipt against a Stock Transport Order in transaction MIGO due to error 'M7 022 - & exceeded by & & &'.

 

Reproducing the Issue

Ø  Go to MIGO transaction.

Ø  Select a Goods Receipt for Outbound Delivery / Purchase Order.

Ø  Insert Delivery Number /Purchase Order number, movement type and execute.

Ø  Insert storage location, if required.

Ø  Set item as 'OK'.

Ø  Click on post button.

Ø  Error message 'M7 022 - & exceeded by & & &' is raised.

Ø  Go to VL32N transaction & Enter Inbound Delivery Number.

Ø  Click PGR - Post Goods Receipt.

Ø  Error message 'M7 022 - & exceeded by & & &' is raised.

 

Root cause for this issue.

Ø  Inconsistent quantity on stock in transit: Rounding issues, incorrect sequence of goods movements, etc.

Solution

Ø  How to fix/clear stock in transit?

Ø  For fixing the stock in transit by means of MIGO / VL32N transaction, we should post a stock adjustment by using the movement types '557/558' to clear MARC-TRAME field in MIGO transaction.

Ø  It should be used to fix rounding issues.
If we cannot allocate this cost to any cost center, please go to OMJJ transaction and set cost center field (KOSTL) as 'optional entry' to the affected movement type.

Ø  This option is not valid for Stock Transfer Order-cross-company scenario.

Ø  If the material is split valuated, the system will issue the message M7048. To work around this, you can temporarily deactivate the error by entering ' ' (blank) for this message in the customizing transaction OMCQ .

Ø  For blocking the Stock Transfer Order document by means of ME22N transaction, you should select the affected Stock Transfer Order document line item and click on 'locker' icon (not 'trash' icon).

Ø  It will remove Stock Transfer Order document from MB5T transaction.

Ø  For closing the Stock Transfer Order document  by means of MIGO transaction, you should post a goods issue reversal at the supplying plant to the missing quantity or post a goods receipt at the receiving plant to the missing quantity.

Ø  For fixing a wrong stock in transit created by an inconsistency between EKET x EKBE tables, we should go through the below points a, b & c to fix the inconsistency.

a)      The schedule line quantity is less than the goods issue quantity (EKET-WAMNG) or less than the delivered quantity at schedule line level (EKET-GLMNG).

b)      The goods issue quantity (EKET-WAMNG) at schedule line level differs from the goods issue quantity actually posted (according to the purchase order history).

For standard purchase orders or scheduling agreements, we have the following inconsistencies:

c)      The goods receipt quantity (EKET-WEMNG) at schedule line level differs from the goods receipt quantity actually posted (according to the purchase order history).

No comments:

Simple explanation about SAP BRF+/BRFplus

                             SAP Business Rules Framework plus (BRF+) is a powerful tool within the SAP ecosystem for defining and managing ...