‎2008 Apr 25 6:41 AM
i want to know the function module name which will pass the current user name logged in sap.
‎2008 Apr 25 6:44 AM
Hi,
SY-UNAME will give you the current user logged in.
You dont need a FM.
Reward if helpful,
Regards,
Esha Raj
‎2008 Apr 25 6:46 AM
‎2008 Apr 25 6:49 AM
Hi,
SY-UNAME is the system field which gives current user name.
regards,
sudha
‎2008 Apr 25 6:50 AM
‎2008 Apr 25 6:57 AM
hi,
try
TH_USER_INFO :Give information about the current user (sessions, workstation logged in from, etc)
TH_USER_LIST :Show which users are logged into an app server
regards,
sudha
‎2008 Apr 25 6:51 AM
Hi,
Chk which of these FM's work for your condition.
APAR_EBPP_GET_USER_LOGIN_INFO
TH_USER_LIST -- The function module returns a table of user information in USRLIST, including the user id in field BNAME.
SUSR_GET_ADMIN_USER_LOGIN_INFO - RFC login
Reward points if useful
regards
Gokul
Edited by: Gokul on Apr 25, 2008 11:22 AM