09-23-2008 5:55 AM
Hi All,
I am searching for a function module which returns me user name when I give full name. Please let me know if any such function module exists.
Thanks & Regards
Archana
09-23-2008 5:58 AM
Hi archana,
try this,
/VIRSA/GET_USERS_BY_NAME
IMPORTING
VALUE(USERID) TYPE XUBNAME OPTIONAL
VALUE(NAME_FIRST) TYPE AD_NAMEFIR OPTIONAL
VALUE(NAME_LAST) TYPE AD_NAMELAS OPTIONAL
TABLES
USERS STRUCTURE /VIRSA/USERS
it will take user's first name and last name and return the user name
Regards,
Anirban
09-23-2008 5:58 AM
Hi archana,
try this,
/VIRSA/GET_USERS_BY_NAME
IMPORTING
VALUE(USERID) TYPE XUBNAME OPTIONAL
VALUE(NAME_FIRST) TYPE AD_NAMEFIR OPTIONAL
VALUE(NAME_LAST) TYPE AD_NAMELAS OPTIONAL
TABLES
USERS STRUCTURE /VIRSA/USERS
it will take user's first name and last name and return the user name
Regards,
Anirban
09-23-2008 5:59 AM
Hi,
You can get the Full name based on User Name using FM UMB_SERVICE_OWNER_NAME.
You can directly write a select query to retrieve User Name from USR03 table.
Best regards,
Prashant
09-23-2008 6:01 AM
hii
there are some FM which can give you user details
ISR_GET_USER_DETAILS
USER_NAME_GET
or you can use select query on USR02, ADRP,ADRPS tables.
regards
twinkal
09-23-2008 6:02 AM
03-04-2015 9:12 AM
Hi Archana,
After reading the thread. I have found this FM which gives user name by giving email.
UBC_USER_GET_BY_EMAIL