2019 Nov 13 3:50 PM
How to know where the user is running the report from?
How can I get the current location?
Please let me know, I can not find any info about this?
How can I know if the report os being run in china or berlin?
2019 Nov 13 4:08 PM
Jonathan,
To the best of my knowledge, the USR03 table will give you where the user is based, and SY-HOST will give you the name of the application server the job is running on.
The bigger issues are:
2019 Nov 14 9:18 AM
Unfortunately USR03 is not maintained, lets hope someone has a different solution.thank you for your effort
2019 Nov 14 9:53 AM
USR03 is obsolete. Use USR21 which is the relationship between users and addresses in the address tables (AD*).
2019 Nov 14 11:20 AM
2019 Nov 14 1:27 PM
Jonathan Blavatsky A "location" is an address, no? (what means location for you? The city?) Do you mean you didn't find the right ADR* table?
2019 Nov 14 1:39 PM
Johnathan, if you are looking for the physical location of the user when the report was executed, that is is a detective job using the IP address, as Kashyap Shah mentioned below.
But even then, VPNs and other security measures can mask a user's physical location.
2019 Nov 15 9:43 AM
Sandra Rossi I found that the table who saves the plant is T001W but I see no relationship between the username and this table.If you find any please provide an answer
2019 Nov 15 9:45 AM
2019 Nov 13 4:25 PM
Hi Jonathan,
If users connect to SAP system directly from their device by means of SAPGUI, etc. then you could use OS01 transaction and double click on "Active Presentation Srvrs". That should list currently connected devices by above means. Ping to individual Server Name should reveal IP. Based on IP used within your organisation, you should be able to tell who's connecting from what location.
This may well not serve a broader purpose of what you're trying to do which we aren't aware yet.
Best Regards,
Kashyap Shah
2019 Nov 14 12:49 AM
you don't have to ping, just click change view and the IP address will shown.
2019 Nov 14 9:10 AM
2019 Nov 14 9:24 AM
Class CL_SERVER_INFO :
something like :
cl_system_info=>get_server_info( server_name )->get_session_list( ).
but IP gives you just IP, you have to know the landscape of the netword (if there is)