‎2008 Dec 16 9:11 AM
Hello Friends,
I have to fetch users who have access to critical tcodes. For this i have to check Tcode, authorization object and Authorization field value.
Can any body let me know how to fetch USER name ? That means i have to show username, tcode, Authorization field value in the output.
Thanks in Advance
Ajay
‎2008 Dec 16 9:13 AM
‎2008 Dec 16 9:20 AM
hi,
use these tables.
TOBJ
USR04
USR10
USR12.
also check this report RSUSR002.
‎2008 Dec 16 9:20 AM
hi
refer
http://help.sap.com/saphelp_nw70/helpdata/en/52/67129f439b11d1896f0000e8322d00/content.htm
this would definitely help u .
‎2008 Dec 16 9:24 AM
‎2008 Dec 16 9:24 AM
UST04----user master.
fetch the auth profile from UST04 by passing the username...
ust12--User master: Authorizations..
pass the autho profile value to OBJCT of usr12 and get all details there......
‎2008 Dec 16 9:36 AM
Hello Palani,
OBJCT is different and Profile is different. Please suggest me like this, explaining the process clearly.
‎2008 Dec 16 9:46 AM
sorry
UST04----user master.
fetch the auth profile from UST04 by passing the username...
UST10S -
> User master: Single profiles
pass the autho profile value to PROFN of usr12 and get
OBJCT Authorization Object
AUTH Authorization name in user master maintenance
USR12------>USER AUTHO
pass OBJCT Authorization Object
AUTH Authorization name in user master maintenance and get details
Edited by: shan palani on Dec 16, 2008 3:17 PM
‎2008 Dec 16 10:29 AM
Thanks for all the replies.
Still problem is not solved
Thanks,
Ajay
‎2008 Dec 16 10:44 AM
I m using fetching profile and based on that i m taking Username from UST04. But i found the same profile assigned to number of users.
what is the solution for this.
Thanks in advance
Ajay
‎2008 Dec 16 10:47 AM
Hi Dear,
Check BAPI_USER_GET_DETAIL for User Name.
Regards,
Piyush
‎2008 Dec 16 10:53 AM
Hi,
This FM may not work for me.
What i need is i have Authorization obect and Authorization field value and Tcode on selection screen.
Based on these three program has to look for user name . My problem is how to fetch the user name.
Please suggest
Regards,
Ajay