GetPossBeneficiaries
This function module is used as the basis for the BAPI method EmpBenefitMiscelPlan.GetPossBeneficiaries. This method returns a list of the beneficiaries an employee may include in miscellaneous 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 miscellaneous plan which permits at least one beneficiary.it then fetches the persons' and organizations' names stored for theemployee in HR master data, and lists them as possible beneficiaries.
NotesMessages are returned in the RETURN parameter. You will find the returncodes and their definitions in the documentation for this parameter.
|