Unlock Editor Lock

How do I remove an editor lock from a program?

The editor lock functionality is there for a reason, but I understand if you need to remove the lock, say a consultant has set it, and left to go to another project, and now you need to change the program.  This is valid.  Of course the right way to set it off, would be to create the user id who locked it, sign on as that user, and switch it off. 
If you want another way to do it, I can not tell you that directly in good conscious, but here is a link which will tell you how to do it. 
http://abaplovers.blogspot.com/2008/06/sap-abap-program-editor-lockunlock.html
Regards,
Rich Heilman

Similar Messages

  • How to unlock the Editor Lock?

    Hi All,
      Can anyone tell how to unlock Editor Lock?
      Thanks in advance.
    Regards
    Mohammad.

    Hi Mohammad,
    Please check this sample program.
    REPORT ZEDITOR.
    TABLES: TRDIR. "System table TRDIR
    PARAMETERS: PROGRAM LIKE TRDIR-NAME.
    PARAMETERS: EDITOR  LIKE TRDIR-EDTX.
    SELECT SINGLE * FROM TRDIR WHERE NAME = PROGRAM.
    TRDIR-EDTX = EDITOR.
    MODIFY TRDIR.
    IF SY-SUBRC EQ 0.
       WRITE: / 'Editor Lock update Successful ', TRDIR-NAME.
       IF TRDIR-EDTX = 'X'.
          WRITE: ' Lock'.
       ELSE.
          WRITE: ' UnLock'.
       ENDIF.
    ELSE.
       WRITE: / 'Editor Lock update Unsuccessful ', TRDIR-NAME.
    ENDIF.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Unlock program which locked by Editor lock

    Hi, Experts,
    I need a small favour from you. There is a program created by a user and locked using editor lock in se38 attribute. Now that user is not active in system. How can I unlock that program using another user.
    Regards
    Rajiv singh.

    hi rajiv,
    Go to SM12 and execute
    select the lock entry and UInlock the entry(delete lock entry for that).
    if helpful reward some points.
    with regards,
    suresh babu aluri.

  • JDeveloper EJB Class Editor lock

    I created an EJB using JDev and used the EJB class editor to build the fields/methods in the bean.
    After working on the EJB for quite a while I reopened the EJB Class editor and found a blue error at the bottom of the window stating :
    Editor locked : file is read only.
    I have tried almost everything to unlock the editor but I have had no success.None of the files in project is read-only.
    If you have experinced this problem please respond!
    Regards
    LeRoux

    Hi,
    Go to se38.
    In the menubar..
    Goto-->attributes.
    In that u can see on the bottom of the popup, a check box with editor lock.
    U check that box.
    Then the program cannot be edited by any other user other than the one who has created.
    In this case the username has to be unique.
    If one user is used by many number of people, then all the people who are using that user can edit the program.
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • Whenever I create a program or Include the editor lock gets checked.

    DO you know why this would get automatically set everytiem I create a program?  I have to manually go in and uncheck it/
    Thanks

    Hi
    Please FInd the Code Below
    TABLES: TRDIR.
    PARAMETERS: PROGRAM LIKE TRDIR-NAME OBLIGATORY.
    PARAMETERS: EDITOR  LIKE TRDIR-EDTX.
    SELECT SINGLE * FROM TRDIR WHERE NAME = PROGRAM.
    TRDIR-EDTX = EDITOR.
    MODIFY TRDIR.
    IF SY-SUBRC EQ 0.
       WRITE: / 'Editor Lock update Successful ', TRDIR-NAME.
       IF TRDIR-EDTX = 'X'.
          WRITE: ' Lock'.
       ELSE.
          WRITE: ' UnLock'.
       ENDIF.
    ELSE.
       WRITE: / 'Editor Lock update Unsuccessful ', TRDIR-NAME.
    ENDIF.
    Thanks
    kalyan

  • Message editor lock?

    Hi All,
    How to unlock a message editor lock?
    I am facing issue in unlock the editor...
    Thanks
    Deno

    Hi Guys,
    Looks like nobody understood my question.
    I am in message editor and saved the message after editing. and came out without logoff.
    Looks like when I resend, or open the message again, i am getting message locked message and when I try to cancel the message, even then the same message "message editor is locked". Now, that the message is EOIO, I am not able to send another message from the sender system without cancelling this message. thats the issue.
    So, I think there is a program to cancel these messages or something. what is the program and how do we give parameters to cancel. And will it cancel if the message is locked. These are the issue and open questions to you all.  Please advise
    Thanks
    Deno

  • Editor lock se38

    Hi All,
    Is there any way by which I can unlock the editor, locked by other user in SE38 program.
    Thanks
    Vijay.

    Hi Vijay,
    There are three methods to do the same.
    1) Programatically edit the entry in table TRDIR for the report which is locked for the field EDTX for editor lock (already mentioned above by Gopi Narendra).
    2) You can try editing the entry in TRDIR directly from SE11 (the normal method abapers use to edit an entry in a table using debugger session).
    3) If even while following the 2nd approach ultimately you are unable to edit the entry in the table (which happened in my case) due to some restrictions, go to table TADIR and there edit the entry for the concerned report program (OBJ_NAME) and change the field AUTHOR value to your own user ID. Now go to se38 and remove the editor lock from the attributes tab for the program.
    Please reward points if you found this usefull!!

  • Can't unlock the lock on Time Machine

    I Can't unlock the lock on Time Machine, Security, Accounts, or Startup Disk prefPanes?
    This occured after the last update to OS 10.6.8. Repaired the disk Permitions.The problem remains.......
    Does anyone know how to solve the problem?
    I

    I Can't unlock the lock on Time Machine, Security, Accounts, or Startup Disk prefPanes?
    This occured after the last update to OS 10.6.8. Repaired the disk Permitions.The problem remains.......
    Does anyone know how to solve the problem?
    I

  • How to Unlock a Locked Recoed for Infotype 2010..

    Dear Expert,
    How can I unlock a locked record from Infotype 2010. When I am using BDC how should I decide which record to select in PA30 once I have passed the date and Employee Number details on the screen.
    If on the same date if there are more than one record and if the first one is not locked then the BDC is locking them insted of unlocking it.
    Is there any function module which can help me. The Code I have used is as below.
    The field SPRPS is coming during recording but bdc gives error stating this field is not there on the screen so could not use this one as well..
    IF T_REPORT-INFOTYPE = '2010'.
              PERFORM BDC_DYNPRO USING 'SAPMP50A' '1000'.
              PERFORM BDC_FIELD  USING 'BDC_OKCODE' '=LIST'.
              PERFORM BDC_FIELD  USING 'RP50G-PERNR' T_REPORT-PERNR.
              PERFORM BDC_FIELD  USING 'RP50G-TIMR6' 'X'.
              PERFORM BDC_FIELD  USING 'RP50G-BEGDA' TEMP_BEGDA.
              PERFORM BDC_FIELD  USING 'RP50G-ENDDA' TEMP_BEGDA.
              PERFORM BDC_FIELD  USING 'RP50G-CHOIC' '2010'.
              PERFORM BDC_FIELD  USING 'RP50G-SUBTY' T_REPORT-LGART.
             PERFORM BDC_FIELD  USING 'P50G-SPRPS' 'X'.
              PERFORM BDC_DYNPRO USING 'MP200000' '3450'.
              PERFORM BDC_FIELD  USING 'BDC_CURSOR' 'P2010-BEGDA(01)'.
              PERFORM BDC_FIELD  USING 'BDC_OKCODE' '=EDQ'.
              PERFORM BDC_FIELD  USING 'RP50M-BEGDA' TEMP_BEGDA.
              PERFORM BDC_FIELD  USING 'RP50M-ENDDA' TEMP_BEGDA.
              PERFORM BDC_FIELD  USING 'RP50M-PAGEA' ' 1'.
              PERFORM BDC_FIELD  USING 'RP50M-SELE2(01)' 'X'.
              PERFORM BDC_DYNPRO USING 'MP200000' '2450'.
              PERFORM BDC_FIELD  USING 'BDC_OKCODE' '/00'.
              PERFORM BDC_DYNPRO USING 'MP200000' '2450'.
              PERFORM BDC_FIELD  USING 'BDC_CURSOR' 'P2010-LGART'.
              PERFORM BDC_FIELD  USING 'BDC_OKCODE' 'UPD'.
    Unlock the Details to the R/3 using Tcode PA30.
              CALL TRANSACTION 'PA30' USING BDCDATA MODE 'P' MESSAGES INTO MESSTAB.
    Regards,
    Vidya..

    first of all, use a BAPI instead of BDC.. HR_MAINTAIN_MASTERDATA
    you may have to do some up-front logic to determine which records to unlock, if necessary.
    EDIT: that is a FM, not BAPI.
    Edited by: robert phelan on Mar 16, 2009 8:57 PM

  • Plug_in:how to unlock a locked document use acrobat API

    how to unlock a locked document use acrobat API.in acrobat plug_in

    how to unlock a locked document use acrobat API.in acrobat plug_in(Which API can enter a password to unlock the locked document)

  • How to unlock a locked ipad It is locked and now i can not unlock it, the screen is not responding to my sliding the arrow to unlock. can someone suggest what should i do?

    How to unlock a locked ipad It is locked and now i can not unlock it, the screen is not responding to my sliding the arrow to unlock. can someone suggest what should i do?

    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup).
    If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present.
    You may have to force iPad/iPod into Recovery Mode
    http://support.apple.com/kb/ht4097

  • How to removed Editor Lock from an ABAP program

    Hello, I would like to know how to remove an editor lock from an ABAP  program that someone placed?   The person who placed the lock is no longer active in the system.   When I try to remove the lock, I get the message that the person placed the lock can remove it.  Looks like only that person can remove the lock.  Is there a way around this?  Reactivating his id is not an option, in our case.

    Hi,
    I'm able to see the program in table TRDIR, but not able to edit it.
    I have find one more table where we can edit is "PROGDIR"
    Goto table " PROGDIR"
    give the program name and execute
    select the program and choose edit button
    and remove "X" from the field "EDTX" to remove the lock for the program.
    Regards,
    Vaira.

  • How can i unlock county lock in my apple i phone?

    how can i unlock county lock in my apple i phone?

    Only the wireless carrier to which the iPhone is locked can
    unlock it. Contact them to see if they offer unlocking and if
    you qualify.
    Remember warranty is valid only in country of original purchase.

  • "Cannot unlock all locks for owner" error

    During a NW 7.01 central instance portal install, we're receiving the following error during the "Starting Java Engine" step:
    1.#3A1947C8A10200000000000D000840E400049D720C669A2D#1299013066725#com.sap.engine.core.locking.AbstractLockingManagerImpl##com.sap.engine.core.locking.AbstractLockingManagerImpl.unlockAllGeneric(owner, asyn
    chronous)#######Thread[Thread-1,5,main]##0#0#Error#1#/System/Server#Plain###Cannot unlock all locks for owner ********************************************.....512790150; internal error (returncode = 8).#
    #1.#3A1947C8A10200000000000E000840E400049D720C66A01A#1299013066727#com.sap.engine.core.locking.AbstractLockingManagerImpl##com.sap.engine.core.locking.AbstractLockingManagerImpl.unlockAllGeneric(owner, asyn
    chronous)#######Thread[Thread-1,5,main]##0#0#Error##Plain###com.sap.engine.frame.core.locking.TechnicalLockException: Cannot unlock all locks for owner ********************************************.....512790
    150; internal error (returncode = 8).#
    #1.#3A1947C8A10200000000000F000840E400049D720C66A1B5#1299013066727#com.sap.engine.core.locking.AbstractLockingManagerImpl##com.sap.engine.core.locking.AbstractLockingManagerImpl.unlockAllGeneric(owner, asyn
    chronous)#######Thread[Thread-1,5,main]##0#0#Error##Plain###com.sap.engine.frame.core.locking.TechnicalLockException: Cannot unlock all locks for owner ********************************************.....512790
    150; internal error (returncode = 8).
            at com.sap.engine.core.locking.impl3.LockingManagerImpl.unlockAllInternal(LockingManagerImpl.java:441)
            at com.sap.engine.core.locking.AbstractLockingManagerImpl.unlockAllGeneric(AbstractLockingManagerImpl.java:651)
            at com.sap.engine.core.locking.AbstractLockingManagerImpl.removeAllLocksForClusterId(AbstractLockingManagerImpl.java:965)
            at com.sap.engine.core.locking.AbstractLockingManagerImpl.init(AbstractLockingManagerImpl.java:183)
            at com.sap.engine.core.Framework.loadSingleManager(Framework.java:577)
            at com.sap.engine.core.Framework.loadManagers(Framework.java:255)
            at com.sap.engine.core.Framework.start(Framework.java:189)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.boot.FrameThread.run(FrameThread.java:61)
            at java.lang.Thread.run(Thread.java:770)
    Caused by: java.lang.Exception: class com.sap.bc.krn.enqu.EnquServerException reported: SERVER ERROR:
            Code...: 8
            Name...: ENQ_ERROR
            Text...: internal error, see log for details
            at com.sap.engine.core.locking.impl3.LockingManagerImpl.transformToExceptionForApplication(LockingManagerImpl.java:697)
            at com.sap.engine.core.locking.impl3.LockingManagerImpl.unlockAllInternal(LockingManagerImpl.java:440)
            ... 13 more
    #1.#3A1947C8A102000000000017000840E400049D720C7F88F1#1299013068359#com.sap.engine.core.locking.AbstractLockingManagerImpl##com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(owner, name[], argument
    [], mode[], int)#######Thread[Thread-1,5,main]##0#0#Error#1#/System/Server#Plain###Cannot lock at least one of the 1 locks for the owner 2011030114574739900000doasbx.....................512790150; internal e
    rror (returncode = 8).#
    #1.#3A1947C8A102000000000018000840E400049D720C7F8B02#1299013068360#com.sap.engine.core.locking.AbstractLockingManagerImpl##com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(owner, name[], argument
    [], mode[], int)#######Thread[Thread-1,5,main]##0#0#Error##Plain###com.sap.engine.frame.core.locking.TechnicalLockException: Cannot lock at least one of the 1 locks for the owner 2011030114574739900000doasbx
    .....................512790150; internal error (returncode = 8).#
    #1.#3A1947C8A102000000000019000840E400049D720C7F8BF7#1299013068360#com.sap.engine.core.locking.AbstractLockingManagerImpl##com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(owner, name[], argument
    [], mode[], int)#######Thread[Thread-1,5,main]##0#0#Error##Plain###com.sap.engine.frame.core.locking.TechnicalLockException: Cannot lock at least one of the 1 locks for the owner 2011030114574739900000doasbx
    .....................512790150; internal error (returncode = 8).
            at com.sap.engine.core.locking.impl3.LockingManagerImpl.lockInternal(LockingManagerImpl.java:332)
            at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:469)
            at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:489)
            at com.sap.engine.core.locking.ServerInternalLockingImpl.lock(ServerInternalLockingImpl.java:52)
            at com.sap.engine.core.configuration.impl.ServerEnvironment.addLock(ServerEnvironment.java:373)
            at com.sap.engine.core.configuration.impl.ServerEnvironment.addLock(ServerEnvironment.java:406)
            at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.getInternalEnqueueLock(ConfigurationCache.java:505)
            at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:154)
            at com.sap.engine.core.configuration.impl.ConfigurationHandlerFactoryImpl.<init>(ConfigurationHandlerFactoryImpl.java:30)
            at com.sap.engine.core.configuration.impl0.ConfigurationManagerImpl.initInternal(ConfigurationManagerImpl.java:189)
            at com.sap.engine.core.configuration.AbstractConfigurationManagerImpl.init(AbstractConfigurationManagerImpl.java:169)
            at com.sap.engine.core.Framework.loadSingleManager(Framework.java:577)
            at com.sap.engine.core.Framework.loadManagers(Framework.java:255)
            at com.sap.engine.core.Framework.start(Framework.java:189)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.boot.FrameThread.run(FrameThread.java:61)
            at java.lang.Thread.run(Thread.java:770)
    Caused by: java.lang.Exception: class com.sap.bc.krn.enqu.EnquServerException reported: SERVER ERROR:
            Code...: 8
            Name...: ENQ_ERROR
            Text...: internal error, see log for details
            at com.sap.engine.core.locking.impl3.LockingManagerImpl.transformToExceptionForApplication(LockingManagerImpl.java:697)
            at com.sap.engine.core.locking.impl3.LockingManagerImpl.lockInternal(LockingManagerImpl.java:331)
            ... 20 more
    I've searched a lot for this error, but no working solutions could be found.

    We solved this issue.
    There were some processes still running from the initial install attempt that needed to be killed, then we were able to retry the install and it worked.  The processes were owned by <sid>adm.

  • Can I unlock the locked device which is locked by find my I phone application

    Can I unlock the locked device which locked by my I phone application?

    For the following:
    iCloud: Troubleshooting Find My iPhone, iPad, iPod touch, or Mac
    It appears that when you remote lock the iPod you also provide the passcode required t unloct the iPod.  You can can always unlock/use the devce again by placing the iPod in recovery mode and restore via iTunes.

Maybe you are looking for