RPREHBS0_ALV 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 RPREHBS0_ALV into the relevant SAP transactions such as SE38 or SE80
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.
Title: Include RPREHBS0_ALV
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lv_repid i_callback_top_of_page = 'TOP_OF_PAGE' i_callback_pf_status_set = lc_pf_status i_callback_user_command = lc_user_command it_excluding = it_extab is_layout = wa_layout it_fieldcat = it_fieldcat i_save = 'A' TABLES t_outtab = it_outlist1 EXCEPTIONS program_error = 0 OTHERS = 0.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lw_repid i_callback_top_of_page = 'TOP_OF_PAGE_TIMES' i_callback_pf_status_set = lc_pf_status i_callback_user_command = lc_user_command it_excluding = it_extab is_layout = wa_layout it_fieldcat = it_fieldcat it_sort = it_sort i_save = 'A' TABLES t_outtab = it_outlist EXCEPTIONS program_error = 0 OTHERS = 0.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-018 text_button_1 = 'Yes' icon_button_1 = 'ICON_OKAY ' text_button_2 = 'No' icon_button_2 = 'ICON_CANCEL ' display_cancel_button = '' IMPORTING answer = lv_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.
BAPI_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING number = wa_outlist1-pernr.
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = '0082' number = wa_outlist1-pernr subtype = 'REHB' record = i0082 operation = 'INS' dialog_mode = '1' EXCEPTIONS OTHERS = 0.
BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING number = wa_outlist1-pernr.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-018 text_button_1 = 'Yes' icon_button_1 = 'ICON_OKAY ' text_button_2 = 'No' icon_button_2 = 'ICON_CANCEL ' display_cancel_button = '' IMPORTING answer = lv_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.
BAPI_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING number = wa_outlist2-pernr.
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = '0082' number = wa_outlist2-pernr subtype = 'REHB' record = i0082 operation = 'INS' dialog_mode = '1' EXCEPTIONS OTHERS = 0.
BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING number = wa_outlist2-pernr.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = it_header.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = it_header_times.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.