on 01-04-2006 6:44 AM
Hi,
Do we have any Function module (Or any way) to check perticulat user has authorization to perticular transaction..??
I mean, I have user called 'ABC' ... I need to check he has authorization to 'MM01' transaction... like this I need to check for several users...
Regards,
Rays
Use this one!
AUTHORITY_CHECK
CALL FUNCTION 'AUTHORITY_CHECK'
EXPORTING
USER = user_name
object = 'S_TCODE'
field1 = 'TCD'
VALUE1 = 'MM01'
EXCEPTIONS
USER_DONT_EXIST = 1
USER_IS_AUTHORIZED = 2
USER_NOT_AUTHORIZED = 3
USER_IS_LOCKED = 4
OTHERS = 5
.
Thanks not forgetting the reward!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Pass that TCODE as a object in AUTHORITY-CHECK.
It will do the validation for user name with TCODE.
Best regards,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Goto transaction SUIM.
There is a hierarchy tree select the User option and give the user name. You will get the list of transactions he is authorised to execute.
Hope it helps...
Lokesh
Pls. reward appropriate points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks..Yes you are in my way..
We can get list of transactions of 'ABC' user has authorization using TCode: S_BCE_68001426
We can get list of Users has authorization for the perticular transaction using TCode: S_BCE_68001398
But problem here is S_BCE_68001398 wont check user has start authorization for that Tcode.
<b>I need FM(or any way) to check perticulat user has authorization to tcode.</b>
I have user name and Tcode... I need to check he has authorization to that tcode...
Regards
Rayudu
Hi,
You need to create a authorization object ( EG. Z_CHECK_PLANTS ).
AUTHORITY-CHECK OBJECT 'Z_CHECK_PLANTS'
ID 'PLANT' FIELD WA_INPUT-WERKS.
SY-SUBRC NE 0 -- AUTHORIZATION FAILED ( NO ACCESS TO USER )
Best regards,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try with the FM RKE_CHECK_AUTHORITY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
run the transaction se97 to know the authorizations for a user.
(not in change mode) go to display mode.
thanks
vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.