cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Payroll changes from 365 days to 360 days

0 Kudos
979

Dear Gurus.

We have one new changes in our ongoing system in payroll.

This is for Saudi Payroll.

As per our current system, we are calculating number of days in a year as 365 days i.e 365/12 = 30.42 irrespective of any month.

but now the company wants to change it to 360 day in year i.e 360/12 = 30 days in a month irrespective of any month and also calculate on all payments and deduction, EOS (End of Services), Vacation on base of 360 days.

Kindly let me know how to make this requirement live.

your early response will be helpful.

Thanks

Mohammad Shahbaz.

Accepted Solutions (0)

Answers (1)

Answers (1)

asim_ahmed1
Explorer
0 Kudos

Hi,

We have to write a custom function in PE04 for EOS and Vacation to calculate 360 days. Below is the Function module that we need to use in custom function.


CALL FUNCTION 'FIMA_DAYS_BETWEEN_TWO_DATES_2'
EXPORTING
* I_FLAG_INTRADAY = ' '
I_DATUM_VON = IT_0041-DAT01 "joining date
* I_ZEIT_VON =
I_KZ_EXCL_VON = '0'
I_KZ_ULT_VON = '0'
I_DATUM_BIS = LDATMT "Last Date of Month
* I_ZEIT_BIS =
I_KZ_INCL_BIS = '0'
I_KZ_ULT_BIS = '0'
I_STGMETH = '9' " Number 9 indicates Days 360 as per German rule
I_SKALID = '0'
IMPORTING
E_TAGE = DAYS
* E_SEKUNDEN =
.
LV_DAYS = DAYS + 1.