SAP Reports / Programs | Personnel Management | Benefits(PA-BN) SAP PA

MPZ14F01 SAP ABAP INCLUDE - documentation and ABAP source code







MPZ14F01 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 MPZ14F01 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 MPZ14F01. "Basic submit
SUBMIT MPZ14F01 AND RETURN. "Return to original report after report execution complete
SUBMIT MPZ14F01 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 MPZ14F01

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:

HR_BEN_MAP_BAPI_TO_RPBEN_SA call function 'HR_BEN_MAP_BAPI_TO_RPBEN_SA' exporting bapiben_sa = health_selection changing rpben_sa = health_plan exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_TEST_ADMIN_HEALTH_EOIRQ call function 'HR_BEN_TEST_ADMIN_HEALTH_EOIRQ' exporting health_plan = health_plan datum = health_plan-begda reaction = success_msg importing test_status = test_status subrc = subrc tables test_errors = error_table error_table = error_table.

HR_BEN_CALC_EOI_END_OF_GRACE call function 'HR_BEN_CALC_EOI_END_OF_GRACE' exporting barea = health_plan-barea bplan = health_plan-bplan datum = sy-datum begda = health_plan-begda reaction = success_msg importing eogrp = plan_info_a-eoi_endgra subrc = subrc tables error_table = error_table.

HR_BEN_MAP_BAPI_TO_RPBEN_SA call function 'HR_BEN_MAP_BAPI_TO_RPBEN_SA' exporting bapiben_sa = health_selection changing rpben_sa = health_plan exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_TEST_ADMIN_HEALTH_EOIRQ call function 'HR_BEN_TEST_ADMIN_HEALTH_EOIRQ' exporting health_plan = health_plan datum = health_plan-begda reaction = success_msg importing test_status = test_status subrc = subrc tables test_errors = error_table error_table = error_table.

HR_BEN_CALC_EOI_END_OF_GRACE call function 'HR_BEN_CALC_EOI_END_OF_GRACE' exporting barea = health_plan-barea bplan = health_plan-bplan datum = sy-datum begda = health_plan-begda reaction = success_msg importing eogrp = plan_info_a-eoi_endgra subrc = subrc tables error_table = error_table.

HR_BEN_MAP_BAPI_TO_RPBEN_SB call function 'HR_BEN_MAP_BAPI_TO_RPBEN_SB' exporting bapiben_sb = insure_selection changing rpben_sb = insure_plan exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_TEST_ADMIN_INSURE_EOIRQ call function 'HR_BEN_TEST_ADMIN_INSURE_EOIRQ' exporting insure_plan = insure_plan datum = insure_plan-begda reaction = success_msg importing test_status = test_status subrc = subrc tables test_errors = error_table error_table = error_table.

HR_BEN_CALC_EOI_END_OF_GRACE call function 'HR_BEN_CALC_EOI_END_OF_GRACE' exporting barea = insure_plan-barea bplan = insure_plan-bplan datum = sy-datum begda = insure_plan-begda reaction = success_msg importing eogrp = plan_info_b-eoi_endgra subrc = subrc tables error_table = error_table.

HR_BEN_MAP_BAPI_TO_RPBEN_SB call function 'HR_BEN_MAP_BAPI_TO_RPBEN_SB' exporting bapiben_sb = insure_selection changing rpben_sb = insure_plan exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_TEST_ADMIN_INSURE_EOIRQ call function 'HR_BEN_TEST_ADMIN_INSURE_EOIRQ' exporting insure_plan = insure_plan datum = insure_plan-begda reaction = success_msg importing test_status = test_status subrc = subrc tables test_errors = error_table error_table = error_table.

HR_BEN_CALC_EOI_END_OF_GRACE call function 'HR_BEN_CALC_EOI_END_OF_GRACE' exporting barea = insure_plan-barea bplan = insure_plan-bplan datum = sy-datum begda = insure_plan-begda reaction = success_msg importing eogrp = plan_info_b-eoi_endgra subrc = subrc tables error_table = error_table.

HR_BEN_MAP_BAPI_TO_RPBEN_O1 call function 'HR_BEN_MAP_BAPI_TO_RPBEN_O1' exporting bapiben_o1 = credit_offer changing rpben_o1 = int_credit_offer exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAP_BAPI_TO_RPBEN_S1 call function 'HR_BEN_MAP_BAPI_TO_RPBEN_S1' exporting bapiben_s1 = credit_selection changing rpben_s1 = int_credit_selection exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAINTAIN_PLAN call function 'HR_BEN_MAINTAIN_PLAN' exporting barea = selected_plan-ben_area bplan = selected_plan-ben_plan begda = selected_plan-from_date sprps = selected_plan-lockindic bpcat = selected_plan-plan_categ enrolled = selected_plan-enrolled event_description = event_description its_compatible = true reaction = reaction importing subrc = subrc tables credit_offer = int_credit_offer credit_selection = int_credit_selection error_table = error_table.

HR_BEN_MAP_RPBEN_S1_TO_BAPI call function 'HR_BEN_MAP_RPBEN_S1_TO_BAPI' exporting rpben_s1 = int_credit_selection changing bapiben_s1 = credit_selection exceptions error_converting_curr_amount = 1 others = 2.

BAPI_BEN_BUS302901_GET_POS_DEP call function 'BAPI_BEN_BUS302901_GET_POS_DEP' exporting employeenumber = header_info-pernr dateofvalidity = selected_plan-from_date plantype = selected_plan-plan_type importing return = return tables health_offer = health_offer possible_dependents = poss_dependents.

HR_BEN_MAP_BAPI_TO_RPBEN_OA call function 'HR_BEN_MAP_BAPI_TO_RPBEN_OA' exporting bapiben_oa = health_offer changing rpben_oa = int_health_offer exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAP_BAPI_TO_RPBENODP





call function 'HR_BEN_MAP_BAPI_TO_RPBENODP' exporting bapibenodp = poss_dependents changing rpbenodp = int_poss_dependents.

HR_BEN_ADJUST_HEALTH_OFFER call function 'HR_BEN_ADJUST_HEALTH_OFFER' exporting reaction = reaction importing subrc = subrc tables health_offer = int_health_offer poss_dependents = int_poss_dependents error_table = error_table.

HR_BEN_MAP_BAPI_TO_RPBEN_SA call function 'HR_BEN_MAP_BAPI_TO_RPBEN_SA' exporting bapiben_sa = health_selection changing rpben_sa = int_health_selection exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAP_BAPI_TO_RPBENSDP call function 'HR_BEN_MAP_BAPI_TO_RPBENSDP' exporting bapibensdp = dep_selection changing rpbensdp = int_dep_selection.

HR_BEN_MAINTAIN_PLAN call function 'HR_BEN_MAINTAIN_PLAN' exporting barea = selected_plan-ben_area bplan = selected_plan-ben_plan begda = selected_plan-from_date sprps = selected_plan-lockindic bpcat = selected_plan-plan_categ enrolled = selected_plan-enrolled event_description = event_description its_compatible = true reaction = reaction importing subrc = subrc tables health_offer = int_health_offer dependents_offer = int_poss_dependents health_selection = int_health_selection dependents_selection = int_dep_selection error_table = error_table.

HR_BEN_MAP_RPBEN_SA_TO_BAPI call function 'HR_BEN_MAP_RPBEN_SA_TO_BAPI' exporting rpben_sa = int_health_selection changing bapiben_sa = health_selection exceptions error_converting_curr_amount = 1 others = 2.

HR_BEN_MAP_RPBENSDP_TO_BAPI call function 'HR_BEN_MAP_RPBENSDP_TO_BAPI' exporting rpbensdp = int_dep_selection changing bapibensdp = dep_selection.

BAPI_BEN_BUS302902_GET_POS_BEN call function 'BAPI_BEN_BUS302902_GET_POS_BEN' exporting employeenumber = header_info-pernr dateofvalidity = selected_plan-from_date plantype = selected_plan-plan_type importing return = return tables insurance_offer = insure_offer poss_beneficiaries = poss_beneficiaries.

HR_BEN_MAP_BAPI_TO_RPBEN_OB call function 'HR_BEN_MAP_BAPI_TO_RPBEN_OB' exporting bapiben_ob = insure_offer changing rpben_ob = int_insure_offer exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAP_BAPI_TO_RPBENOBF call function 'HR_BEN_MAP_BAPI_TO_RPBENOBF' exporting bapibenobf = poss_beneficiaries changing rpbenobf = int_poss_beneficiaries.

HR_BEN_MAP_BAPI_TO_RPBEN_SB call function 'HR_BEN_MAP_BAPI_TO_RPBEN_SB' exporting bapiben_sb = insure_selection changing rpben_sb = int_insure_selection exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAP_BAPI_TO_RPBENSBF call function 'HR_BEN_MAP_BAPI_TO_RPBENSBF' exporting bapibensbf = ben_selection changing rpbensbf = int_ben_selection.

HR_BEN_MAINTAIN_PLAN call function 'HR_BEN_MAINTAIN_PLAN' exporting barea = selected_plan-ben_area bplan = selected_plan-ben_plan begda = selected_plan-from_date sprps = selected_plan-lockindic bpcat = selected_plan-plan_categ enrolled = selected_plan-enrolled event_description = event_description its_compatible = true reaction = reaction importing subrc = subrc tables insure_offer = int_insure_offer beneficiaries_offer = int_poss_beneficiaries insure_selection = int_insure_selection beneficiaries_selection = int_ben_selection error_table = error_table.

HR_BEN_MAP_RPBEN_SB_TO_BAPI call function 'HR_BEN_MAP_RPBEN_SB_TO_BAPI' exporting rpben_sb = int_insure_selection changing bapiben_sb = insure_selection exceptions error_converting_curr_amount = 1 others = 2.

HR_BEN_MAP_RPBENSBF_TO_BAPI call function 'HR_BEN_MAP_RPBENSBF_TO_BAPI' exporting rpbensbf = int_ben_selection changing bapibensbf = ben_selection.

BAPI_BEN_BUS302903_GET_POS_BEN call function 'BAPI_BEN_BUS302903_GET_POS_BEN' exporting employeenumber = header_info-pernr dateofvalidity = selected_plan-from_date plantype = selected_plan-plan_type importing return = return tables savings_offer = saving_offer poss_beneficiaries = poss_beneficiaries.

BAPI_BEN_BUS302903_GET_POS_INV call function 'BAPI_BEN_BUS302903_GET_POS_INV' exporting employeenumber = header_info-pernr dateofvalidity = selected_plan-from_date plantype = selected_plan-plan_type importing return = return tables savings_offer = saving_offer possible_investments = poss_investments.

HR_BEN_MAP_BAPI_TO_RPBEN_OC call function 'HR_BEN_MAP_BAPI_TO_RPBEN_OC' exporting bapiben_oc = saving_offer changing rpben_oc = int_saving_offer exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAP_BAPI_TO_RPBENOBF call function 'HR_BEN_MAP_BAPI_TO_RPBENOBF' exporting bapibenobf = poss_beneficiaries changing rpbenobf = int_poss_beneficiaries.

HR_BEN_MAP_BAPI_TO_RPBENOIV call function 'HR_BEN_MAP_BAPI_TO_RPBENOIV' exporting bapibenoiv = poss_investments changing rpbenoiv = int_poss_investments exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.




HR_BEN_MAP_BAPI_TO_RPBEN_SC call function 'HR_BEN_MAP_BAPI_TO_RPBEN_SC' exporting bapiben_sc = saving_selection changing rpben_sc = int_saving_selection exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAP_BAPI_TO_RPBENSBF call function 'HR_BEN_MAP_BAPI_TO_RPBENSBF' exporting bapibensbf = ben_selection changing rpbensbf = int_ben_selection.

HR_BEN_MAP_BAPI_TO_RPBENSIV call function 'HR_BEN_MAP_BAPI_TO_RPBENSIV' exporting bapibensiv = inv_selection changing rpbensiv = int_inv_selection exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAINTAIN_PLAN call function 'HR_BEN_MAINTAIN_PLAN' exporting barea = selected_plan-ben_area bplan = selected_plan-ben_plan begda = selected_plan-from_date sprps = selected_plan-lockindic bpcat = selected_plan-plan_categ enrolled = selected_plan-enrolled event_description = event_description its_compatible = true reaction = reaction importing subrc = subrc tables saving_offer = int_saving_offer beneficiaries_offer = int_poss_beneficiaries investments_offer = int_poss_investments saving_selection = int_saving_selection beneficiaries_selection = int_ben_selection investments_selection = int_inv_selection error_table = error_table.

HR_BEN_MAP_RPBEN_SC_TO_BAPI call function 'HR_BEN_MAP_RPBEN_SC_TO_BAPI' exporting rpben_sc = int_saving_selection changing bapiben_sc = saving_selection exceptions error_converting_curr_amount = 1 others = 2.

HR_BEN_MAP_RPBENSBF_TO_BAPI call function 'HR_BEN_MAP_RPBENSBF_TO_BAPI' exporting rpbensbf = int_ben_selection changing bapibensbf = ben_selection.

HR_BEN_MAP_RPBENSIV_TO_BAPI call function 'HR_BEN_MAP_RPBENSIV_TO_BAPI' exporting rpbensiv = int_inv_selection changing bapibensiv = inv_selection exceptions error_converting_curr_amount = 1 others = 2.

HR_BEN_MAP_BAPI_TO_RPBEN_OD call function 'HR_BEN_MAP_BAPI_TO_RPBEN_OD' exporting bapiben_od = spenda_offer changing rpben_od = int_spenda_offer exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAP_BAPI_TO_RPBEN_SD call function 'HR_BEN_MAP_BAPI_TO_RPBEN_SD' exporting bapiben_sd = spenda_selection changing rpben_sd = int_spenda_selection exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAINTAIN_PLAN call function 'HR_BEN_MAINTAIN_PLAN' exporting barea = selected_plan-ben_area bplan = selected_plan-ben_plan begda = selected_plan-from_date sprps = selected_plan-lockindic bpcat = selected_plan-plan_categ enrolled = selected_plan-enrolled event_description = event_description its_compatible = true reaction = reaction importing subrc = subrc tables spenda_offer = int_spenda_offer spenda_selection = int_spenda_selection error_table = error_table.

HR_BEN_MAP_RPBEN_SD_TO_BAPI call function 'HR_BEN_MAP_RPBEN_SD_TO_BAPI' exporting rpben_sd = int_spenda_selection changing bapiben_sd = spenda_selection exceptions error_converting_curr_amount = 1 others = 2.

BAPI_BEN_BUS302906_GET_POS_DEP call function 'BAPI_BEN_BUS302906_GET_POS_DEP' exporting employeenumber = header_info-pernr dateofvalidity = selected_plan-from_date plantype = selected_plan-plan_type importing return = return tables miscel_offer = miscel_offer possible_dependents = poss_dependents.

BAPI_BEN_BUS302906_GET_POS_BEN call function 'BAPI_BEN_BUS302906_GET_POS_BEN' exporting employeenumber = header_info-pernr dateofvalidity = selected_plan-from_date plantype = selected_plan-plan_type importing return = return tables miscel_offer = miscel_offer poss_beneficiaries = poss_beneficiaries.

BAPI_BEN_BUS302906_GET_POS_INV call function 'BAPI_BEN_BUS302906_GET_POS_INV' exporting employeenumber = header_info-pernr dateofvalidity = selected_plan-from_date plantype = selected_plan-plan_type importing return = return tables miscel_offer = miscel_offer possible_investments = poss_investments.

HR_BEN_MAP_BAPI_TO_RPBEN_OE call function 'HR_BEN_MAP_BAPI_TO_RPBEN_OE' exporting bapiben_oe = miscel_offer changing rpben_oe = int_miscel_offer exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAP_BAPI_TO_RPBENODP call function 'HR_BEN_MAP_BAPI_TO_RPBENODP' exporting bapibenodp = poss_dependents changing rpbenodp = int_poss_dependents.

HR_BEN_MAP_BAPI_TO_RPBENOBF call function 'HR_BEN_MAP_BAPI_TO_RPBENOBF' exporting bapibenobf = poss_beneficiaries changing rpbenobf = int_poss_beneficiaries.

HR_BEN_MAP_BAPI_TO_RPBENOIV call function 'HR_BEN_MAP_BAPI_TO_RPBENOIV' exporting bapibenoiv = poss_investments changing rpbenoiv = int_poss_investments exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAP_BAPI_TO_RPBEN_SE call function 'HR_BEN_MAP_BAPI_TO_RPBEN_SE' exporting bapiben_se = miscel_selection changing rpben_se = int_miscel_selection exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAP_BAPI_TO_RPBENSDP call function 'HR_BEN_MAP_BAPI_TO_RPBENSDP' exporting bapibensdp = dep_selection changing rpbensdp = int_dep_selection.

HR_BEN_MAP_BAPI_TO_RPBENSBF call function 'HR_BEN_MAP_BAPI_TO_RPBENSBF' exporting bapibensbf = ben_selection changing rpbensbf = int_ben_selection.

HR_BEN_MAP_BAPI_TO_RPBENSIV call function 'HR_BEN_MAP_BAPI_TO_RPBENSIV' exporting bapibensiv = inv_selection changing rpbensiv = int_inv_selection exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAINTAIN_PLAN call function 'HR_BEN_MAINTAIN_PLAN' exporting barea = selected_plan-ben_area bplan = selected_plan-ben_plan begda = selected_plan-from_date sprps = selected_plan-lockindic bpcat = selected_plan-plan_categ enrolled = selected_plan-enrolled event_description = event_description its_compatible = true reaction = reaction importing subrc = subrc tables miscel_offer = int_miscel_offer dependents_offer = int_poss_dependents beneficiaries_offer = int_poss_beneficiaries investments_offer = int_poss_investments miscel_selection = int_miscel_selection dependents_selection = int_dep_selection beneficiaries_selection = int_ben_selection investments_selection = int_inv_selection error_table = error_table.

HR_BEN_MAP_RPBEN_SE_TO_BAPI call function 'HR_BEN_MAP_RPBEN_SE_TO_BAPI' exporting rpben_se = int_miscel_selection changing bapiben_se = miscel_selection exceptions error_converting_curr_amount = 1 others = 2.

HR_BEN_MAP_RPBENSDP_TO_BAPI call function 'HR_BEN_MAP_RPBENSDP_TO_BAPI' exporting rpbensdp = int_dep_selection changing bapibensdp = dep_selection.

HR_BEN_MAP_RPBENSBF_TO_BAPI call function 'HR_BEN_MAP_RPBENSBF_TO_BAPI' exporting rpbensbf = int_ben_selection changing bapibensbf = ben_selection.

HR_BEN_MAP_RPBENSIV_TO_BAPI call function 'HR_BEN_MAP_RPBENSIV_TO_BAPI' exporting rpbensiv = int_inv_selection changing bapibensiv = inv_selection exceptions error_converting_curr_amount = 1 others = 2.

BAPI_BEN_BUS302907_GET_POS_BEN call function 'BAPI_BEN_BUS302907_GET_POS_BEN' exporting employeenumber = header_info-pernr dateofvalidity = selected_plan-from_date plantype = selected_plan-plan_type importing return = return tables stockp_offer = stockp_offer poss_beneficiaries = poss_beneficiaries.

HR_BEN_MAP_BAPI_TO_RPBEN_OF call function 'HR_BEN_MAP_BAPI_TO_RPBEN_OF' exporting bapiben_of = stockp_offer changing rpben_of = int_stockp_offer exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAP_BAPI_TO_RPBENOBF call function 'HR_BEN_MAP_BAPI_TO_RPBENOBF' exporting bapibenobf = poss_beneficiaries changing rpbenobf = int_poss_beneficiaries.

HR_BEN_MAP_BAPI_TO_RPBEN_SF call function 'HR_BEN_MAP_BAPI_TO_RPBEN_SF' exporting bapiben_sf = stockp_selection changing rpben_sf = int_stockp_selection exceptions error_converting_iso_code = 1 error_converting_curr_amount = 2 others = 3.

HR_BEN_MAP_BAPI_TO_RPBENSBF call function 'HR_BEN_MAP_BAPI_TO_RPBENSBF' exporting bapibensbf = ben_selection changing rpbensbf = int_ben_selection.

HR_BEN_MAINTAIN_PLAN call function 'HR_BEN_MAINTAIN_PLAN' exporting barea = selected_plan-ben_area bplan = selected_plan-ben_plan begda = selected_plan-from_date sprps = selected_plan-lockindic bpcat = selected_plan-plan_categ enrolled = selected_plan-enrolled event_description = event_description its_compatible = true reaction = reaction importing subrc = subrc tables stockp_offer = int_stockp_offer beneficiaries_offer = int_poss_beneficiaries stockp_selection = int_stockp_selection beneficiaries_selection = int_ben_selection error_table = error_table.

HR_BEN_MAP_RPBEN_SF_TO_BAPI call function 'HR_BEN_MAP_RPBEN_SF_TO_BAPI' exporting rpben_sf = int_stockp_selection changing bapiben_sf = stockp_selection exceptions error_converting_curr_amount = 1 others = 2.

HR_BEN_MAP_RPBENSBF_TO_BAPI call function 'HR_BEN_MAP_RPBENSBF_TO_BAPI' exporting rpbensbf = int_ben_selection changing bapibensbf = ben_selection.



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 MPZ14F01 or its description.