Application Development 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: 

how to stop other users to access my programs

Former Member
0 Kudos

hi

how to stop other users to stop accessing my programs ..

with regards

vinayaka

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

you can stop them by executing your program, but you cannot stop them by viewing/displaying your program.

To restrict execution,

if sy-uname <> 'YOURID'.

message e000 with 'You are not authorized to execute'.

exit.

endif.

Regards

Subramanian

8 REPLIES 8

Former Member
0 Kudos

Hi,

you can stop them by executing your program, but you cannot stop them by viewing/displaying your program.

To restrict execution,

if sy-uname <> 'YOURID'.

message e000 with 'You are not authorized to execute'.

exit.

endif.

Regards

Subramanian

Former Member
0 Kudos

This is related to authorization groups. In the attributes of the program you have a field called authorization group. If your user name has a unique auth group, then you can stop the execution by other users.

Also there is an option EDITOR LOCK. If it is checked, then the editor will be locked for modifications and you only can access it.

0 Kudos

hi

for editor lock can you give me an example..

thanks

vinayaka

0 Kudos

Hi ,

Go to Attributes , and in the bottom you find editor lock along with unicode active checks etc . U have to check the check box for Editor lock.

Message was edited by:

Azeem Mohammed

0 Kudos

Hi VINAYAKA SJ,

Editor lock can be found in program attributes. Just check the editor lock box.

Former Member
0 Kudos

Try Authorization group attribute....

sreeramkumar_madisetty
Active Contributor
0 Kudos

Hi

Set the authorizations for your program.

By creating an entry in TPGP table andf giving that entry in your program attributes you can create the Authorizations for that program.

regards,

kumar

Former Member
0 Kudos

Hi,

This can be controlled by assigning proper roles and authorizations by a Basis person.Under the roles we assign the T Codes to which we restrict the access; For exa:

If SE38 is not given in the role then that user may not have access to execute the SE38 T code;

That's way in SAP to control the users to restrict the access of DISPLAY/CHANGE/CREATE of any document or program.

Hope this helps.

regards,

Anji