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

Function Module 'HR_BEN_GET_ENTRY_DATE'

Former Member
0 Likes
812

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.

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
732

have you tried a where used list on this FM?

looks like its will provide the hire date

4 REPLIES 4
Read only

former_member156446
Active Contributor
0 Likes
733

have you tried a where used list on this FM?

looks like its will provide the hire date

Read only

0 Likes
732

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?

Read only

0 Likes
732

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".

Read only

0 Likes
732

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