Quantcast
Channel: SCN : Unanswered Discussions - Enterprise Resource Planning (SAP ERP)
Viewing all articles
Browse latest Browse all 2436

Calculation of Retirement Date

$
0
0

Hi Experts,

 

There is a requirement wherein we are supposed to calculate the retirement date of an employee basis the DOB (stored in IT 02), which then gets stored in IT 0041 as a custom date type (say Z1).

 

The retirement date has to be DOB + 60 years. However the date can be only on either first of the month or last of the month, depending on whether the calculated retirement date falls on or before 15th of the month or after 15th of the month.

 

So, if the EE's date of birth is 02.08.2000 (DD.MM.YYYY), then the retirement would be say 02.08.2060, but since it is before 15th of the month, the retirement should be on 01.08.2060. Similarly, for an employee whose retirement may fall on 16.08.2060, the retirement date should be stored as 31.08.2060 in IT 00041 under custom date type (Z1).

 

Please help us with the program that can help to meet this requirement. thank you.

 

P.S.: The given program has to be created as a dynamic action and will be forming a part of hiring action.

 

Regards

Neha


Viewing all articles
Browse latest Browse all 2436

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>