08-04-2009 8:55 PM
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.
08-04-2009 9:05 PM
I don't know of any way other than re-activating the userid. Can you explain why you cannot do this?
Rob
08-04-2009 8:58 PM
Hi,
Try using t-code SM12 and give the user name and hit enter.
May be you can unlock the program.
Hope this helps you.
Regards,
Tarun
08-04-2009 9:05 PM
I don't know of any way other than re-activating the userid. Can you explain why you cannot do this?
Rob
08-04-2009 9:10 PM
I would say for unspecified reasons. It can be done, we don't want to do that.
08-04-2009 9:15 PM
Please check table TRDIR and field EDTX , If you can able to modify this field , then its possible
a®
08-04-2009 9:28 PM
We were able to take care of it by modifying the TRDIR table... Thanks for your help.
04-28-2015 1:00 PM
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.
02-11-2016 6:54 AM
It seems any operation related to updating value of table TRDIR causes runtime error in my case.
However as mentioned by Vairavel Pandi change in PROGDIR table works perfectly fine.
02-21-2013 5:40 PM
You can change the user responsible with the transaction SE03 to an active user and then the object can be edited with that user and even lock can be removed if required.
08-24-2015 1:43 PM
This is the correct way of changing it. Please do not update the database directly.
08-19-2013 7:26 PM
You can ask basis to perform the following SQL statement (this is for Oracle but can be adopted for other DB releases)
update SAP<SID>.TRDIR set EDTX = ' ' where NAME = '<PROGNAME>';
Regards,
08-08-2016 2:54 PM
Go to SE03
Under Object Directory, select 'Change Person Responsible for objects'
Enter the username and package of the user who have locked the object.
Select the locked object and double click
Enter a new user that will be able to edit the object.
And you are done.
If you want to remove the lock completly, go the object attributes and remove the lock.
02-12-2020 4:07 AM