This function module is used as the basis for the BAPI method EmployeeBenAdjReason.CalculateEndDate .
This method calculates a new end date for benefits adjustment processing.
You can set up benefits adjustment reasons to allow changes byemployees over a certain period of time following the occurrence of the reason.
In addition, you can also specify the time remaining for employees tochange their benefits selections after the first change due to the reason in question.
If you specify the time remaining after first selection, you can usethis method to calculate a new end date for the adjustment processing
period. Note that the new end date cannot be after the end date of the adjustment reason BEFORE the first selection.
Messages are returned in the RETURN parameter. You will find the returncodes and their definitions in the documentation for this parameter.