Black Friday is ending this Friday! 40% off with coupon CYBER40 - Sign up here

Close

How To Fix MC604 - Own lock is no longer set for object requested


MC604 - Overview

  • Message type: E = Error

  • Message class: MC - Aggregate: views, matchcodes, lock objects

  • Message number: 604

  • Message text: Own lock is no longer set for object requested

  • Show details Hide details
  • What causes this issue?

    An exclusive lock requested by calling an ENQUEUE function module cannot
    be allowed because your own lock for the object in question no longer
    exists or is no longer complete. This error can occur, for example, when
    an optimistic lock is to be converted to an exclusive lock, but the
    optimistic lock no longer exists meanwhile. The reason for this is that
    the object in question has already been locked exclusively by another
    mode.
    Technical Information: The C_ENQUEUE routine returned the following
    values:
    COLLISION_OBJECT = &V2&
    COLLISION_UNAME = &V1&

    System Response

    The ENQUEUE function module triggers an appropriate exception. If this
    exception was not caught by the application program immediately, this
    automatically causes termination of the current SAP transaction.

    How to fix this error?

    The application program should catch this exception after the ENQUEUE
    function module has been called and react to it accordingly.

    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.


MC604 - Details

  • The SAP error message MC604 ("Own lock is no longer set for object requested") typically occurs in the context of inventory management or material management processes. This error indicates that the system is trying to access a lock on a particular object (like a material document or inventory record) that it no longer holds. This can happen for various reasons, such as timeouts, session terminations, or other processes releasing the lock.
    Causes:
    
    Session Timeout: The user session may have timed out, causing the lock to be released.
    Process Interruption: If the process that set the lock was interrupted or terminated unexpectedly, the lock would be released.
    Concurrent Access: Another user or process may have accessed the same object, causing the original lock to be released.
    Database Issues: Problems with the database or network connectivity can also lead to locks being released unexpectedly.
    
    Solutions:
    
    Retry the Operation: Often, simply retrying the operation can resolve the issue if it

    Already have an account? Login here!




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


MC604 - Related SAP Errors

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