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

Close

How To Fix W4059 - &: & unrestricted-use, valuated stock in previous period exists


SAP Error Message - Details

  • Message type: E = Error

  • Message class: W4 - Messages for material discontinuation

  • Message number: 059

  • Message text: &: & unrestricted-use, valuated stock in previous period exists

  • Show details Hide details
  • What causes this issue?

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

    System Response

    How to fix this error?

    INCLUDE W4SLOC OBJECT DOKU ID TX LANGUAGE EN

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message W4059 - &: & unrestricted-use, valuated stock in previous period exists ?

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


    SAP Message W4059:

    Message Text:
    &: & unrestricted-use, valuated stock in previous period exists


    Cause:

    This warning message occurs during a period-end closing activity (such as closing the inventory management period) or when trying to post a goods movement or inventory transaction in a new period, but there is still unrestricted-use, valuated stock in the previous period that has not been fully processed or cleared.

    In other words, the system detects that there is still stock with valuation in the previous period that has not been accounted for or closed properly. This can happen if:

    • The previous period has not been closed yet.
    • There are open or unposted inventory transactions in the previous period.
    • The stock has not been fully transferred or adjusted in the previous period.
    • The inventory valuation or period closing process was not completed successfully.

    When does it occur?

    • During period-end closing (transaction MMPV or MIRO).
    • When trying to post goods movements or inventory transactions in a new period.
    • When running inventory valuation or material ledger closing activities.

    Solution:

    1. Check and close the previous period:

      • Verify if the previous period is still open in Inventory Management and Valuation.
      • Close the previous period properly using transaction MMPV (Close Inventory Management Period).
      • Ensure that all goods movements, invoices, and inventory adjustments for the previous period are posted.
    2. Check for open or unposted documents:

      • Look for any open or parked documents related to inventory or goods movements in the previous period.
      • Post or delete these documents as appropriate.
    3. Run inventory valuation and period-end closing activities:

      • Execute the inventory valuation run (transaction MR21, MRRL, or MR11 as applicable).
      • Run the material ledger closing if you are using material ledger.
      • Ensure that all valuation and price differences are posted.
    4. Check stock balances:

      • Use transaction MB52 or MMBE to check stock balances by period.
      • Confirm that unrestricted-use stock is correctly valued and accounted for in the previous period.
    5. Consult with Finance/Controlling:

      • Coordinate with FI/CO teams to ensure that the financial postings related to inventory are complete for the previous period.

    Related Information:

    • Transaction Codes:

      • MMPV - Close Inventory Management Period
      • MB52 - List Warehouse Stocks on Hand
      • MMBE - Stock Overview
      • MR21 - Price Change
      • MRRL - Evaluated Receipt Settlement
      • MR11 - Maintain GR/IR Clearing Account
    • SAP Notes:

      • Check SAP Notes related to period closing and inventory valuation for your SAP version.
      • Example: SAP Note 123456 (hypothetical) might provide specific instructions for your scenario.
    • Configuration:

      • Ensure that the fiscal year variant and period definitions are correctly maintained.
      • Verify that the inventory management and valuation periods are aligned.

    Summary:

    The warning W4059 indicates that there is still valuated unrestricted-use stock in the previous period that needs to be processed before proceeding. The key action is to complete all postings and close the previous period properly to maintain consistent inventory valuation and financial reporting.


    If you need help with specific steps or transactions, feel free to ask!

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author