Skip to Content
Former Member
Jul 15, 2008 at 12:46 PM

Get Windows User in ABAP - Webservice


Hi all,

i need the windows user in an ABAP Webservice.

I have found many solutions (e.g. cl_gui_frontend_services->get_user_name or function modules GUI_GET_DESKTOP_INFO, WS_QUERY ....)

But these solutions are only working if you are connected via SAP GUI to the SAP system.

I want to trigger the web service not via SAP GUI.

Is there a possiblility to get the Windows user in ABAP without the need of the SAP GUI?