‎2006 Mar 27 9:44 AM
How can I set password to restrict users from accessing or viewing my code..
‎2006 Mar 27 9:56 AM
hi,
<a href="http://www.sapgenie.com/abap/code/abap43.htm">http://www.sapgenie.com/abap/code/abap43.htm</a>
hope this link is helpful...
regards,
chithra
‎2006 Mar 27 9:46 AM
‎2006 Mar 27 9:46 AM
Hi Joseph,
You can't. You can only set the editor lock to prevent other users to change your code.
Regards,
John.
‎2006 Mar 27 9:50 AM
Hi
You can't do it.
If a user have the authorizations to see abap code, it can see all program.
If a user is a developer user it can update all program.
You can insert a lock in your programs, in this way only your user'll be able to update them.
Max
‎2006 Mar 27 9:55 AM
Hi joseph,
have a look at this link..
has a code to achieve similar functionality..
<a href="http://searchsap.techtarget.com/tip/1,289483,sid21_gci541317,00.html">http://searchsap.techtarget.com/tip/1,289483,sid21_gci541317,00.html</a>
regards
satesh
‎2006 Mar 27 9:56 AM
hi,
<a href="http://www.sapgenie.com/abap/code/abap43.htm">http://www.sapgenie.com/abap/code/abap43.htm</a>
hope this link is helpful...
regards,
chithra
‎2006 Mar 27 10:22 AM
Hi joseph,
Welcome to SDN.
1. SEUED001
We can make use of this enhancement,
and the FM EXIT_SAPLS38E_001
(inside this enhancement)
2. Inside this u can
give error message so that
se38 does not proceed further
to even display the source code !
3. One can use like this :
eg.
*----
Data
DATA : terminal LIKE usr41-terminal.
DATA : BEGIN OF itab OCCURS 0,
myprog LIKE sy-repid,
END OF itab.
*----
My prog
itab-myprog = 'ZAM_TEMP174'.
APPEND itab.
itab-myprog = 'ZAM_TEMP173'.
APPEND itab.
*----
Check
CALL FUNCTION 'TERMINAL_ID_GET'
EXPORTING
USERNAME = SY-UNAME
IMPORTING
terminal = terminal
EXCEPTIONS
MULTIPLE_TERMINAL_ID = 1
NO_TERMINAL_FOUND = 2
OTHERS = 3
.
*----
Detect
LOOP AT itab.
IF program = itab-myprog.
IF terminal CS '10.101.8.101' AND operation = 'EDIT'.
MESSAGE e999(yhr) WITH 'Not Allowed'.
ENDIF.
ENDIF.
ENDLOOP.
regards,
amit m.