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

BENCEWBF02 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_GET_FROM_FEATURE_BENGR call function 'HR_BEN_GET_FROM_FEATURE_BENGR' EXPORTING pernr = tree_data-pernr begda = key_date endda = key_date barea = tree_data-barea reaction = no_msg IMPORTING bengr = tree_data-default_bengr subrc = subrc TABLES error_table = error_table.

HR_BEN_GET_FROM_FEATURE_BSTAT call function 'HR_BEN_GET_FROM_FEATURE_BSTAT' EXPORTING pernr = tree_data-pernr begda = key_date endda = key_date barea = tree_data-barea reaction = no_msg IMPORTING bstat = tree_data-default_bstat subrc = subrc TABLES error_table = error_table.

HR_BEN_GET_FROM_FEATURE_BENGR call function 'HR_BEN_GET_FROM_FEATURE_BENGR' EXPORTING pernr = tree_data-pernr begda = key_date endda = key_date barea = new_barea reaction = no_log IMPORTING bengr = tree_data-bengr subrc = subrc TABLES error_table = l_error_table.

HR_BEN_GET_FROM_FEATURE_BSTAT call function 'HR_BEN_GET_FROM_FEATURE_BSTAT' EXPORTING pernr = tree_data-pernr begda = key_date endda = key_date barea = tree_data-barea reaction = no_log IMPORTING bstat = tree_data-bstat subrc = subrc TABLES error_table = l_error_table.

HR_BEN_GET_FROM_FEATURE_BENGR call function 'HR_BEN_GET_FROM_FEATURE_BENGR' EXPORTING pernr = tree_data-pernr begda = key_date endda = key_date barea = barea_selected pers_assignments = pernr_tab reaction = no_log IMPORTING bengr = tree_data-default_bengr subrc = subrc TABLES error_table = l_error_table.

HR_BEN_GET_FROM_FEATURE_BSTAT call function 'HR_BEN_GET_FROM_FEATURE_BSTAT' EXPORTING pernr = tree_data-pernr begda = key_date endda = key_date barea = barea_selected pers_assignments = pernr_tab reaction = no_log IMPORTING bstat = tree_data-default_bstat subrc = subrc TABLES error_table = l_error_table.

HR_BEN_GET_FROM_FEATURE_BAREA call function 'HR_BEN_GET_FROM_FEATURE_BAREA' EXPORTING pernr = tree_data-pernr begda = key_date endda = key_date reaction = no_log IMPORTING barea = rpbencewb-barea subrc = subrc TABLES error_table = l_error_table.

HR_BEN_CONVERT_BPCAT_TO_INFTY call function 'HR_BEN_CONVERT_BPCAT_TO_INFTY' EXPORTING bpcat = plan_data_contract-categ reaction = no_log IMPORTING infty = infty subrc = subrc TABLES error_table = l_error_table.

HR_BEN_CALL_INFOTYPE call function 'HR_BEN_CALL_INFOTYPE' EXPORTING pernr = plan_data_contract-pernr infty = infty subty = plan_data_contract-pltyp objps = space begda = plan_data_contract-begda endda = plan_data_contract-endda operation = 'DIS' reaction = error_msg IMPORTING subrc = subrc TABLES error_table = l_error_table.

HR_BEN_CALC_ENDDA_REASON call function 'HR_BEN_CALC_ENDDA_REASON' EXPORTING barea = adjrsn_data-barea adjust_reason = adjrsn_data-event begda = adjrsn_data-begda firsttime = true override = true reaction = no_log IMPORTING subrc = subrc TABLES error_table = l_error_table CHANGING endda = adjrsn_data-endda.

HR_BEN_GET_FROM_FEATURE_BENGR call function 'HR_BEN_GET_FROM_FEATURE_BENGR' EXPORTING pernr = tree_data_main-pernr begda = key_date endda = key_date barea = barea pers_assignments = pernr_tab reaction = no_log IMPORTING bengr = tree_data_main-default_bengr subrc = subrc TABLES error_table = l_error_table.

HR_BEN_GET_FROM_FEATURE_BSTAT call function 'HR_BEN_GET_FROM_FEATURE_BSTAT' EXPORTING pernr = tree_data_main-pernr begda = key_date endda = key_date barea = barea pers_assignments = pernr_tab reaction = no_log IMPORTING bstat = tree_data_main-default_bstat subrc = subrc TABLES error_table = l_error_table.

HR_BEN_HANDLE_ERROR call function 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = tree_data-pernr msg_class = msg_class_cce1 msg_number = '006' msg_par1 = tree_data-barea severity = 8 reaction = no_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 BENCEWBF02 or its description.