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

BEN05F02 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_OPEN_ENROLL_PERIOD CALL FUNCTION 'HR_BEN_GET_OPEN_ENROLL_PERIOD' EXPORTING pernr = pernr-pernr datum = pn-begda reaction = no_msg IMPORTING is_open_period = is_open_period subrc = subrc TABLES error_table = error_table.

HR_BEN_GET_EVENT_LIST CALL FUNCTION 'HR_BEN_GET_EVENT_LIST' EXPORTING pernr = pernr-pernr datum = pn-begda reaction = no_msg IMPORTING subrc = subrc TABLES event_list = event_list error_table = error_table.

HR_BEN_FORM_PRINT_LIST CALL FUNCTION 'HR_BEN_FORM_PRINT_LIST' EXPORTING pernr_table = pernr_table[] form_datum = pn-begda form_type = enrollment_form event_descr_table = event_descr_table command = command reaction = no_msg IMPORTING result_table = result_table[] subrc = subrc TABLES error_table = temp_error_table.

HR_BEN_SET_PERSON_STATUS CALL FUNCTION 'HR_BEN_SET_PERSON_STATUS' EXPORTING reaction = no_log TABLES person_status = person_status person_warning_table = person_warnings person_error_table = person_errors.

HR_BEN_SET_SELECTED_PERSONS CALL FUNCTION 'HR_BEN_SET_SELECTED_PERSONS' EXPORTING reaction = no_log TABLES selected_persons = selected_persons.

HR_BEN_SHOW_ERROR_POPUP CALL FUNCTION 'HR_BEN_SHOW_ERROR_POPUP' EXPORTING title = text-e00 TABLES error_table = temp_error_table.

HR_BEN_GET_SELECTED_PERSON CALL FUNCTION 'HR_BEN_GET_SELECTED_PERSON' EXPORTING reaction = no_log IMPORTING selected_person = selected_person subrc = subrc.

HR_BEN_FORM_PRINT CALL FUNCTION 'HR_BEN_FORM_PRINT' EXPORTING pernr = selected_person-pernr begda = pn-begda event_description = event_descriptions form_datum = pn-begda form_type = enrollment_form command = form_display reaction = no_msg IMPORTING subrc = subrc TABLES error_table = temp_error_table.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = selected_person-pernr msg_class = msg_class17 msg_number = '003' severity = 8 reaction = no_msg TABLES error_table = temp_error_table.

HR_BEN_SHOW_ERROR_POPUP CALL FUNCTION 'HR_BEN_SHOW_ERROR_POPUP' EXPORTING title = text-e00 TABLES error_table = temp_error_table.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = selected_persons-pernr infty = '0021' begda = datum IMPORTING subrc = subrc TABLES infty_tab = i0021.

HR_BEN_COB_PRINT_GEN CALL FUNCTION 'HR_BEN_COB_PRINT_GEN' EXPORTING pernr_table = pernr_table[] begda = pn-begda endda = pn-endda enrollment_type = general_notice command = command language = sy-langu reaction = no_msg IMPORTING subrc = subrc TABLES error_table = error_table.

HR_BEN_SHOW_ERROR_POPUP CALL FUNCTION 'HR_BEN_SHOW_ERROR_POPUP' EXPORTING title = text-e00 TABLES error_table = error_table.

HR_BEN_SHOW_ERROR_POPUP CALL FUNCTION 'HR_BEN_SHOW_ERROR_POPUP' EXPORTING title = text-e00 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 BEN05F02 or its description.