09-26-2008 10:04 AM
hi friends
I am working in HCM workflows. Is there any function module which gives the name of the employee when i pass pernr and userid.
Regards
vijay
09-26-2008 10:06 AM
hi,
use HR_READ_INFOTYPE on infotype 0002
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = p_pa0002-pernr -----------> your pernr
infty = '0002'
TABLES
infty_tab = t_pa0002
EXCEPTIONS
infty_not_found = 1.
the fields
INITS NACHN NAME2 NACH2 VORNA CNAME
TITEL TITL2 NAMZU VORSW VORS2 RUFNM MIDNM
KNZNM
stores different parts of employee's name.
you check your required one.
Regards,
Anirban
09-26-2008 10:06 AM
09-26-2008 10:08 AM
Hi Vijay,
Try function module: HR_TMW_GET_EMPLOYEE_NAME
Regards,
Chandra Sekhar
Edited by: Chandrasekhar Gandla on Sep 26, 2008 2:40 PM
09-26-2008 10:08 AM
Hi,
Try 'HR_FR_GET_EMPLOYEE'.
Else
'CATS_GET_EMPLOYEE_NAME'.
Is it working for you?
Regards,
R.Nagarajan.
Edited by: Nagarajan Ramamoorthy on Sep 26, 2008 6:09 PM
09-26-2008 10:09 AM
CATS_GET_EMPLOYEE_NAME
HR_TMW_GET_EMPLOYEE_NAME
HRWPC_GET_EMPLOYEE_NAME
??
09-26-2008 11:03 AM