Fonction SAP BAPI_BEN_BUS302906_GET_POS_DEP - Possible dependents for miscellaneous plans

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DATEOFVALIDITY BAPIBEN_OE-VALID_DATE D 8 Validity Date
EMPLOYEENUMBER BAPIBEN_OE-PERSON_NO N 8 Employee's personnel number
PLANTYPE BAPIBEN_OE-PLAN_TYPE C 4 Plan type

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Return

Paramètre Reférence Long. Facultatif Description
MISCEL_OFFER BAPIBEN_OE 1354 X Miscellaneous plans offer
POSSIBLE_DEPENDENTS BAPIBENODP 154 X Possible dependents for enrollment

Functionality
This function module is used as the basis for the BAPI methodEmpBenefitMiscelPlan.GetPossDependents.
This method returns a list of the dependents an employee may include inmiscellaneous plan enrollments on a specified date.
The method uses the following algorithm:

  • it ensures that EmployeeBenefit.GetOffer has returned an offer that
  • includes at least one miscellaneous plan which permits at least onedependent.
    • it then fetches the family/related person records (infotype 0021)
    • stored under the employee's personnel number in HR master data, andlists 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.

      Description
      Message type

      Value range
      You can find information about the message type in the correspondingdata element: message type.

      Default

      Description
      Validity date

      Value range
      You can find information about the validity date in the correspondingdata element: validity date.

      Default

      Description
      Employee personnel number

      Value range
      You can find information about the employee personnel number in thecorresponding data element: personnel number.

      Default

      Description
      Benefit plan type

      Value range
      You can find information about the benefit plan type in thecorresponding data element: benefit plan type.

      Default

      Description
      Miscellaneous offer

      Value range
      The miscellaneous offer is the list of miscellaneous plans produced bythe method, giving all that the employee is permitted to enroll in orchange elections for. This offer contains all the details of the plansand their options. &DEFAULT&

      Description
      Possible dependents

      Value range
      This is the list of possible dependents an employee may include in thebenefit plan.