02-09-2009 4:32 PM
DO you know why this would get automatically set everytiem I create a program? I have to manually go in and uncheck it/
Thanks
02-09-2009 5:28 PM
Hi Laja,
1) check the ON indicator is stored in TRDIR table
and
2)
If you find the flag is set write a quick abap to update the flag to desired value using the update statement. Do not forget the commit statement
Hope this will be help else let me know i will try to help you
Thanks
Kalyan
02-09-2009 6:08 PM
thanks this was the issue. Do you know how these values get set in this table?
02-09-2009 5:29 PM
hi bro....
i m not very sure about this cause i was trying for the reason for the same but didnt had authorization
for the same so i couldnot find it...
but this thing is related to initail screen of SE38
there you goto SYSTEM -> USER PROFILE -> OWN DATA..
THERE YOU CAN FIND REASON FOR THIS IN FORM OF SOME PARAMETER
REGARDS
02-09-2009 5:30 PM
Hi
Please FInd the Code Below
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
kalyan