2012 May 30 10:09 AM
Hi Experts,
Can you please suggest me, As i am searching for a standard Function Module which is Remote Enabled, which can check whether a user is
authorized to execute a particular transaction or not.
May be it seems like this ,A Function Module which accepts USERNAME and TCODE and gives output whether he
is authorized or not.
waiting for your replies.
Regards
SAM
Hi Experts,
Can you please suggest me, As i am searching for a standard Function Module which is Remote Enabled, which can check whether a user is
authorized to execute a particular transaction or not.
May be it seems like this ,A Function Module which accepts USERNAME and TCODE and gives output whether he
is authorized or not.
waiting for your replies.
Regards
SAM
2012 May 30 10:23 AM
Hi Sam,
Check this .
AUTHORITY_CHECK_TCODE
Also for your kind information
With Regards ,
Sudhir S
2012 May 30 10:26 AM
2012 May 30 10:37 AM
2012 May 30 10:52 AM
You can use AUTHORITY_CHECK for this, also RFC enabled.
CALL FUNCTION 'AUTHORITY_CHECK' "
EXPORTING
user = SY-UNAME
object = 'S_TCODE'
field1 = 'TCD'
value1 = 'MM01' " Transaction Code
EXCEPTIONS
USER_DONT_EXIST = 1 " User does not exist
USER_IS_AUTHORIZED = 2 " User is authorized
USER_NOT_AUTHORIZED = 3 " User is not authorized
USER_IS_LOCKED = 4 "
. " AUTHORITY_CHECK
Thanks,
Shambu
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |