11-14-2006 6:43 AM
Hi,
Is there any Function module to find the employees of an ORG Unit .
I need to specify the Org unit Name and get the employees out of it .
I looked at the FM
HRCM_ORGUNIT_EMPLOYEE_LIST_GET .
It has import parameters as
OTYP
OBJID
PATH_ID
What values do i need to pass.
11-14-2006 6:49 AM
hi,
chk this.
call function 'HRCM_ORGUNIT_EMPLOYEE_LIST_GET'
exporting
plvar = p_plvar
otype = 'O '
objid = s_orgeh-low
begda = p_effdt
endda = p_effdt
* PATH_ID = 'O-S-P'
tables
pernr_table = i_pernr
exceptions
path_error = 1
root_error = 2
no_employees_found = 3
others = 4
Thanks,
Anver