‎2006 Aug 24 8:20 PM
Hi all,
i need to modify a program which is locked by editor .
is there any way to change that program?
thanks.
‎2006 Aug 24 8:22 PM
‎2006 Aug 24 8:26 PM
Just don't tell your auditors that you did either one of Rich's ideas... tell them that you contacted the developer that applied the lock and he/she logged in and removed it themselves.
‎2006 Aug 24 8:41 PM
Hello Priya
An alternative to violating common security rules is the following program:
START-OF-SELECTION.
SELECT SINGLE * FROM trdir INTO gs_trdir
WHERE name = p_name
AND edtx = 'X'.
CHECK ( syst-subrc = 0 ).
gs_trdir-edtx = ' '. " remove editor lock
CALL FUNCTION 'RS_TRDIR_UPDATE'
EXPORTING
trdir_row = gs_trdir
EXCEPTIONS
internal_error = 1
parameter_error = 2
not_found = 3
OTHERS = 4.
IF sy-subrc <> 0.
ROLLBACK WORK.
ELSE.
COMMIT WORK AND WAIT.
ENDIF.
END-OF-SELECTION.Regards
Uwe
‎2006 Aug 24 9:49 PM
Hello Priya
Another simple approach is to debug the attributes popup when you want to change from display mode to change mode. You will pass a function module RS_ACCESS_PERMISSION where you simply have to reset the sy-subrc. Usually within less than 1 minute the attribute will become editable on the popup.
Regards
Uwe
‎2006 Nov 17 9:56 AM
Or you can just go to transaction SM12
It is the table of the objects that are locked
You can just delete the lock there