M8787 - & & not copied (Moving av. price for material & would be negative)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: M8 - Invoice Verification/Valuation

  • Message number: 787

  • Message text: & & not copied (Moving av. price for material & would be negative)

  • Show details Hide details
  • What causes this issue?

    Purchase order &V1&, item &V2& is not copied over to the document,
    since posting this item would lead to a negative moving average price
    for material &V3&.

    System Response

    The system does not permit a negative moving average price.

    How to fix this error?

    Check your entry in the field <LS>Amount</>.
    If your entry was wrong, acknowledge the next message. From the
    document overview screen choose <LS>Goto -> Open order item</>. A list
    appears of items that were not copied over. At the end of the list you
    will find purchase order &V1&, item &V2& and the amount you entered.
    Correct this amount.
    If the amount you entered was correct, take a look at:
    the stock value of the material by choosing
    ( Environment -> Master data info -> Display material)
    the posting history by choosing
    (Environment -> Line items -> By material).
    You may have to reverse postings that were made in the past (for
    example, because goods receipts were wrongly valuated or price changes
    were made wrongly) before you carry out the current posting.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message M8787 - & & not copied (Moving av. price for material & would be negative) ?

    The SAP error message M8787 indicates that there is an issue with the moving average price (MAP) for a material. Specifically, the error states that the moving average price for the material would be negative, which is not allowed in SAP. This typically occurs during inventory management processes, such as goods movements, when the system attempts to calculate the moving average price based on the current stock and the value of the goods being moved.

    Cause:

    1. Negative Stock: The most common cause of this error is that the system is trying to process a transaction that would result in a negative stock level for the material. This can happen if you are trying to post a goods issue or a transfer that exceeds the available stock.

    2. Incorrect Valuation: If the valuation of the material is incorrect or if there are inconsistencies in the material master data, it can lead to a situation where the moving average price calculation results in a negative value.

    3. Stock Adjustments: If there have been manual adjustments to stock levels or prices that are not in line with the actual inventory, this can also trigger the error.

    Solution:

    1. Check Stock Levels: Verify the current stock levels for the material in question. Ensure that there is enough stock available to cover the transaction you are trying to post.

    2. Review Material Master Data: Check the material master data for any inconsistencies, especially in the valuation class and moving average price settings. Ensure that the valuation method is set correctly.

    3. Adjust Inventory: If there are discrepancies in stock levels, you may need to perform a stock adjustment to correct the inventory levels before proceeding with the transaction.

    4. Transaction Review: Review the transaction you are trying to post. Ensure that it is valid and that it does not exceed the available stock.

    5. Consult with Finance: If the issue persists, it may be necessary to consult with your finance team to ensure that the valuation and pricing methods are correctly configured in the system.

    Related Information:

    • Transaction Codes: You can use transaction codes like MMBE (Stock Overview) to check stock levels and MM03 (Display Material) to review material master data.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional guidance on handling moving average price issues.
    • Documentation: Refer to SAP documentation on inventory management and material valuation for more detailed information on how moving average pricing works and how to troubleshoot related issues.

    By following these steps, you should be able to identify the cause of the M8787 error and implement a solution to resolve it.

    Artificial intelligence solution provided by tomco.ai.
    Disclaimer
    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Feature Free Access Free Trial
Basic SAP error explanation T-Code Explanation T-Code Explanation 2
Step-by-Step Usage Guide Step-by-Step Step-by-Step 2
Interactive SAP Coach Assistance Interactive SAP Interactive SAP 2
AI Troubleshooting for T-Code Errors AI Troubleshooting AI Troubleshooting 2

Related SAP Error Messages

Click the links below to see the following related messages:


SAP messages fall into 3 different categories: Error messages (message type = E), Warnings (W) or Informational (I) messages.

An error message will prevent you from continuing your work - it is a hard stop and you need to fix the error before you can proceed. A warning message will stop your work, however, you can then bypass the warning by pressing the Enter key on your keyboard. That said, it is still good practice to investigate the cause of the warning message and address it. An information message will not stop your work and is truly just for informational purposes.

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker