Sapass

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



Index

EmpBenefitStockpPlan

EmpBenefitStockpPlan


An employee's benefit stock purchase plan contains information about a
benefit stock purchase plan selected by an employee and offered by an
employer. Many employee's benefit stock plan beneficiaries can exist for one employee's benefit stock purchase plan.


11-Dec-2005


Methods

Available Methods


  • GetBeneficiaries : Beneficiaries for stock purchase plans [ BAPI_BEN_BUS302907_GET_BEN ]
  • GetPossBeneficiaries : Possible beneficiaries for stock purchase plans [ BAPI_BEN_BUS302907_GET_POS_BEN ]

11-Dec-2005


GetBeneficiaries

GetBeneficiaries


This function module is used as the basis for the BAPI method EmpBenefitStockpPlan.GetBeneficiaries.

This method returns a list of the beneficiaries an employee hasincluded in benefit plan enrollments. It reads the employee's stockpurchase plan enrollments on a specified date, and returns the list of beneficiaries.



11-Dec-2005


GetPossBeneficiaries

GetPossBeneficiaries


This function module is used as the basis for the BAPI method EmpBenefitStockpPlan.GetPossBeneficiaries.

This method returns a list of the beneficiaries an employee may include in stock purchase plan enrollments on a specified date.

The method uses the following algorithm:


  • it ensures that EmployeeBenefits.GetOffer has returned an offer thatincludes at least one stock purchase 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.

  • 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