Skip to Content
0
Nov 01, 2019 at 10:44 AM

How to calculate number of years worked through the technical start date from IT 41

40 Views

Dear Expert


One of our client has a requirement to pay the employee a Long Service pay amount on completion on 10 year, 15 year, 20 years etc. We will be storing the actual date of hiring in IT 41, field DAT01. We need to calculate the number of years worked according to the date mentioned in this field and than pay the amount accordingly.

We are using the Operation TABLEP0041 and VARGBDAT01. Under VARGBDAT01 the value that is allowed is for only 7 characters and we are not able to search what should be followed after that operation.

Kindly help us on how to proceed with the same and how to get the number of years calculated to pay the amount respectively.

Will appreciate you quick reply.

Thanks