‎2009 Feb 25 10:07 AM
Hi All,
I need to add the following authorization checks to my program (I have created a transaction code for my program) :
S_TCODE - SU01
S_USER_GRP - ACTVT=02
CLASS = *
I have refered the previous threads on this, but I am confused. Please Help.
Thanks,
Vishal.
Edited by: Vishal Saxena on Feb 25, 2009 3:37 PM
‎2009 Feb 25 10:10 AM
‎2009 Feb 25 10:10 AM
‎2009 Feb 25 10:12 AM
The user has not given me any more details.....
The only details I have is:
Can you please create a transaction code for this program? - DONE Also can you please add the following authorization checks to the program:
S_TCODE - SU01
S_USER_GRP - ACTVT=02
CLASS = *
‎2009 Feb 25 10:15 AM
Hi Vishal,
The i believe you should create a Z authorization object se Tcode SU21.
with the fields : TCODE, ACTVT.
and code accordingly in your program with the new Z object.
Regards,
Prakash Pandey
‎2009 Feb 25 10:19 AM
Hi ,
put this in the codes:
authority-check object 'S_TCODE'
id 'TCD'
field 'SU01'.
if sy-subrc = 0.
" authorisation to modify values
endif.
Regards.
‎2009 Feb 25 10:17 AM
Hi,
check below,
http://help.sap.com/saphelp_nw04s/helpdata/en/52/67167f439b11d1896f0000e8322d00/frameset.htm
Regards,
Madhu
‎2009 Feb 25 10:18 AM
Hi,
You can use following Function Module.
AUTHORITY_CHECKPls let me know any queries regarding this.
Thanks & Regards
Syed.
‎2009 Feb 25 10:19 AM
‎2009 Feb 25 10:26 AM