02-18-2008 6:04 AM
Hi All,
Is there any way by which I can unlock the editor, locked by other user in SE38 program.
Thanks
Vijay.
02-18-2008 6:05 AM
go to transaction SM04........close the session of the other user.....
02-18-2008 6:13 AM
Hi all,
I think my question was not clear last time ..
I want to unlock the editor (SE38) which is locked by other by the EDITOR LOCK check box.
Thanks
vijay
02-18-2008 6:22 AM
Just execute this program with lock as SPACE (unchecked) to unlock
LOCK with 'X'(check) to lock
TABLES: trdir. "System table TRDIR
PARAMETERS: program LIKE trdir-name.
PARAMETERS: lock LIKE trdir-edtx.
SELECT SINGLE * FROM trdir WHERE name = program.
trdir-edtx = lock.
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.
Regards
Gopi
02-18-2008 6:30 AM
02-18-2008 8:08 AM
goto sm12
and unlock the lock...
simple ..
it is the transaction used to unlock any program.
01-12-2024 11:05 AM
10-21-2013 7:33 AM
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!!
10-21-2013 8:06 AM
HI,
SM12 is the transaction you can use to remove the lock.
Regards,
Deepti
10-21-2013 9:25 AM
Hi Deepti,
Editor lock on a program will not give you any lock entries in SM12. So this can not be done from SM12.
10-21-2013 10:15 AM
Hi,
for this issue you don't use transaction SM12.
You could ask to this developer to modify the flag editor lock.
If this is not possible, you could modify this value into table TRDIR how as mentioned previously by other guys.
Cheers
Ivan
10-27-2013 11:56 PM
Hi Vijay, all,
I think the easiest way is changing the program responsible to yourself (through SE03). It should allow you to edit after that.
Cheers
Marco