Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

setting password to view source code.,,

Former Member
1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
819

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

6 REPLIES 6
Read only

Former Member
0 Likes
819

Hi Joseph,

You can't. You can only set the editor lock to prevent other users to change your code.

Regards,

John.

Read only

Former Member
0 Likes
819

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

Read only

Former Member
0 Likes
819

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

Read only

Former Member
0 Likes
820

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

Read only

Former Member
0 Likes
819

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.