2005 Apr 13 8:25 AM
hi all,
am not able to get the hire date of the employee using the below mentioned FM. can any one ensure that what am doing is correct. am passing pernr and action infotype.
CALL FUNCTION 'RP_GET_HIRE_DATE'
EXPORTING
PERSNR = i_out-pernr
CHECK_INFOTYPES = '0000'
DATUMSART = '01'
STATUS2 = '3'
P0016_OPTIONEN = ' '
IMPORTING
HIREDATE = i_out-hidat
.
Thanks
Senthil bala
2005 Apr 13 9:49 AM
Hi ,
This is the example taken from this forum.
*Get the joining date of the employees
CALL FUNCTION 'RP_GET_HIRE_DATE'
EXPORTING
persnr = it_overseas-empno
check_infotypes = '0000'
IMPORTING
hiredate = it_overseas-doj.
If you search the forum by giving the name of the function module in Forum search , you will get one more HR related qn. other than yours.
In that, they are using this fn. module .
Regards,
J.Jayanthi
2005 Apr 13 6:54 PM
The problem you have is that the hire date is not stored in infotype 0000, but in infotype 0041 (Date specifications) If you call the function module they same way you are doing it and instead of passing check_infotypes = 0000 use check_infotypes = 0041, it should work.
Let me know if this helps.
E.G.
2005 Apr 13 7:08 PM
Why cannot be used the function module HRENTRYDATE? (Sorry, for generic name, don't remember the exact name).
2023 Feb 22 10:02 PM