SAP Reports / Programs | Royalty Reporting | Industry Solution Oil | Royalty Reporting(IS-OIL-PRA-REP-ROY) SAP IS

ROIUREP_ALL_FIN SAP ABAP Report - Regulatory Reporting MMS OGOR Finalization







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


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


Text pool values


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


INCLUDES used within this REPORT ROIUREP_ALL_FIN

INCLUDE ROIUREP_STANDARD_INCLUDE_TOP .
INCLUDE ROIUREP_OGOR_TOP.
INCLUDE ROIUREP_ALLF02.


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:

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.



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