Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Comparing SAP logon user with Windows user id

Former Member
0 Kudos

Hi Folks,

Is there any way to fetch the user ID that we used to log into Windows?

Requirement is, only if Windows username and SAP username are not equal, a log should be made in SE16N for any changes done with the SAP user name.

Please suggest me if I can do something to accomplish this task.

Thanks in advance.

Karthik

Moderator message: please do not cross-post.

Edited by: Thomas Zloch on Feb 24, 2012

1 REPLY 1

Former Member
0 Kudos

Hi,

Use CL_GUI_FRONTEND_SERVICES->GET_USER_NAME to get the window logon name

Thanks,

Madhukar Shetty