cancel
Showing results for 
Search instead for 
Did you mean: 

IT2006 User Exit

Former Member
0 Kudos

Hi Experts,

In my scenario client is using only one quota basket for AL and SL balances with validity period as 12/31/9999.

So once ee is rehired back in the system after separation, system will accrue quota after rehire and add to the same basket as was prior to rehire and make values as 230 hrs in Number filed in IT2006

This scenario was working fine for the employees rehired till 2012.

But those ees who got separated prior to 2013 and rehired back in 2013, for them once quota gets generated after rehire, it is replacing the old quota values generated prior to separation as shown below. e.g. ee accrued 10 hrs, instead of adding to 220 hrs, it is replacing the old value with new accruals and leading to incorrect calculations in PT50.

I have chceked the config and everything look intact.

Can anyone please help, if we can correct this issue using Exit. Which user exit can be used for this purpose so that the balances accrued add upto one basket only with validity as 12/31/9999.

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Try the BADI HRPAD00INFTY. You can catch the re-hire events.

Former Member
0 Kudos

Can anyone let know the Exits in PT60 to meet this requirement.

Thanks

Former Member
0 Kudos

Hello Avneet,

Please check out SAP enhancement HRPTIM03.

Enhancements to Quota Processing

Regards,

Dilek

Former Member
0 Kudos

hi,

proposed approach;

As per the business requirement system should add the quota generated after rehire to the quota balances generated prior to separation. Accumulations after rehire should add up to the same quota basket.

In PA30, system should check employee separation date (BEGDA) in IT0000 for the Separation Action – ZE. If the separation date is prior to year 2013 and the employee is rehired back, (MASSN) Rehire –Z1 in year 2013 i.e. rehire date (BEGDA) in year 2013 and then the Time Evaluation Program is run using PT60. Once PT60 program finds value in table QTACC (Absence Quota Generation) for the newly generated quota, use exit……..should trigger and add the newly generated quota values for AL (10) and SL (11) balances from QTACC table to the Annual Leave (10) and Sick Leave (11) Balances in IT2006 in Number field (ANZHL) as was prior to separation.

These quota balances accrued after rehire should add to the Quota entitlement field (ANZHL) in IT2006 whose validity end dates (ENDDA) are 12/31/9999.

The user exit should add the values of newly accrued balances of AL(10) and SL(11) to Entitlement field (ANZHL) for Annual Leave (10) and Sick Leave (11) quota entitlements in Accrual Tab in PT50. Exit should save the Remaining column (KREST) in PT50 with the new accrual value after rehire.

Balances in Requested (KVERB) and Compensated (CMPNS) Balances Columns in PT50 should remain the same as was prior to separation.

**Table QTACC gets value from automatic accrual of absence quota when TE program (PT60) is run. Table QTACC is B2 cluster table which is not directly available for reporting. FM HR_TIME_RESULTS_GET can be useful to fetch the values from Table QTACC.

Any comments welcome.

Thanks

Former Member
0 Kudos

Hey Avneet,

In this case, it is not easier put a payroll function in the schema?

If I understand you requirements correctly, I think that there you will can evaluate your requirements better.

0 Kudos

Dear Avneet,

Try with User Exit PBAS0001 It may work. Also tell ABAPERs to insert rule like If

Check     MASSN   RE( Rehiring)

Check     Abs quota type in IT 2006

and overwrite with new quota type

Rgds,

Baidyanath

Former Member
0 Kudos

Hi

You can check with exit EXIT_SAPLHRLV_* , but your scenario is not clear you are saying that for 2012 & 2013 but in screen it is showing for 2010. Can explain in detail.

Former Member
0 Kudos

Hi Kedar,

Thanks for your reply.

It is displaying 09/16/2010 because ee was hired on 09/01/2010 and first time he accrued quota was on 09/16/2010 after meeting his quota accrual conditions.

Since then the basket remains the same with validity in It2006 as 12/31/9999, even if ee separate and rehire again, the quota basket will remain same throughout ee stay with company.

Scenario was working fine till now but now if someone is separated prior to 2013 and rehired back in 2013, for them once quota gets generated after rehire, it is replacing the old quota values in IT2006 which were generated  prior to separation rather than adding to same quota basket.

For previous years it worked fine.

Thanks