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

hr function module

Former Member
0 Likes
634

hi all,

can anybody tell me about functionmodule name in which user enter

user id and out put shows the personal no.

thanks .

4 REPLIES 4
Read only

amit_khare
Active Contributor
0 Likes
608

you can directly use SELECt.

SELECT pernr into w_pernr FROM PA0105 where USRID = p_usrid

and subty = '0001'

and begda <= sy-datum

and endda >= sy-datum.

Regards,

Amit

Reward all helpful replies.

Read only

amit_khare
Active Contributor
0 Likes
608

Also, here is the FM -

HR_GET_EMPLOYEES_FROM_USER

CRIF_GET_EMPLOYEE_FOR_USER

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
608

Hi,

Use the below function modules.

HRWPC_AP_GET_EMPLOYEE_FOR_USER

CRIF_GET_EMPLOYEE_FOR_USER

HR_GETEMPLOYEEDATA_FROMUSER

RP_GET_PERNR_FROM_USERID

HR_GET_EMPLOYEES_FROM_USER

Read only

Former Member
0 Likes
608

Hi,

Use the function module: BAPI_USER_GET_DETAIL to get all the details about a User.

Regs,

Venkat