ROIUREP_ALL_FIN 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_ALL_FIN 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: Regulatory Reporting MMS OGOR Finalization
Text Symbol: DWL = Download
Text Symbol: FNL = Final Processing
Text Symbol: PO1 = Are you sure you want to run final processing?
Text Symbol: PT1 = Final Processing
INCLUDE ROIUREP_STANDARD_INCLUDE_TOP .
INCLUDE ROIUREP_OGOR_TOP.
INCLUDE ROIUREP_ALLF02.
No SAP DATABASE tables are accessed within this REPORT code!
OIUREP_REG_UPDATE_STATUS CALL FUNCTION 'OIUREP_REG_UPDATE_STATUS' EXPORTING status = '21' lock_and_hold = 'X' commit_and_wait = ' ' IMPORTING log_handle = gs_log_handle e_rrst = gs_rrst TABLES t_rrst_det = gt_rrst_det CHANGING jobname = jobname EXCEPTIONS invalid_status = 1 error_locking_table_entry = 2 missing_required_field = 3 error_creating_app_log = 4 error_writing_to_app_log = 5 error_reading_run_entry = 6 error_loading_log_from_db = 7 error_saving_app_log_to_db = 8 error_refreshing_app_log = 9 error_opening_job = 10 error_creating_job_name = 11 error_executing_job_in_batch = 12 error_closing_job = 13 duplicate_run_entry = 14 invalid_status_change = 15 OTHERS = 16.
OIUREP_MONTH_FIRST_LAST * CALL FUNCTION 'OIUREP_MONTH_FIRST_LAST' "SOGK039850 SP * EXPORTING "SOGK039850 SP * i_month = gt_rrst_det-prod_month "SOGK039850 SP * i_year = gt_rrst_det-prod_year "SOGK039850 SP * IMPORTING "SOGK039850 SP * e_first_day = lf_low "SOGK039850 SP * e_last_day = lf_high "SOGK039850 SP * EXCEPTIONS "SOGK039850 SP * wrong_date = 1 "SOGK039850 SP * OTHERS = 2. "SOGK039850 SP
OIUREP_UPDATE_RWC * CALL FUNCTION 'OIUREP_UPDATE_RWC' IN UPDATE TASK * Start of EhP5 CI for Amended Report Versioning * If this is an Amended Report IF gs_rrst-ac_indicator <> 'C'. "EK5K001825 KG
OIUREP_UPDATE_RWC CALL FUNCTION 'OIUREP_UPDATE_RWC' EXPORTING i_mode = 'D' TABLES t_rwc = lt_rwc.
OIUREP_REG_UPDATE_STATUS CALL FUNCTION 'OIUREP_REG_UPDATE_STATUS' EXPORTING status = '22' lock_and_hold = 'X' commit_and_wait = ' ' TABLES t_rrst_det = gt_rrst_det CHANGING jobname = jobname EXCEPTIONS invalid_status = 1 error_locking_table_entry = 2 missing_required_field = 3 error_creating_app_log = 4 error_writing_to_app_log = 5 error_reading_run_entry = 6 error_loading_log_from_db = 7 error_saving_app_log_to_db = 8 error_refreshing_app_log = 9 error_opening_job = 10 error_creating_job_name = 11 error_executing_job_in_batch = 12 error_closing_job = 13 duplicate_run_entry = 14 invalid_status_change = 15 OTHERS = 16.
OIUREP_UPDATE_RWC * CALL FUNCTION 'OIUREP_UPDATE_RWC' IN UPDATE TASK IF gs_rrst-ac_indicator = 'A'. "SOGK039850 SP
OIUREP_UPDATE_RWC CALL FUNCTION 'OIUREP_UPDATE_RWC' EXPORTING i_mode = 'D' TABLES t_rwc = lt_nm_rwc.
OIUREP_UPDATE_RWC CALL FUNCTION 'OIUREP_UPDATE_RWC' EXPORTING i_mode = 'D' TABLES t_rwc = lt_rwc.
OIUREP_REG_UPDATE_STATUS CALL FUNCTION 'OIUREP_REG_UPDATE_STATUS' EXPORTING status = '23' lock_and_hold = 'X' commit_and_wait = ' ' CHANGING jobname = jobname EXCEPTIONS invalid_status = 1 error_locking_table_entry = 2 missing_required_field = 3 error_creating_app_log = 4 error_writing_to_app_log = 5 error_reading_run_entry = 6 error_loading_log_from_db = 7 error_saving_app_log_to_db = 8 error_refreshing_app_log = 9 error_opening_job = 10 error_creating_job_name = 11 error_executing_job_in_batch = 12 error_closing_job = 13 duplicate_run_entry = 14 invalid_status_change = 15 OTHERS = 16.
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_ALL_FIN - Regulatory Reporting MMS OGOR Finalization ROIUREP_ALL_FIN - Regulatory Reporting MMS OGOR Finalization ROIUREP_ALLF03 - Regulatory Reporting Generic Forms Include Program ROIUREP_ALLF02 - Production Regulatory Report Standard Include ROIUREP_ALLF01 - Include ROIUREP_OGOR_HISTORY_OLD ROIUREP_ADJUST_QUANTITIES - Include - adjust quantities