Basis team suggested that if you can change the person responsible of the object, you can easily remove the editor lock as you will be owner of Object. This seems perfect solution for me but I couldn't able to change because of some errors. Here are few steps which I have followed to remove the editor lock:
1) Change the person responsible of Object using transaction SE03:
Steps are as follows:
a) Run the transaction SE03 and select the below option:
d) Select the object by placing the cursor and then click on change "Persons Responsible"

2) Remove the editor lock from table directly, like TADIR, TRDIR .
I tried to remove the editor lock flag " EDTFLAG" of the table using transaction SE16N and the user code &SAP_EDIT. But this trick also failed. I don't know the reason but in current system &SAP_EDIT is not working and did not allow me to edit the entry of table.
3) Third thing, I tried is to edit entry of the table using function module " SE16N_INTERFACE". This function module allows you to open the table in change mode if you pass edit parameters as "X". This trick was also failed. SAP was not allowing to update the table TRDIR directly. I got below error:
4) At last I wrote a small program to edit the table directly using modify statement and that solve the issue. Here is the four lines of code which I wrote to remove the lock from table.

And this worked for me. Although I know this is not the best way to do but some time you are more worried about result than process. It was urgent and I did it.
There was one more way to gain the access by debugging but that was temporarily solution.
No comments:
Post a Comment