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

BAPI to get user name

Former Member
0 Likes
3,297

Hi ,

Is there any BAPI to get the user name while importing employee number ?

input parameter : employee number

output parameter : user name

Regards,

Pavani

With a little more effort you would have 
found CATSXT_GET_USER_ID_OF_PERNR in
your system

Edited by: Suresh Datti on Sep 1, 2009 2:42 PM

Hi ,

Is there any BAPI to get the user name while importing employee number ?

input parameter : employee number

output parameter : user name

Regards,

Pavani

With a little more effort you would have 
found CATSXT_GET_USER_ID_OF_PERNR in
your system

Edited by: Suresh Datti on Sep 1, 2009 2:42 PM

7 REPLIES 7
Read only

Former Member
0 Likes
1,871

Hi,

Check out:

BAPI_USER_GET_DETAIL

Thanks,

Krishna

Read only

Former Member
0 Likes
1,871

Hi

Use FM HR_READ_INFOTYPE to get all types of HR data.

just pass the infotype number and get values.

TC

Sajimon Chandran

Read only

0 Likes
1,871

For this BAPI_USER_GET_DETAIL input parameter is user name .i want to pass employee number and get user name .

i am looking for BAPI not normal functional modules.if there are any BAPIs pls send .

Regards,

Pavani

Read only

0 Likes
1,871

Hi,

Try this BAPI

BAPI_EMPLOYEE_GETDATA

Regards

Ansair

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
1,871

Hi

Check : BAPI_USER_GET_DETAIL

Regards,

Sreeram

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,871

check if the table has any fields with user name

or if you are on any enhancements just take sy-uname

Read only

Former Member
0 Likes
1,871

Hello Pavani,

There is no standard BAPI available for this requirement. You can write custom BAPI.

Thanks,

Augustin.