‎2007 May 19 10:47 AM
Hi,
Can anyone tell me from where do I pick the user name from.
I mean which table and which field contains the User Name.
Normally, the field with text User Name will contain the User ID such as SAPC_ABAP. I want the name not the ID.
Thanks in advance,
Ishaq.
‎2007 May 19 10:53 AM
Table USR01, USR02 and so on contains the user data.
reward points if helpful.
Regards,
Atish
‎2007 May 19 10:53 AM
Table USR01, USR02 and so on contains the user data.
reward points if helpful.
Regards,
Atish
‎2007 May 19 10:54 AM
‎2007 May 19 11:02 AM
Check this link:
First you would need to loook up person number (PERSNUMBER) via USER-ID in ADRP and then look for full name in USR21 via this person number.
So solution to your problem might look something like:
SELECT SINGLE adrp~name_text INTO name_text
FROM usr21 JOIN adrp ON usr21persnumber = adrppersnumber AND
adrp~date_from = '00010101' AND
adrp~nation = ''
WHERE usr21~bname = usnam.
Where usnam ofcourse is USER-ID for which you want to find full name.
‎2007 May 20 12:20 PM
Hi,
Use FM SWL_AGENTS_NAME_DETERMIN to get UserName by passing the User Id.
Regards,
Ramu N.
‎2007 May 20 12:30 PM
Hi Ishaq,
The table <b>USR01</b> and <b>USR02</b> holds the user information.
U can also the Tcode <b>SU01D</b> to get the detailed information of a particular user.
‎2007 May 20 1:35 PM
Use V_USR_NAME - this is database view and you will get the user id and user complete name..