‎2010 May 06 6:42 AM
hi friends,
I have created parameter transaction using se93 for table display (SM30) and then created an authorization object
using t-code su21. this authorization object contain only 2 ctivities i'e change and display(02 and 03)
now i want to attach this authorization object to tis t-code.
how can i do this.
there is no report for this t-code so i cannot use authority-ceck key word in program.
kindly suggest
<removed_by_moderator>
Regards
Edited by: Bernhard Hochreiter on May 6, 2010 9:07 AM
‎2010 May 06 6:51 AM
Hi Pankaj,
You can make use of EVENT number 25 in TMG i.e individual autherization check.
Regards
Pravin
‎2010 May 06 6:49 AM
Hi,
In SE93 you'll find "Authorization object" .. give object to your Tcode.
Regards,
Srini.
‎2010 May 06 6:51 AM
Hi Pankaj,
You can make use of EVENT number 25 in TMG i.e individual autherization check.
Regards
Pravin
‎2010 May 06 7:22 AM
Pankaj,
authority-check object 'S_TCODE'
id 'TCD'
field 'SM35'.
if sy-subrc ne 0.
User does not have authority for transaction SM35!!!
endif.
or
Try FM AUTHORITY_CHECK_TCODE