‎2007 May 21 5:32 PM
Hi Experts,
What is the function module which can be used to get the last name and first name by giving uname as input. Can the function module be called in samrtform code.
Thank you.
Regards,
Admir.
Points will be rewarded.
‎2007 May 21 5:54 PM
Hi
Use like this in smartform program lines.
FM: SUSR_SHOW_USER_DETAILS
<B>Import parameters<B>
BNAME = sy-uname
MANDT = sy-mandt
NO_DISPLAY = 'X'
Then it will get total profile of the user including personal number, and names and everything.
Thanks,
Pavan Kothapalli
‎2007 May 21 5:35 PM
Use v_usr_name database view and you will get last name and first name.
select single * from v_usr_name into v_usr_name
where BNAME = sy-uname.
‎2007 May 21 5:36 PM
‎2007 May 21 5:54 PM
Hi
Use like this in smartform program lines.
FM: SUSR_SHOW_USER_DETAILS
<B>Import parameters<B>
BNAME = sy-uname
MANDT = sy-mandt
NO_DISPLAY = 'X'
Then it will get total profile of the user including personal number, and names and everything.
Thanks,
Pavan Kothapalli
‎2007 May 21 6:21 PM