Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>EmpBenefitHealthPlan



Index

EmpBenefitHealthPlan

EmpBenefitHealthPlan


An employer benefit health plan contains information about a health
plan benefit offered by an employer and taken up by an employee. A
benefit employer health plan can contain insurance benefits for many employer benefit health plan takers.


11-Dec-2005


Methods

Available Methods


  • GetDependents : Health plan dependents [ BAPI_BEN_BUS302901_GET_DEP ]
  • GetPossDependents : Possible health plan dependents [ BAPI_BEN_BUS302901_GET_POS_DEP ]

11-Dec-2005


GetDependents

GetDependents


This function module is used as the basis for the BAPI method EmpBenefitHealthPlan.GetDependents.

This method returns a list of the dependents an employee has includedin benefit plan enrollments. It reads the employee's health planenrollments on a specified date, and returns the list of dependents.


Notes

Messages are returned in the RETURN parameter. You will find the returncodes and their definitions in the documentation for this parameter.


11-Dec-2005


GetPossDependents

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.

  • Notes

    Messages are returned in the RETURN parameter. You will find the returncodes and their definitions in the documentation for this parameter.


    11-Dec-2005