cancel
Showing results for 
Search instead for 
Did you mean: 

How to fetch the logged in user?

Former Member
0 Kudos

Hi Friends,

In my BSP application, I need to capture some data from the logged in user. For this I need to fetch the logged in user name, through my BSP application.

Could you please let me know, whether there is any FM or API, which serve the purpose for me.

Your help in this regard is highly appreciated.

Thanks & Regards,

John

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

John,

you can get the logged in username using SY-UNAME.

Regards,

Jbs.

Answers (1)

Answers (1)

former_member184111
Active Contributor
0 Kudos

Hi,

Use the system variable SY-UNAME .

Regards,

Anubhav.