How To Fix AUT112 - Program cannot be started; locked by &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AUT - Messages for Enhancement for Audit Trails

  • Message number: 112

  • Message text: Program cannot be started; locked by &1

  • Show details Hide details
  • What causes this issue?

    You cannot start a preprocessing, write, delete, or reload program since
    the system is currently processing one of these programs. You cannot run
    several preprocessing, write, delete, and reload programs in parallel.

    System Response

    The system terminates processing.

    How to fix this error?

    To archive, proceed in the following sequence:
    First start the preprocessing program.
    When the preprocessing program is finished, start the write program.
    When the write program is finished you can start the delete program (you
    cannot run several delete programs in parallel).

    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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AUT112 - Program cannot be started; locked by &1 ?

    The SAP error message AUT112 indicates that a program cannot be started because it is locked by another user or process. This typically occurs when a user is already executing the program, or if the program is locked due to a previous session that did not close properly.

    Cause:

    1. User Lock: Another user is currently executing the program.
    2. Session Lock: The program was not properly terminated in a previous session, leaving it in a locked state.
    3. System Lock: The program might be locked due to system-level restrictions or configurations.

    Solution:

    1. Check Active Sessions:

      • Use transaction code SM04 to check for active user sessions. Look for the user who is currently executing the program and coordinate with them to either finish or terminate their session.
    2. Unlock the Program:

      • If you have the necessary authorizations, you can unlock the program using transaction code SM12. Here, you can find the lock entries and delete the relevant lock entry associated with the program.
    3. Restart the Program:

      • After ensuring that the program is unlocked, try to restart the program.
    4. Contact Basis Team:

      • If you are unable to resolve the issue, contact your SAP Basis team. They can help investigate further and may need to check for any system-level locks or issues.
    5. Check for Background Jobs:

      • Sometimes, background jobs may also lock programs. Use transaction code SM37 to check for any background jobs that might be running the program.

    Related Information:

    • Transaction Codes:
      • SM04: User Overview
      • SM12: Lock Entries
      • SM37: Job Monitoring
    • User Authorizations: Ensure that you have the necessary authorizations to view and delete lock entries.
    • Documentation: Refer to SAP Help documentation for more details on handling locks and sessions.

    By following these steps, you should be able to resolve the AUT112 error and successfully start the program.

    • 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:
  • AUT111 Period is invalid
    What causes this issue? You have entered an invalid end date for archiving. The end date of the archiving period must be in the past.System Response ...

  • AUT110 &1 successfully completed
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • AUT113 Error copying data
    What causes this issue? An error occurred when copying the data.System Response The system terminates processing.How to fix this error? Contact you...

  • AUT114 Data exists from a non-archived preprocessing program
    What causes this issue? Unarchived data from a preprocessing program exists in the system.System Response The program cannot be restarted until this...

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