Fonction SAP BAPI_BEN_BUS3029_DELETE_PLANS - Cancel EE enrollment

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EMPLOYEENUMBER BAPIBEN_OA-PERSON_NO N 8 Employee's personnel number
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT control at BAPI interface

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

Paramètre Reférence Long. Facultatif Description
CREDIT_SELECTION BAPIBEN_S1 88 X Credit selection
HEALTH_SELECTION BAPIBEN_SA 175 X Health plan selection
INSURANCE_SELECTION BAPIBEN_SB 150 X Insurance plan selection
MISCEL_SELECTION BAPIBEN_SE 222 X Miscellaneous plan selection
SAVINGS_SELECTION BAPIBEN_SC 200 X Savings plan selection
SPENDING_SELECTION BAPIBEN_SD 88 X FSA selection
STOCKP_SELECTION BAPIBEN_SF 186 X Stock purchase plan selection

Functionality
This function module is used as the basis for the BAPI methodEmployeeBenefit.DeletePlans.
This method delimits on the database the employee enrollments. Thisdeletion is done precisely for the period specified.

Example
An employee has two enrollments in the Standard Medical plan, one for1997 and another for 1998. The employee then decides in October 1997,due to an active adjustment reason, to cancel his enrollment in theStandard Medical plan. The employee cancels the plan for the remainderof 1997. The method EmployeeBenefit.DeletePlans thus deletes theenrollment from October 1997 until the end of the year. The enrollmentfor 1998 remains and becomes valid at the start of the following year.

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
Employee personnel number

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

Default

Description
You can find information about the meaning of the COMMIT control in thecorresponding data element documentation: COMMITcontrol at BAPI interface.

Description
Credit selection

Value range
This is the list of credit plans the employee wants to terminate.

Description
Health selection

Value range
This is the list of health plans the employee wants to terminate.

Description
Insurance selection

Value range
This is the list of insurance plans the employee wants to terminate.

Description
Miscellaneous selection

Value range
This is the list of miscellaneous plans the employee wants toterminate.

Description
Savings selection

Value range
This is the list of savings plans the employee wants to terminate.

Description
Spending selection

Value range
This is the list of spending plans the employee wants to terminate.

Description
Stock purchase selection

Value range
This is the list of stock purchase plans the employee wants toterminate.