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

Close

How To Fix WGDS_PROCESS660 - Order &1 is locked and cannot be processed


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WGDS_PROCESS - Global data synchronisation

  • Message number: 660

  • Message text: Order &1 is locked and cannot be processed

  • Show details Hide details
  • What causes this issue?

    The order has been locked by another process.

    System Response

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

    How to fix this error?

    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 WGDS_PROCESS660 - Order &1 is locked and cannot be processed ?

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


    SAP Error Message:

    WGDS_PROCESS660 Order &1 is locked and cannot be processed


    Cause:

    This error occurs because the production order (or process order) identified by the order number (&1) is currently locked in the system. Locking happens to prevent simultaneous changes or processing by multiple users or processes, ensuring data consistency and integrity.

    Common reasons for the lock include:

    • Another user or process is currently editing or processing the order.
    • A background job or batch process is running that involves the order.
    • The order is locked due to an incomplete or interrupted transaction.
    • System or application locks that have not been released properly.

    Solution:

    To resolve this error, you need to identify and remove the lock on the order:

    1. Check who holds the lock:

      • Use transaction SM12 (Lock Entries) to find the lock entries related to the order number.
      • Enter the order number or relevant object name (e.g., order number in the "Object" or "User name" fields) to filter the locks.
    2. Analyze the lock entry:

      • Identify the user or process holding the lock.
      • If the lock is held by a user who is actively working, coordinate with them to finish or release the lock.
    3. Release the lock:

      • If the lock is stale (e.g., user has logged off or the process is stuck), you can delete the lock entry in SM12.
      • Be cautious when deleting locks to avoid data inconsistencies.
    4. Check for background jobs:

      • Use transaction SM37 to check if any background jobs are running that might be locking the order.
      • Wait for the job to complete or cancel it if appropriate.
    5. Retry the operation:

      • After the lock is released, retry the processing of the order.

    Related Information:

    • Transaction SM12: Display and delete lock entries.
    • Transaction SM37: Monitor background jobs that might lock objects.
    • Order processing transactions: Such as CO02 (Change Production Order), MF50 (Planning Table), or others depending on your process.
    • Lock objects: SAP uses lock objects to manage concurrency. For production orders, the lock object might be AUF (Order).

    Summary:

    • Cause: The order is locked by another user/process to prevent concurrent changes.
    • Solution: Identify and remove the lock using SM12, coordinate with users or wait for background jobs to finish.
    • Precaution: Always ensure that deleting locks does not cause data inconsistencies.

    If you need further assistance, please provide the order number and the context in which the error occurs (transaction, process step).

    • 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