HROCSIH0 is a standard Executable ABAP Report 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 HROCSIH0 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.
Selection Text: PA_TEL = Tel.
Selection Text: PA_PREA = First name
Selection Text: PA_NUMEA = Last name
Selection Text: PA_MAIL = Mail
Selection Text: PA_INSUH = D .
Selection Text: PA_HEHID = Health house
Selection Text: PA_FUNCT = Function
Selection Text: PA_FILE = File name
Selection Text: PA_BUKRS = D .
Selection Text: PA_ABKRS = D .
Title: SI - ER Sick Leave and Allowances
Text Symbol: S08 = Period
Text Symbol: S07 = Payroll Period
Text Symbol: S06 = Template
Text Symbol: S05 = Print form
Text Symbol: S04 = File name:
Text Symbol: S03 = Download
Text Symbol: S02 = ALV variant
Text Symbol: S01 = Display output data
Text Symbol: P06 = Preparing output ...
Text Symbol: P05 = Reading ER data ...
Text Symbol: P04 = Collecting contributions ...
Text Symbol: P03 = Reading contributions ...
Text Symbol: P02 = Checking PERNRs ....
Text Symbol: P01 = Initializing ...
Text Symbol: M01 = Print document and close MS Word for next declaration.
Text Symbol: H02 = Sign
Text Symbol: H01 = Restriction
Text Symbol: E02 = Failure in export data to Microsoft Word
Text Symbol: E01 = No PY results.
Text Symbol: 001 = Output options
INCLUDE HROICLS0.
INCLUDE HROIREP0.
No SAP DATABASE tables are accessed within this REPORT code!
HR_F4_FOR_ALV_VARIANT CALL FUNCTION 'HR_F4_FOR_ALV_VARIANT' EXPORTING current_report = sy-repid IMPORTING variant = pa_alvar.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid it_fieldcat = lt_fieldcat i_callback_user_command = 'ALV_CB_COMMAND' it_sort = lt_alv_sort is_variant = lv_variant TABLES t_outtab = it_dec EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid it_fieldcat = lt_fieldcat TABLES t_outtab = lt_alvbas EXCEPTIONS program_error = 1 OTHERS = 2.
HR_RO_DOWNLOAD CALL FUNCTION 'HR_RO_DOWNLOAD' EXPORTING filename = write_file filetype = 'DBF' filetype_no_show = 'X' TABLES data_tab = it_dbf fieldnames = it_header.
HR_RO_DOWNLOAD CALL FUNCTION 'HR_RO_DOWNLOAD' EXPORTING filename = write_file filetype = 'DBF' filetype_no_show = 'X' TABLES data_tab = it_dbf fieldnames = it_header.
HR_RO_SPLIT_COMPLETE_FILENAME CALL FUNCTION 'HR_RO_SPLIT_COMPLETE_FILENAME' EXPORTING complete_filename = lv_fnam IMPORTING drive = lv_drive path = lv_path EXCEPTIONS invalid_drive = 1 invalid_extension = 2 invalid_name = 3 invalid_path = 4 OTHERS = 5.
MS_WORD_OLE_FORMLETTER CALL FUNCTION 'MS_WORD_OLE_FORMLETTER' EXPORTING download_path = lv_downp word_document = pa_templ new_document = ' ' file_name = 'SAPDATA' TABLES data_tab = p_it_doc fieldnames = it_header EXCEPTIONS invalid_fieldnames = 1 user_cancelled = 2 download_problem = 3 communication_error = 4 OTHERS = 5.
PC_OLE_SERVER_CHECK CALL FUNCTION 'PC_OLE_SERVER_CHECK' IMPORTING down_load_path = path TABLES ole_server_app = ole_servers EXCEPTIONS unsupported_os = 01 unsupported_server = 02 no_ole_server_found = 03.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.