‎2009 May 26 4:22 PM
friends, I need to know how to get the name of the user's machine
There are some functions for this ..?
example :
var = Get_ machine_user_name
thanks
‎2009 May 26 4:35 PM
check table USR41 (terminal id with IP address during last logon)
or use FM TERMINAL_ID_GET
Edited by: Pawan Kesari on May 26, 2009 9:06 PM
Edited by: Pawan Kesari on May 26, 2009 9:08 PM
‎2009 May 26 4:36 PM
Hello,
You can use the method GET_COMPUTER_NAME of the class CL_GUI_FRONTEND_SERVICES. Please note that you can use this in online mode only.
BR,
Suhas
‎2009 May 26 4:50 PM
Hi trampo,
I can help you in getting the IP Address adn as far as the User or system name I am currently working on it .Once I get it i shall respond to your query.
You can even find out how to get the System name based on IP Address.
Function Module: ARFC_GET_TID will return the IP address of the terminal in hex.
Just try with the above function module
Revert if u get an additional info in this regard
Thanks and Regards
Srikanth.P
‎2009 May 27 6:36 AM
Check the Function Module TH_USER_LIST . It gives out the Terminal name.
Regards,
Trikanth Basetty
‎2009 May 27 6:57 AM
Try to use the function module Terminal_ID_Get.
Give the input as your user name. It will give you the terminal ID.
Import parameters Value
USERNAME D021845
Export parameters Value
TERMINAL 0.0.0.0-APPC-TM
Regards
Ramesh Sundaram
‎2009 May 27 7:03 AM
Hi,
You can use the FM "TERMINAL_ID_GET" which return the terminal id.
Regards,
Jayanth G
‎2009 Jul 02 12:19 PM
Hi,
a function you can also use is TH_LONG_USR_INFO.
Input var = user name.
The function returns a table with all details (up to session-details & terminal) for this specific user-ID.
Hope this helps!
Martijn
‎2009 Jul 02 12:57 PM
Hi,
You may use GUI_GET_DESKTOP_INFO with parameter TYPE = '1'.
Regards
Raju Chitale