How To Fix QST021 - Completion of initial test: Study & is already locked


SAP Error Message - Details

  • Message type: E = Error

  • Message class: QST - Stability Study

  • Message number: 021

  • Message text: Completion of initial test: Study & is already locked

  • Show details Hide details
  • What causes this issue?

    The initial test for the stability study should be completed using a
    follow-up action for the usage decision. The corresponding status
    should then be set in the stability study automatically.
    However, since the stability study (notification) is blocked by another
    user, the status cannot currently be set.

    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?

    Set the status "Initial Test Completed" manually using the relevant
    follow-up function in the notification for the stability study.

    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 QST021 - Completion of initial test: Study & is already locked ?

    The SAP error message QST021, which states "Completion of initial test: Study & is already locked," typically occurs in the context of Quality Management (QM) within SAP. This error indicates that the system is trying to complete an initial test for a study or inspection lot that is currently locked, preventing any changes or updates.

    Cause:

    1. Locked Study/Inspection Lot: The study or inspection lot you are trying to complete is already locked by another user or process. This could happen if another user is currently working on it or if it was locked due to a previous transaction that did not complete successfully.
    2. User Authorization: The user may not have the necessary permissions to unlock or complete the test.
    3. System Configuration: There may be configuration settings in the SAP system that enforce locking mechanisms for certain processes.

    Solution:

    1. Check Lock Status: Use transaction code SM12 to check for locks on the study or inspection lot. You can identify the user or process that has locked the object.
    2. Unlock the Study/Inspection Lot: If you have the necessary permissions, you can unlock the study or inspection lot from the SM12 transaction. Be cautious when doing this, as it may affect other users.
    3. Wait for Release: If another user is working on the study, it may be best to wait until they have completed their work and released the lock.
    4. Review User Permissions: Ensure that your user account has the appropriate permissions to perform the action you are attempting.
    5. Check for Background Jobs: Sometimes, background jobs may lock objects. Check transaction SM37 to see if there are any jobs that might be causing the lock.
    6. Consult with SAP Basis Team: If you are unable to resolve the issue, it may be necessary to consult with your SAP Basis team for further investigation.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as SM12 (to view and manage locks), SM37 (to monitor background jobs), and QA32 (to manage inspection lots).
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional troubleshooting steps.
    • Documentation: Review SAP documentation related to Quality Management and locking mechanisms to understand how they work and how to manage them effectively.

    By following these steps, you should be able to identify the cause of the QST021 error and take appropriate action to resolve it.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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