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 use 'S_PROGRAM' and 'S_DEVELOP' authorization objects?

Former Member
0 Kudos

Hi Experts,

I am unable to understand how to implement the authorization checks on 'S_PROGRAM' and 'S_DEVELOP' objects.

I read that we need to use the report 'RSCSAUTH ' to assign a program to an authorization group . Will doing this implements these checks?

It will be very helpful if an example is provided on this.

2 REPLIES 2

Former Member
0 Kudos

where ???? = 'Developer name'.

declared in su21,sy22,su23

  • Checkign Authorization

AUTHORITY-CHECK OBJECT 'S_DEVELOP'

ID 'TCD' FIELD '????'.

IF sy-subrc <> 0.

MESSAGE e544.

ENDIF.

where ???? = 'Program Name'. declare in se38 pgm attributes autorization group

  • Checkign Authorization

AUTHORITY-CHECK OBJECT 'S_PROGRAM'

ID 'TCD' FIELD '????'.

IF sy-subrc <> 0.

MESSAGE e544.

ENDIF.

where ???? = T-code. declare this is se93 assign authorization group

  • Checkign Authorization

AUTHORITY-CHECK OBJECT 'S_TCODE'

ID 'TCD' FIELD '????'.

IF sy-subrc <> 0.

MESSAGE e544.

ENDIF.

Regards,

Prabhudas

former_member156446
Active Contributor
0 Kudos

check this :