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

BEN62F02 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_CHECK_STAND_PLANS_EXIST CALL FUNCTION 'HR_BEN_CHECK_STAND_PLANS_EXIST' EXPORTING ee_benefit_data = ee_benefit_data reaction = no_msg IMPORTING automatic_exist = automatic_exist default_exist = default_exist subrc = subrc TABLES error_table = error_table.

HR_BEN_ENQUEUE_PERSONAL_NUMBER CALL FUNCTION 'HR_BEN_ENQUEUE_PERSONAL_NUMBER' EXPORTING pernr = i0171-pernr reaction = no_log IMPORTING subrc = subrc.

HR_INITIALIZE_BUFFER CALL FUNCTION 'HR_INITIALIZE_BUFFER'.

HR_BEN_READ_CREDIT_PLANS CALL FUNCTION 'HR_BEN_READ_CREDIT_PLANS' EXPORTING pernr = p_pernr barea = p_barea begda = datum endda = high_date reaction = no_msg TABLES ex_cred_plans = credit_exist error_table = temp_error_table.

HR_BEN_READ_HEALTH_PLANS CALL FUNCTION 'HR_BEN_READ_HEALTH_PLANS' EXPORTING pernr = p_pernr barea = p_barea begda = datum endda = high_date reaction = no_msg TABLES ex_heal_plans = health_exist error_table = temp_error_table.

HR_BEN_READ_INSURANCE_PLANS CALL FUNCTION 'HR_BEN_READ_INSURANCE_PLANS' EXPORTING pernr = p_pernr barea = p_barea begda = datum endda = high_date reaction = no_msg TABLES ex_insu_plans = insure_exist error_table = temp_error_table.

HR_BEN_READ_SAVINGS_PLANS CALL FUNCTION 'HR_BEN_READ_SAVINGS_PLANS' EXPORTING pernr = p_pernr barea = p_barea begda = datum endda = high_date reaction = no_msg TABLES ex_save_plans = saving_exist error_table = temp_error_table.

HR_BEN_READ_SPENDING_PLANS CALL FUNCTION 'HR_BEN_READ_SPENDING_PLANS' EXPORTING pernr = p_pernr barea = p_barea begda = datum endda = high_date reaction = no_msg TABLES ex_spen_plans = spenda_exist error_table = temp_error_table.

HR_BEN_READ_MISCEL_PLANS CALL FUNCTION 'HR_BEN_READ_MISCEL_PLANS' EXPORTING pernr = p_pernr barea = p_barea begda = datum endda = high_date reaction = no_msg TABLES ex_misc_plans = miscel_exist error_table = temp_error_table.

HR_BEN_READ_STOCKP_PLANS CALL FUNCTION 'HR_BEN_READ_STOCKP_PLANS' EXPORTING pernr = p_pernr barea = p_barea begda = datum endda = high_date reaction = no_msg TABLES ex_stck_plans = stockp_exist error_table = temp_error_table.

HR_BEN_READ_EE_BENEFIT_DATA call function 'HR_BEN_READ_EE_BENEFIT_DATA' exporting pernr = pernr datum = datum reaction = no_msg importing ee_benefit_data = ee_benefit_data subrc = subrc tables error_table = error_table.

HR_BEN_GET_CURRENCY call function 'HR_BEN_GET_CURRENCY' exporting barea = ee_benefit_data-barea datum = datum reaction = no_msg importing currency = curre subrc = subrc tables error_table = error_table.

HR_BEN_GET_OFFER call function 'HR_BEN_GET_OFFER' exporting pernr = pernr datum = datum enrollment_type = enrty desired_currency = curre reaction = no_log importing subrc = subrc tables credit_offer = credit_offer health_offer = health_offer insure_offer = insure_offer saving_offer = saving_offer spenda_offer = spenda_offer miscel_offer = miscel_offer stockp_offer = stockp_offer poss_dependents = depend_offer poss_beneficiaries = benefi_offer poss_investments = invest_offer error_table = error_table.

HR_BEN_HANDLE_ERROR call function 'HR_BEN_HANDLE_ERROR' exporting pernr = pernr msg_class = 'HRBEN00TREEREPORTS' msg_number = '028' severity = subrc reaction = no_msg tables error_table = error_table.

HR_BEN_FILL_STANDARD_SELECTION call function 'HR_BEN_FILL_STANDARD_SELECTION' exporting reaction = no_msg importing subrc = subrc tables credit_offer = credit_offer health_offer = health_offer insure_offer = insure_offer saving_offer = saving_offer spenda_offer = spenda_offer miscel_offer = miscel_offer stockp_offer = stockp_offer credit_selection = credit_selection health_selection = health_selection insure_selection = insure_selection saving_selection = saving_selection spenda_selection = spenda_selection miscel_selection = miscel_selection stockp_selection = stockp_selection error_table = error_table.

HR_BEN_READ_EXISTING_PLANS call function 'HR_BEN_READ_EXISTING_PLANS' exporting ee_benefit_data = ee_benefit_data bpcat = credits "Credit plans begda = datum endda = high_date reaction = no_log importing subrc = subrc tables existing_plans = existing_plans error_table = error_table.

HR_BEN_READ_EXISTING_PLANS call function 'HR_BEN_READ_EXISTING_PLANS' exporting ee_benefit_data = ee_benefit_data bpcat = health "Health plan begda = datum endda = high_date reaction = no_log importing subrc = subrc tables existing_plans = existing_plans error_table = error_table.

HR_BEN_READ_EXISTING_PLANS call function 'HR_BEN_READ_EXISTING_PLANS' exporting ee_benefit_data = ee_benefit_data bpcat = insurance "Insurance plan begda = datum endda = high_date reaction = no_log importing subrc = subrc tables existing_plans = existing_plans error_table = error_table.

HR_BEN_READ_EXISTING_PLANS





call function 'HR_BEN_READ_EXISTING_PLANS' exporting ee_benefit_data = ee_benefit_data bpcat = savings "saving plan begda = datum endda = high_date reaction = no_log importing subrc = subrc tables existing_plans = existing_plans error_table = error_table.

HR_BEN_READ_EXISTING_PLANS call function 'HR_BEN_READ_EXISTING_PLANS' exporting ee_benefit_data = ee_benefit_data bpcat = spending_accounts "FSA plans begda = datum endda = high_date reaction = no_log importing subrc = subrc tables existing_plans = existing_plans error_table = error_table.

HR_BEN_READ_EXISTING_PLANS call function 'HR_BEN_READ_EXISTING_PLANS' exporting ee_benefit_data = ee_benefit_data bpcat = miscellaneous "Miscellaneous plan begda = datum endda = high_date reaction = no_log importing subrc = subrc tables existing_plans = existing_plans error_table = error_table.

HR_BEN_READ_EXISTING_PLANS call function 'HR_BEN_READ_EXISTING_PLANS' exporting ee_benefit_data = ee_benefit_data bpcat = stock_purchase "stock purchase plan begda = datum endda = high_date reaction = no_log importing subrc = subrc tables existing_plans = existing_plans 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 BEN62F02 or its description.