Ansicht
Dokumentation

HRPTIM02 - User exits for HR Time Management: Leave accrual

HRPTIM02 - User exits for HR Time Management: Leave accrual

General Material Data   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

This user exit is used by program RPILVA00 to determine an employee's leave entitlement. The following employee data is evaluated:

,,Variable,, ,, ,, ,,Meaning
,,PPERNR,, ,, ,, ,, ,,Personnel number
,,LEAVE_YEAR,, ,, ,, ,,Year of new leave entitlement
,,SENIORITY,, ,, ,, ,,Seniority in years
,,AGE,, ,, ,, ,, ,, ,,Age in years
,,HIRE_DATE,, ,, ,, ,,Hiring date
,,FIRE_DATE,, ,, ,, ,,Date of notice
,,ACT_WRKHRS,, ,, ,, ,,Hours worked in past year
,,PLN_WRKHRS,, ,, ,, ,,Planned working hours in past year
,,ONLY_NEW,, ,, ,, ,,Only generate new entitlement?
,,ONLY_OLD,, ,, ,, ,,Only take over remaining leave?

,,Table,, ,, ,, ,, ,,Meaning
,,PP0000,, ,, ,, ,, ,,Events
,,PP0001,, ,, ,, ,, ,,Organizational Assignment
,,PP0004,, ,, ,, ,, ,,Challenge
,,PP0005,, ,, ,, ,, ,,Leave Entitlement
,,PP0007,, ,, ,, ,, ,,Planned Working Time
,,PP0008,, ,, ,, ,, ,,Basic Pay
,,PPSP,, ,, ,, ,, ,,Personal work schedule from previous year

The internal table VACATION must be filled by the user, and is structured as follows:

,,LVTYP,, ,,Leave type
,,LVNUM,, ,,Leave entitlement (3 places before, 2 behind decimal point)
,,LVBEG,, ,,Start of deduction
,,LVEND,, ,,End of deduction
,,OPERA,, ,,Operation indicator

The operation indicator can have one of the following values. The specification assigned determines how the present leave balance is processed:

  • A The calculated entitlement is increased/reduced
  • D The specified leave record is deleted
  • R The leave record is replaced by the data specified

If you do not enter a value for the operation indicator, processing is as for R.






ROGBILLS - Synchronize billing plans   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 2028 Date: 20240328 Time: 171455     sap01-206 ( 18 ms )