2010 Apr 08 10:29 AM
Hi,
Is there a Function Module which takes user name and tcode and gives back the result whether the user is authorized to access the tcode.
Regards,
Wasif.
2010 Apr 08 10:36 AM
Hi,
There may be a function module, but you can also do this in regular ABAP;
AUTHORITY-CHECK OBJECT 'S_TCODE' FOR USER wa_uname
ID 'TCD' FIELD wa_tcode.
Where wa_uname is the user name and wa_tcode is the transaction code.
Regards,
Nick
Hi,
Is there a Function Module which takes user name and tcode and gives back the result whether the user is authorized to access the tcode.
Regards,
Wasif.
2010 Apr 08 10:36 AM
Hi,
There may be a function module, but you can also do this in regular ABAP;
AUTHORITY-CHECK OBJECT 'S_TCODE' FOR USER wa_uname
ID 'TCD' FIELD wa_tcode.
Where wa_uname is the user name and wa_tcode is the transaction code.
Regards,
Nick
2010 Apr 08 10:39 AM
there is a function AUTHORITY_CHECK_TCODE but it runs for current user only.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |