on 12-10-2008 12:49 PM
Hi there,
Our functionals are trying to modify a program, but the system are returning the following message:
"Changes to object are forbidden by userId"
But, this program was brought from other landscape, so it was never modified in this landscape...
I looked for modifiable request, but it does not exists in the system.
Anybody knows how to unlock it?
Thanks in advance,
Dany Anderson
Hi Dany,
Run the below sample code.
Give the program name as input and execute it.
This will allow you to edit the program.
REPORT ZEDITOR .
TABLES: TRDIR.
PARAMETERS: PROGRAM LIKE TRDIR-NAME OBLIGATORY.
PARAMETERS: EDITOR LIKE TRDIR-EDTX.
SELECT SINGLE * FROM TRDIR WHERE NAME = PROGRAM.
TRDIR-EDTX = EDITOR.
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.
Thanks & Regards....
Sudheer.
Edited by: sudheer chowdhary on Dec 10, 2008 6:37 PM
Edited by: sudheer chowdhary on Dec 10, 2008 6:39 PM
Edited by: sudheer chowdhary on Dec 10, 2008 6:39 PM
Edited by: sudheer chowdhary on Dec 10, 2008 6:40 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.