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

Close

How To Fix WSD_MESSAGE221 - Change of material &1 is taking too long; change scheduled in background


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WSD_MESSAGE - Message class for WSD

  • Message number: 221

  • Message text: Change of material &1 is taking too long; change scheduled in background

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WSD_MESSAGE221 - Change of material &1 is taking too long; change scheduled in background ?

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


    SAP Error Message:

    WSD_MESSAGE221: Change of material &1 is taking too long; change scheduled in background


    Cause:

    This message occurs when a material master change transaction (such as MM02 or a related material change process) is taking longer than expected to complete. SAP detects that the change operation is taking too long during the dialog processing and therefore schedules the change to be processed asynchronously in the background.

    Typical reasons include:

    • The material master change involves complex or numerous data changes.
    • The system is under heavy load or performance bottlenecks.
    • The change involves time-consuming validations or updates (e.g., batch updates, classification, long custom logic).
    • Large number of dependent objects or linked data that need to be updated.
    • Lock contention or database performance issues.

    What Happens:

    • Instead of completing the change immediately in the foreground dialog, SAP schedules the change to be processed in a background job.
    • The user is informed that the change will be processed later, and the material master data will be updated asynchronously.
    • This avoids long wait times and potential dialog timeouts.

    Solution / How to Handle:

    1. Check Background Job:

      • The system creates a background job to process the material change.
      • Use transaction SM37 to monitor the background job status.
      • Ensure the job runs successfully and completes the material change.
    2. Performance Analysis:

      • Analyze why the change is taking too long.
      • Use transaction ST22 (short dumps) and SM50/SM66 (work process monitoring) to check for performance issues or errors.
      • Check database performance and locks.
    3. Optimize Material Change:

      • Reduce the amount of data changed in one go if possible.
      • Avoid unnecessary changes or split large changes into smaller steps.
      • Review custom enhancements or user exits that might be causing delays.
    4. System Resources:

      • Check system load and resource availability.
      • Coordinate with Basis team to ensure adequate system performance.
    5. SAP Notes / Support:

      • Check SAP Notes for any known issues related to material master changes taking too long.
      • Example SAP Note: Note 1234567 (hypothetical) might provide patches or recommendations.

    Related Information:

    • Transaction Codes:

      • MM02 – Change Material Master
      • SM37 – Job Monitoring
      • ST22 – Dump Analysis
      • SM50/SM66 – Work Process Overview
    • Background Processing:

      • SAP uses background jobs to handle long-running processes to improve user experience.
      • The message is informational and not an error that stops processing; it is a safeguard.
    • User Impact:

      • Users should be aware that changes may not be immediately visible.
      • Inform users to check the material master after the background job completes.

    Summary:

    The message WSD_MESSAGE221 indicates that a material master change is taking too long in the dialog and is therefore scheduled for background processing. This is a normal SAP mechanism to handle long-running changes without causing dialog timeouts. The key is to monitor the background job, analyze performance issues, and optimize the change process if needed.


    If you need help with specific logs or job monitoring, 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
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