‎2009 Oct 02 3:44 AM
Dear All,
In this function module <b>'HR_BEN_GET_ENTRY_DATE'</b>, there are two export parameter:
1. ENTRY_DATE
2. SUBRC
Does anyone knows what is the expected result of this function module for parameter <b>"ENTRY_DATE"</b>?
I've tested in my system but it'll always return <b>"00.00.0000"</b>.
Could anyone please tell me is this the correct result?
Thanks a lot.
‎2009 Oct 02 4:03 AM
have you tried a where used list on this FM?
looks like its will provide the hire date
‎2009 Oct 02 4:03 AM
have you tried a where used list on this FM?
looks like its will provide the hire date
‎2009 Oct 02 5:04 AM
I've run this FM for many many personnel number, but all give me "00.00.0000".
I've put set the following import parameter:
reaction = 'N'
datum = <system date>
However, all the personnel number gives me "00.00.0000" for export parameter "ENTRY_DATE".
Does anyone face the same problem as me?
‎2009 Oct 02 5:47 AM
check documentation for fm 'HR_ENTRY_DATE'.this fm is called inside the class which is called in FM you mentioned.It explains how entry date is filled.this depends on date type entered in feature "ENTRY".
‎2009 Oct 02 9:41 AM
I know where is the problem already but still don't know how to fix it.
In FM "HR_ENTRY_DATE_CALC", line 312 until 325 is calling the function exit "EXIT_SAPLRPAI_001" of user exit "HRRPAI01".
But the function exit contains no code and therefore it will return INITIAL value to the variable "entrydate".
So, I've deactivate the user exit and it solved the problem.
Thanks.
Edited by: Mr Potato on Oct 2, 2009 11:04 AM