Hi, Li
thank you for your answer, anyway this case of mine just solved by me :)
all i need to do is just get all number of the days from employees's date specification in IT0041 using operation NUM
NUM=FZ3T A (you can see the documentation of operation NUM in PCR or tcode PDSY)
NUM?365
*
ADDWT *
<
NUM=FZ3T A
NUM/365
MULTI ANA
ADDWT 3800
=
ADDWT 3800
i think that's all, now i am testing it to figure it out the consistency.
You need to write your own rule and operation to fulfill requirements 'if an employee not in 1st anniversary yet (read join date)' .
Some standard FM can calculate the period between to dates. like below :
HR_SGPBS_YRS_MTHS_DAYS
HR_SEN_CALCULATE_COMPLETE
FIMA_DAYS_AND_MONTHS_AND_YEARS
In your rule ,then you can add logic about proration by 365 or not, which is determined by the return value of your own operation.
Add comment