Application Development and Automation 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: 
Read only

user name

Former Member
0 Likes
867

i want to know the function module name which will pass the current user name logged in sap.

6 REPLIES 6
Read only

Former Member
0 Likes
817

Hi,

SY-UNAME will give you the current user logged in.

You dont need a FM.

Reward if helpful,

Regards,

Esha Raj

Read only

Former Member
0 Likes
817

i knoe sy-uname

i want to upload through Fm

Read only

S0025444845
Active Participant
0 Likes
817

Hi,

SY-UNAME is the system field which gives current user name.

regards,

sudha

Read only

0 Likes
817

sudha pls tell me FM name, i know s/m field

Read only

0 Likes
817

hi,

try

TH_USER_INFO :Give information about the current user (sessions, workstation logged in from, etc)

TH_USER_LIST :Show which users are logged into an app server

regards,

sudha

Read only

Former Member
0 Likes
817

Hi,

Chk which of these FM's work for your condition.

  • APAR_EBPP_GET_USER_LOGIN_INFO

  • TH_USER_LIST -- The function module returns a table of user information in USRLIST, including the user id in field BNAME.

  • SUSR_GET_ADMIN_USER_LOGIN_INFO - RFC login

Reward points if useful

regards

Gokul

Edited by: Gokul on Apr 25, 2008 11:22 AM