on 2017 Apr 09 2:46 PM
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.
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.