cancel
Showing results for 
Search instead for 
Did you mean: 

Changes to objects are forbidden

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi sudheer,

Thanks for your answer.

My problem was solved.

Thanks again,

Dany Anderson

Answers (0)