Fonction SAP BAPI_BEN_GENBENINFO_GET_OPENP - Check if open enrollment period exists and period is indicated

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DATEOFVALIDITY BAPIBEN_OA-VALID_DATE D 8 Validity Date
EMPLOYEENUMBER BAPIBEN_OA-PERSON_NO N 8 Employee's personnel number

Paramètre Reférence Type Long. Description
ISOPENPERIOD BAPIBENPAR-IS_OPEN_PERIOD C 1 Is it currently open enrollment period?
OPENENROLLMENTBEGIN BAPIBENPAR-OPEN_BEGDA D 8 Open enrollment start date
OPENENROLLMENTEND BAPIBENPAR-OPEN_ENDDA D 8 Open enrollment end date
RETURN BAPIRETURN1 u 470 Return

Functionality
This function module is used as the basis for the BAPI methodEmployeeGenBenInfo.GetOpenEnrollmentPeriod.
This method delivers the dates of the open enrollment period, for anemployee on a specified date. The method also delivers IF the specifieddate falls within the open enrollment period. In this period, theemployee can make changes to future benefit enrollments.

Example
On July 1st 1997, the open enrollment period for Julie Watanabe isSeptember 1st to October 15th. However on August 1st, company policychanged and shortened the open enrollment period to September 1st toSeptember 30th. Thus on August 2nd, the open enrollment period forJulie Watanabe is September 1st to 30th.

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

Description
Is Open Enrollment period

Value range
This is a flag that indicates IF the system date falls within the openenrollment period, i.e, if it is currently open enrollment period.

Default

Description
Open enrollment begin

Value range
You can find information about the start of the open enrollment periodin the corresponding data element: open enrollmentbegin date.

Default

Description
Open enrollment end

Value range
You can find information about the end of the open enrollment period inthe corresponding data element: open enrollment enddate.

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.