Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WSTI_CALC066 - Item written off but recalculation would result in a different book inv.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WSTI_CALC - Physical Inventory Messages: Book Inv. Calc. at Count Time

  • Message number: 066

  • Message text: Item written off but recalculation would result in a different book inv.

  • Show details Hide details
  • What causes this issue?

    The book inventory for the count time has been calculated for this item.
    The item has a book inventory of &V1& &V2&. However, if you were to
    repeat calculation of the book inventory for the count time for this
    item, this would mean &V3& &V2& the quantity of relevant POS
    transactions would change. However, since the difference has already
    been written off, which means that physical inventory is completed, no
    further changes can be made to the item.

    System Response

    The system displays this message as the result of an analysis when the
    POS transactions are displayed for the inventory document.

    How to fix this error?

    Check why the quantity of relevant POS transactions for this item in the
    inventory document has changed. This might, for example, be for one of
    the following reasons:
    The book inventory for the count time was calculated for this inventory
    document and the inventory differences were then written off. Further
    POS transactions, which are relevant for calculating the book inventory
    because they are in the corresponding period, were then transferred from
    your POS system to the ERP system.
    In this case, an error has occurred and can only be corrected by
    repeating physical inventory for the material. In the future, make sure
    that all the relevant POS transactions are transferred to the ERP system
    before you calculate the book inventory.
    The book inventory for the count time was calculated for this inventory
    document and the inventory differences were then written off. The
    relevant POS transactions were then reorganized.
    In this case, the book inventory for the count time is correct but the
    list of POS transactions displayed in the overview may be incomplete.

    Procedure for System Administrators

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WSTI_CALC066 - Item written off but recalculation would result in a different book inv. ?

    Certainly! Here's a detailed explanation for the SAP error message:


    SAP Error Message:

    WSTI_CALC066
    Text: Item written off but recalculation would result in a different book inventory.


    Cause:

    This error occurs during the inventory valuation or goods movement process when an item has been written off (e.g., due to scrapping or loss), but the system detects that if it recalculates the inventory value or quantity, the resulting book inventory (stock quantity or value) would differ from what is currently recorded.

    In other words, the system is trying to ensure consistency between the physical stock, the book inventory, and the valuation. If an item is written off, the system expects the recalculation to confirm the book inventory. If it doesn't, it raises this error to prevent inconsistencies in inventory valuation.

    Common scenarios causing this error include:

    • Manual adjustments or postings that cause discrepancies between physical stock and book inventory.
    • Incorrect or incomplete movement types or valuation class assignments.
    • Issues in the material master data, such as incorrect valuation settings.
    • Problems during inventory closing or period-end closing where recalculation is triggered.
    • Partial write-offs or scrapping where the system expects the recalculation to match the written-off quantity/value.

    Solution:

    To resolve this error, consider the following steps:

    1. Check Material Master Data:

      • Verify the valuation class, price control (standard price or moving average price), and other valuation-related settings.
      • Ensure that the material master data is consistent and correctly maintained.
    2. Review Inventory and Stock Data:

      • Check the stock quantities and values in the system (using transactions like MMBE, MB52).
      • Compare physical stock with book inventory to identify discrepancies.
    3. Analyze Movement Types and Postings:

      • Review the movement types used for the write-off or scrapping.
      • Ensure that the postings are correctly done and consistent with valuation.
    4. Run Inventory Recalculation or Adjustment:

      • Use transaction MIRO or MBRL (for scrapping) carefully.
      • If discrepancies exist, perform inventory adjustments or revaluation to align book inventory with physical stock.
    5. Check for Open or Incomplete Documents:

      • Sometimes open or incomplete material documents can cause recalculation errors.
      • Clear or complete these documents.
    6. Consult SAP Notes and Support:

      • Search for SAP Notes related to WSTI_CALC066 for any known bugs or patches.
      • If the problem persists, raise a support ticket with SAP, providing detailed logs and screenshots.

    Related Information:

    • Transaction Codes:

      • MBRL – Return Delivery per Mat. Document (used for scrapping)
      • MIRO – Enter Incoming Invoice (for invoice verification)
      • MIGO – Goods Movement
      • MMBE – Stock Overview
      • MB52 – List Warehouse Stocks on Hand
    • Tables:

      • MSEG – Document Segment: Material
      • MKPF – Material Document Header
      • MBEW – Material Valuation
    • SAP Notes:

      • Check SAP Service Marketplace for notes related to inventory valuation errors and WSTI_CALC066.
    • Related Concepts:

      • Inventory valuation methods (Standard Price vs Moving Average Price)
      • Material ledger and actual costing
      • Period-end closing activities in MM and FI

    If you provide more context (e.g., transaction used, material type, valuation method), I can help tailor the solution further.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant