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

Authorization object for programs

Former Member
0 Likes
8,867

Hi Experts,

We have authorization object S_TCODE for restriction of t-codes. Similarly, is there any authorization object for program.

One program is executed by the end user directly through SE38 t-code. People should not be authorized for that particular program. Is there any standard authorization object for program restriction?

Thanks and regards,

Venkat

1 ACCEPTED SOLUTION
Read only

alex_cook
Active Participant
0 Likes
3,692

Howdy,

The only authorization check is the following - but that will stop you from displaying the source code as well.



              authority-check object 'S_DEVELOP'
                 id 'DEVCLASS' field p_s_develop-devclass
                 id 'OBJTYPE'  field p_s_develop-objtype
                 id 'OBJNAME'  field p_s_develop-objname
                 id 'P_GROUP'  dummy
                 id 'ACTVT'    field l_develop_actvt.

Here DEVCLASS = package name,

OBJTYPE = 'PROG'

OBJNAME = program name,

ACTVT = '03'

Cheers

Alex

EDIT: I assumed you didn't want to change your program to include your own auth check. If that's what you want then use S_DEVELOP with whichever parameters you want.

Edited by: Alex Cook on Sep 23, 2010 4:50 PM

3 REPLIES 3
Read only

alex_cook
Active Participant
0 Likes
3,695

Howdy,

The only authorization check is the following - but that will stop you from displaying the source code as well.



              authority-check object 'S_DEVELOP'
                 id 'DEVCLASS' field p_s_develop-devclass
                 id 'OBJTYPE'  field p_s_develop-objtype
                 id 'OBJNAME'  field p_s_develop-objname
                 id 'P_GROUP'  dummy
                 id 'ACTVT'    field l_develop_actvt.

Here DEVCLASS = package name,

OBJTYPE = 'PROG'

OBJNAME = program name,

ACTVT = '03'

Cheers

Alex

EDIT: I assumed you didn't want to change your program to include your own auth check. If that's what you want then use S_DEVELOP with whichever parameters you want.

Edited by: Alex Cook on Sep 23, 2010 4:50 PM

Read only

uwe_schieferstein
Active Contributor
0 Likes
3,692

Hello Venkat

You may use AUTH object S_DEVELOP:


OBJNAME = <name of program>
ACTVT = 16 (Execute)

Regards

Uwe

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
3,692

check this thread :