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 for t-code

Former Member
0 Likes
662

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
594

Hi Pankaj,

You can make use of EVENT number 25 in TMG i.e individual autherization check.

Regards

Pravin

3 REPLIES 3
Read only

Former Member
0 Likes
594

Hi,

In SE93 you'll find "Authorization object" .. give object to your Tcode.

Regards,

Srini.

Read only

Former Member
0 Likes
595

Hi Pankaj,

You can make use of EVENT number 25 in TMG i.e individual autherization check.

Regards

Pravin

Read only

Former Member
0 Likes
594

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