Skip to Content
author's profile photo Former Member
Former Member

Editor lock

Hi

I have following problem. Two months ago one user created report and set editor

lock. Then that user was expired and now nobody can remove that lock.

How to remove editor lock without direct updating TRDIR table?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2008 at 12:52 PM

    no other way than directly updating TRDIR.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 21, 2008 at 12:54 PM

    sorry ignore.

    Edited by: Amit Gujargoud on Oct 21, 2008 2:54 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2008 at 12:55 PM

    Hi Marat,

    There is a solution to open the lock i have seen this program in some website. I have never used it as i have not got the requirement to test this please do try the code that i have shown and revert back the result have you succeed or not.

    REPORT sy-repid.

    TABLES: TRDIR.

    PARAMETERS: P_PROG LIKE TRDIR-NAME OBLIGATORY.

    START-OF-SELECTION.

    SELECT SINGLE * FROM TRDIR WHERE NAME = P_PROG.

    IF SY-SUBRC = 0.

    IF TRDIR-EDTX = 'X'.

    MOVE ' ' TO TRDIR-EDTX.

    MODIFY TRDIR.

    WRITE: /'Editor Lock was removed from', P_PROG.

    ELSE.

    WRITE: /'Program', P_PROG, 'does not have an Editor Lock'.

    ENDIF.

    ELSE.

    WRITE: /'No match found for program', P_PROG.

    ENDIF.

    Cheers!!

    Balu

    Edited by: Balu CH on Oct 21, 2008 6:26 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2008 at 12:56 PM

    Ask your security to re-create the user ID or for a special moment let you logon with that other locked user ID to unlock the editor.

    Cheers,

    Julius

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 21, 2008 at 12:57 PM

    If not yet transported you may just copy the programme...

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 21, 2008 at 01:03 PM

    This is one case where you can update the table directly. You should use the code supplied with note 37900, or create a user with the id that was used to lock the program.

    I suggest you also develop a program that checks of editor locks. Anyone who sets one get's one warning to never do it again. After that, they're simply removed from site.

    matt.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2008 at 01:04 PM

    Hi Marat,

    I am waiting for the result whether you have opened your program lock or not so that we can estimate the code importance.

    Cheers!!

    Balu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.