‎2007 Jan 31 12:34 PM
Hi all,
In abap ,to get current user's Login ID we write sy-uname,is there any such parameter to get our name?
eg ' write sy-uname' : prints INF64624.
what prints Ruby chacko?
Regards,
Ruby.
‎2007 Jan 31 12:42 PM
select single name1 into v_name from USR03 where bname = sy-uname.
‎2007 Jan 31 12:42 PM
select single name1 into v_name from USR03 where bname = sy-uname.
‎2007 Jan 31 12:44 PM
hi Ruby,
there is no system field to get the user's full name.
goto se11, and see the structure SYST-> you will get the list of available system fields.
Hope this helps,
Sajan Joseph.
‎2007 Jan 31 12:46 PM
with user name go to USR21 table and get PERSNUMBER and then go to ADRP table with PERSNUMBER to get the full name.
Raja
‎2007 Jan 31 12:47 PM
‎2007 Jan 31 12:48 PM
Hi Ruby,
The ADRP table gives the First, Last, Middle names as well as the names in full of all the users.
I hope its of some help to you.
Regards,
Ganesh
‎2007 Jan 31 12:49 PM
Hi ruby,
1. There is no direct system variable which stores the full user name (first name + last name)
2. We have to fetch it either thru sql or FM.
3. we can use this FM
BAPI_USER_GET_DETAIL
4. In that
ADDRESS is one structure
with fields
FIRSTNAME, LASTNAME.
<b>
5. From that structure we can also use the field
FULLNAME</b>
regards,
amit m.
‎2007 Jan 31 12:55 PM
The id sy-uname "user id is the one configured by the basis .
//Now eg ' write sy-uname' : prints INF64624.
so the id on ur system is reffered as the same .
There is no system variable for checking the full name unless it is maintianed in the SAP .
regards,
vijay.
‎2007 Feb 01 3:53 AM
Hi all,
Thanks for giving reply,my problem is solved using USR03 table.
Thanks & Regards,
Ruby.