Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Protect Code / Deny Access


I would like to know how to protect code or db contents

For example, if I have a report starting with:

IF sy-uname <> 'ALPHA'.



  • rest of the program

I have that this program can be executed only from ALPHA user; but if another person start SE38 and modifies the report

every user can use the report, so how can I protect the code itself? Is there a way for example to allow only the creator of the report to change it?

In similar way, suppose the name of the user that can access the report are stored in a db: I want that the access to the database table containing the name of the user to be restricted.

How can I do it?

Former Member
Former Member replied


while giving the attributes to your Program, like

Short description ect... you can find an option called editor lock, If you check that, no one, other than you can edit that program. Remember you need to give this editor lock to include programs also.

One more way is you can create an Authorization Group. So that no one else could execute or edit your program.

Report RSCSAUTH can also be used to assign programs to

authorization groups. This report is documented in detail.

Edited by: Saravanan Rajan on Sep 26, 2008 10:29 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question