ROIUREP_FILE_UPLOAD_HISTORY 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 ROIUREP_FILE_UPLOAD_HISTORY 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: P_AGY = Agency
Selection Text: P_BUKRS = Company
Selection Text: P_FILE = File Name
Selection Text: P_FINAL = Final
Selection Text: P_IND = Oil / Gas Indicator
Selection Text: P_SIM = Simulation
Title: Report ROIUREP_FILE_UPLOAD_HISTORY
Text Symbol: 001 = Mode
Text Symbol: 003 = Execution parameters
Text Symbol: 004 = File details
Text Symbol: 006 = Record In Error
Text Symbol: 007 = Error Type
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
F4_FILENAME CALL FUNCTION 'F4_FILENAME' "allows user to select path/file EXPORTING program_name = 'ROIUREP_UPLOAD_HISTORY' dynpro_number = syst-dynnr field_name = 'p_file' IMPORTING file_name = p_file.
OIUREP_CREATE_ROYHIST CALL FUNCTION 'OIUREP_CREATE_ROYHIST' EXPORTING roy_exec_param = ls_exec_param EXCEPTIONS get_data_error = 1 hist_create_error = 2 no_first_yyyymm = 3 OTHERS = 4.
OIUREP_CREATE_VOLHIST CALL FUNCTION 'OIUREP_CREATE_VOLHIST' EXPORTING roy_exec_param = ls_exec_param EXCEPTIONS get_data_error = 1 hist_create_error = 2 no_first_yyyymm = 3 OTHERS = 4.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = ld_file filetype = 'ASC' TABLES data_tab = lt_file EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17.
OIUREP_ROY_GET_RPT_YYYYMM CALL FUNCTION 'OIUREP_ROY_GET_RPT_YYYYMM' EXPORTING roy_exec_param = ls_exec_param IMPORTING last_rpt_yyyymm = lf_lastyear_month next_rpt_yyyymm = lf_curryear_month.
OIUREP_GET_RPT_ENTTY CALL FUNCTION 'OIUREP_GET_RPT_ENTTY' EXPORTING roy_exec_param = ls_exec_param rpt_entty_key = ls_entty_key for_yyyymm = la_roydata-year_month_amnd TABLES rpt_entty = lt_entty EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 no_base_yyyymm = 4 OTHERS = 5.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = ld_file filetype = 'ASC' TABLES data_tab = lt_file EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17.
OIUREP_ROY_GET_RPT_YYYYMM CALL FUNCTION 'OIUREP_ROY_GET_RPT_YYYYMM' EXPORTING roy_exec_param = ls_exec_param IMPORTING last_rpt_yyyymm = lf_lastyear_month next_rpt_yyyymm = lf_curryear_month.
OIUREP_GET_RPT_ENTTY CALL FUNCTION 'OIUREP_GET_RPT_ENTTY' EXPORTING roy_exec_param = ls_exec_param rpt_entty_key = ls_entty_key for_yyyymm = la_voldata-year_month_amnd TABLES rpt_entty = lt_entty EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 no_base_yyyymm = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ROIUREP_FILE_UPLOAD_HISTORY - Report ROIUREP_FILE_UPLOAD_HISTORY ROIUREP_FILE_UPLOAD_HISTORY - Report ROIUREP_FILE_UPLOAD_HISTORY ROIUREP_FILEDATA - Save workarea of SO maintenance function group to DB ROIUREP_CREATE_VOLHIST - royalty report ROIUREP_CREATE_VOLHIST - royalty report ROIUREP_CREATE_ROYHIST - royalty report