SAP Reports / Programs | Payroll(PY) SAP PY

HROCSIF0 SAP ABAP Report - SI - ER Commision for ITM







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


Text pool values


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_INSUF = D .
Selection Text: PA_FUNCT = Function
Selection Text: PA_FILE = File name
Selection Text: PA_BUKRS = D .
Selection Text: PA_ABKRS = D .
Title: SI - ER Commision for ITM
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: H02 = Sign
Text Symbol: H01 = Restriction
Text Symbol: E02 = Failure in export data to Microsoft Word
Text Symbol: E01 = No record in table T549Q for
Text Symbol: 001 = Transfer options


INCLUDES used within this REPORT HROCSIF0

INCLUDE HROICLS0.
INCLUDE HROIREP0.


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_F4_FOR_ALV_VARIANT CALL FUNCTION 'HR_F4_FOR_ALV_VARIANT' EXPORTING current_report = sy-repid IMPORTING variant = pa_alvar.

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_DOWNLOAD CALL FUNCTION 'HR_RO_DOWNLOAD' EXPORTING filename = write_file filetype = 'ASC' filetype_no_show = 'X' file_dialog = 'X' TABLES data_tab = it_txt_line.

HR_RO_DOWNLOAD CALL FUNCTION 'HR_RO_DOWNLOAD' EXPORTING filename = write_file filetype = 'ASC' filetype_no_show = 'X' file_dialog = 'X' TABLES data_tab = it_txt_line.

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_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.



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