SAP Reports / Programs | Personnel Management | Benefits | General Parts(PA-BN-FB-XX) SAP PA

MPZ63F00 SAP ABAP INCLUDE - documentation and ABAP source code







MPZ63F00 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MPZ63F00 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MPZ63F00. "Basic submit
SUBMIT MPZ63F00 AND RETURN. "Return to original report after report execution complete
SUBMIT MPZ63F00 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT MPZ63F00

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

BAPI_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING number = header_info-pernr IMPORTING return = return.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = header_info-pernr msg_class = msg_class8 msg_number = '015' severity = 0 reaction = success_msg TABLES error_table = error_table.

BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING number = header_info-pernr IMPORTING return = return.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class8 msg_number = '024' severity = 0 reaction = success_msg TABLES error_table = error_table.

HR_GETEMPLOYEEDATA_FROMUSER CALL FUNCTION 'HR_GETEMPLOYEEDATA_FROMUSER' EXPORTING username = sy-uname IMPORTING employeenumber = header_info-pernr name = header_info-name EXCEPTIONS user_not_found = 1 countrygrouping_not_found = 2 infty_not_found = 3 OTHERS = 4.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = header_info-pernr msg_class = sy-msgid msg_number = sy-msgno msg_par1 = sy-msgv1 msg_par2 = sy-msgv2 msg_par3 = sy-msgv3 msg_par4 = sy-msgv4 severity = 0 " not important here reaction = success_msg TABLES error_table = error_table.

HR_BEN_READ_EE_BENEFIT_DATA CALL FUNCTION 'HR_BEN_READ_EE_BENEFIT_DATA' EXPORTING pernr = header_info-pernr datum = header_info-valdt reaction = no_log IMPORTING ee_benefit_data = ee_benefit_data subrc = retcd TABLES error_table = error_table.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = header_info-pernr msg_class = msg_class8 msg_number = '004' severity = 0 reaction = success_msg TABLES error_table = error_table.

HR_BEN_GET_EE_MOLGA CALL FUNCTION 'HR_BEN_GET_EE_MOLGA' EXPORTING pernr = header_info-pernr datum = header_info-valdt reaction = no_log IMPORTING molga = header_info-molga subrc = retcd TABLES error_table = error_table.

HR_FBN_GET_PROCESS_DATES CALL FUNCTION 'HR_FBN_GET_PROCESS_DATES' EXPORTING event_description = event_description enrty = selected_reason-enrollmenttype datum = header_info-valdt reaction = success_msg IMPORTING process_begda = header_info-process_begda process_endda = header_info-process_endda subrc = retcd TABLES error_table = error_table CHANGING ee_benefit_data = ee_benefit_data.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class8 msg_number = '025' severity = 0 reaction = success_msg TABLES error_table = error_table.

HR_FBN_GET_OFFER_RFC CALL FUNCTION 'HR_FBN_GET_OFFER_RFC' EXPORTING employeenumber = header_info-pernr dateofvalidity = header_info-valdt event = event enrollmenttype = selected_reason-enrollmenttype desired_period = payroll_period IMPORTING emptyoffer = emptyoffer return = return TABLES credit_offer = credit_offer health_offer = health_offer insurance_offer = insure_offer miscel_offer = miscel_offer.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = header_info-pernr msg_class = return-id msg_number = return-number msg_par1 = return-message_v1 msg_par2 = return-message_v2 msg_par3 = return-message_v3 msg_par4 = return-message_v4 severity = 0 " Error table not used reaction = reaction TABLES error_table = error_table.

BAPI_BEN_BUS3029_CHECK_SELECT CALL FUNCTION 'BAPI_BEN_BUS3029_CHECK_SELECT' EXPORTING event = event IMPORTING return = return TABLES credit_selection = credit_selection health_selection = health_selection insurance_selection = insure_selection savings_selection = saving_selection spending_selection = spenda_selection miscel_selection = miscel_selection stockp_selection = stockp_selection depend_selection = dep_selection benef_selection = ben_selection invest_selection = inv_selection doc_required_health = doc_required_health doc_required_insurance = doc_required_insure.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = header_info-pernr msg_class = return-id msg_number = return-number msg_par1 = return-message_v1 msg_par2 = return-message_v2 msg_par3 = return-message_v3 msg_par4 = return-message_v4 severity = 0 " Error table not used reaction = success_msg" Browser can't handle TABLES " an error error_table = error_table.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = header_info-pernr msg_class = msg_class8 msg_number = '034' msg_par1 = '' msg_par2 = '' msg_par3 = '' msg_par4 = '' severity = 0 " Error table not used reaction = reaction TABLES error_table = error_table.

BAPI_BEN_BUS3029_DELETE_PLANS * CALL FUNCTION 'BAPI_BEN_BUS3029_DELETE_PLANS' PERFORM frm_fbn_bus3029_delete_plans TABLES credit_selection health_selection insure_selection saving_selection spenda_selection miscel_selection stockp_selection USING header_info-pernr CHANGING return.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = header_info-pernr msg_class = return-id msg_number = return-number msg_par1 = return-message_v1 msg_par2 = return-message_v2 msg_par3 = return-message_v3 msg_par4 = return-message_v4 severity = 0 " Error table not used reaction = reaction " Browser can't handle TABLES " an error error_table = error_table.

BAPI_BEN_BUS3029_CREATE_PLANS





* CALL FUNCTION 'BAPI_BEN_BUS3029_CREATE_PLANS' PERFORM frm_fbn_bus3029_create_plans TABLES credit_selection health_selection insure_selection saving_selection spenda_selection miscel_selection stockp_selection dep_selection ben_selection inv_selection USING header_info-pernr event CHANGING return.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = header_info-pernr msg_class = return-id msg_number = return-number msg_par1 = return-message_v1 msg_par2 = return-message_v2 msg_par3 = return-message_v3 msg_par4 = return-message_v4 severity = 0 " Error table not used reaction = reaction " Browser can't handle TABLES " an error error_table = error_table.

BAPI_BEN_BENADJREAS_CALC_ENDDA CALL FUNCTION 'BAPI_BEN_BENADJREAS_CALC_ENDDA' EXPORTING employeenumber = selected_reason-person_no subtype = selected_reason-event objectid = selected_reason-object_identification lockindicator = selected_reason-lockindic validityend = selected_reason-to_date validitybegin = selected_reason-from_date recordnumber = selected_reason-seqnr adjustdate = header_info-valdt IMPORTING calculatedenddate = delimit_date return = return.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = header_info-pernr msg_class = return-id msg_number = return-number msg_par1 = return-message_v1 msg_par2 = return-message_v2 msg_par3 = return-message_v3 msg_par4 = return-message_v4 severity = 0 " Error table not used reaction = reaction " Browser can't handle TABLES " an error error_table = error_table.

BAPI_BEN_BENADJREAS_DELIMIT CALL FUNCTION 'BAPI_BEN_BENADJREAS_DELIMIT' EXPORTING employeenumber = selected_reason-person_no subtype = selected_reason-event objectid = selected_reason-object_identification lockindicator = selected_reason-lockindic validityend = selected_reason-to_date validitybegin = selected_reason-from_date recordnumber = selected_reason-seqnr delimitdate = delimit_date IMPORTING return = return.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = header_info-pernr msg_class = return-id msg_number = return-number msg_par1 = return-message_v1 msg_par2 = return-message_v2 msg_par3 = return-message_v3 msg_par4 = return-message_v4 severity = 0 " Error table not used reaction = reaction " Browser can't handle TABLES " an error error_table = error_table.

BAPI_BEN_GENBENINFO_GET_OPENP * call function 'BAPI_BEN_GENBENINFO_GET_OPENP' * exporting * employeenumber = header_info-pernr * dateofvalidity = header_info-valdt * importing * openenrollmentbegin = open_begda * openenrollmentend = open_endda * isopenperiod = is_open_period * return = return.

HR_BEN_HANDLE_ERROR * call function 'HR_BEN_HANDLE_ERROR' * exporting * pernr = header_info-pernr * msg_class = return-id * msg_number = return-number * msg_par1 = return-message_v1 * msg_par2 = return-message_v2 * msg_par3 = return-message_v3 * msg_par4 = return-message_v4 * severity = 0 " Error table not used * reaction = reaction * tables * error_table = error_table.

BAPI_BEN_BENADJREAS_GET_LIST CALL FUNCTION 'BAPI_BEN_BENADJREAS_GET_LIST' EXPORTING employeenumber = header_info-pernr dateofvalidity = header_info-valdt IMPORTING return = return TABLES adjustment_reasons = adjust_reasons.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = header_info-pernr msg_class = return-id msg_number = return-number msg_par1 = return-message_v1 msg_par2 = return-message_v2 msg_par3 = return-message_v3 msg_par4 = return-message_v4 severity = 0 " Error table not used reaction = reaction TABLES error_table = error_table.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING msg_class = msg_class8 msg_number = '024' severity = 0 reaction = success_msg TABLES error_table = error_table.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MPZ63F00 or its description.