Skip to Content
0

Absence quota generation based on seniority in infotype 0041 with two diferents date types.

Nov 30, 2017 at 10:37 PM

34

avatar image
Former Member

Hi,

We have a client requirement related to absences quotas.

They have two diferents:

a) Absence quota type "10" with 15 fixed days. The hire date associated with this entitlement mus be IT 0041 date class "V1"

b) Absence quota type "20" with 1 additional day per year since seniority year 5. The hire date associated with this entitlement must be IT 0041 date class "Z2". (year 5 with 1 day, year 6 with 2 days, year 7 with 3 days, and so on).

In order to accomplish it we did:

1)Base Entitlement for Absence Quota Generation, view V_T559E:

For Absence quota type "10" the base entitlement in seniority we set from 0 to 999 years a entitlement constant for 15 days. Related to period we set “rel. to date type” V1 length 12 months.

For Absence quota type "20" we created different sequential numbers, one for each seniority. Seq 1 The base entitlement in seniority: from 5 to 6 years a entitlement constant for 1 day. Related to period we set “rel. to date type” Z2 length 12 months. Seq 2 from 6 to 7 years with 2 days and Z2 as date type, and so on.

2)Define Generation Rules for Quota Type Selection. View: V_T559L

In Selection rule, section "base entitlement" we use "key date for determining seniority" with:

- "date type" V1 for Absence quota type "10", and

- "date type" Z2 for Absence quota type "20".

Problem: We run pt60 with zqta schema in order to generate absences quotas. We realized that the hire date it’s calculated with IT0041 date type 01. We investigated and the hire date it’s set by the characteristics “Entry” and “Hdate” the second one replace the value determinate by “entry”.

We could use “hdate” if we just need one date type to determinate the seniority, but we have two different date types because each absence quota type depends on differents dates from infotype 0041.

Question: What could you advise me in order to fix this? I know that there is a user-exit EXIT_SAPLHRLV_006, but I would like to perform this without codding, is it possible?

Thanks in advance.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers