GetPossDependents
This function module is used as the basis for the BAPI method EmpBenefitHealthPlan.GetPossDependents. This method returns a list of the dependents an employee may include in health plan enrollments on a specified date. The method uses the following algorithm:
it ensures that EmployeeBenefit.GetOffer has returned an offer thatincludes at least one health plan which permits at least one dependent.it then fetches the family/related person records (infotype 0021)stored under the employee's personnel number in HR master data, and lists all possible dependents' names.
NotesMessages are returned in the RETURN parameter. You will find the returncodes and their definitions in the documentation for this parameter.
|