SAP Reports / Programs | Payroll | Sweden(PY-SE) SAP PY

RPREHBS0_ALV SAP ABAP INCLUDE - Include RPREHBS0_ALV







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


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 RPREHBS0_ALV. "Basic submit
SUBMIT RPREHBS0_ALV AND RETURN. "Return to original report after report execution complete
SUBMIT RPREHBS0_ALV VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include RPREHBS0_ALV


INCLUDES used within this REPORT RPREHBS0_ALV

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:

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.



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