SAP Reports / Programs | Production and Revenue Accounting | Industry Solution Oil | Production and Revenue Accounting(IS-OIL-PRA) SAP IS

ROIUREP_TX_PR_FORM SAP ABAP Report - Program ROIUREP_TX_PR_FORM







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


Text pool values


Title: Program ROIUREP_TX_PR_FORM


INCLUDES used within this REPORT ROIUREP_TX_PR_FORM

INCLUDE ROIUREP_STANDARD_INCLUDE_TOP.
INCLUDE ROIUREP_TX_PR_TOP.
INCLUDE ROIUREP_ADJUST_QUANTITIES.
INCLUDE ROIUREP_REPORTS_O01.
INCLUDE ROIUREP_TX_PR_F01.
INCLUDE ROIUREP_TX_PR_FORM_F01.


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 = '11' lock_and_hold = 'X' commit_and_wait = ' ' agency = c_agency rep_name = c_rep_name org1 = org1 year = year month = month 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_FG1_ERROR_MESSAGE CALL FUNCTION 'OIUREP_FG1_ERROR_MESSAGE' "#EC * EXPORTING i_log_handle = gs_log_handle i_msgty = sy-msgty i_msgno = sy-msgno i_msgid = sy-msgid i_var1 = sy-msgv1 i_var2 = sy-msgv2 i_var3 = sy-msgv3 i_var4 = sy-msgv4 EXCEPTIONS app_log_error = 1 OTHERS = 2.

OIUREP_FG1_CHECK_REPORT_ERROR CALL FUNCTION 'OIUREP_FG1_CHECK_REPORT_ERROR' IMPORTING e_error_flg = gf_error_flg.

OIUREP_FG1_CALC_FIRST_LAST_DAY CALL FUNCTION 'OIUREP_FG1_CALC_FIRST_LAST_DAY' EXPORTING i_year = gs_master_tb-rwc_prd_dt+0(4) i_month = gs_master_tb-rwc_prd_dt+4(2) IMPORTING e_beg_dt = w_beg_dt e_end_dt = w_end_dt e_prev_beg_dt = w_prev_beg_dt e_prev_end_dt = w_prev_end_dt e_beg_dt_000000 = w_beg_dt_000000 e_beg_dt_240000 = w_beg_dt_240000 e_end_dt_000000 = w_end_dt_000000 e_end_dt_240000 = w_end_dt_240000.

OIUREP_FG1_CALC_FIRST_LAST_DAY CALL FUNCTION 'OIUREP_FG1_CALC_FIRST_LAST_DAY' EXPORTING i_year = year i_month = month IMPORTING e_beg_dt = w_beg_dt e_end_dt = w_end_dt e_prev_beg_dt = w_prev_beg_dt e_prev_end_dt = w_prev_end_dt e_beg_dt_000000 = w_beg_dt_000000 e_beg_dt_240000 = w_beg_dt_240000 e_end_dt_000000 = w_end_dt_000000 e_end_dt_240000 = w_end_dt_240000.

OIUREP_FG1_FORMAT_WC_FOR_OUTP CALL FUNCTION 'OIUREP_FG1_FORMAT_WC_FOR_OUTP' EXPORTING i_wl_no = gs_master_tb-wl_no i_wc_no = gs_master_tb-wc_no IMPORTING e_wl_wc = gf_wl_wc.

OIUREP_FG1_SELECT_WL_DATA CALL FUNCTION 'OIUREP_FG1_SELECT_WL_DATA' EXPORTING i_wl_no = gs_master_tb-wl_no IMPORTING e_oiu_pr_well = w_oiu_pr_well EXCEPTIONS wl_not_found = 0 OTHERS = 0.

OIUREP_FG1_SELECT_WCDVLH_W_TRN CALL FUNCTION 'OIUREP_FG1_SELECT_WCDVLH_W_TRN' EXPORTING i_wl_no = gs_master_tb-wl_no i_wc_no = gs_master_tb-wc_no i_agency = c_agency i_beg_dt = w_beg_dt i_end_dt = w_end_dt i_prev_beg_dt = w_prev_beg_dt i_prev_end_dt = w_prev_end_dt i_clear_ind = c_yes TABLES t_wcdvlh_tb = gt_wcdvlh t_rep_range = gt_rep_range.

OIUREP_FG1_SELECT_WCDVLH_W_INV CALL FUNCTION 'OIUREP_FG1_SELECT_WCDVLH_W_INV' EXPORTING i_wl_no = gs_master_tb-wl_no i_wc_no = gs_master_tb-wc_no i_agency = c_agency i_beg_dt = w_beg_dt i_end_dt = w_end_dt i_prev_beg_dt = w_prev_beg_dt i_prev_end_dt = w_prev_end_dt i_clear_ind = c_no TABLES t_wcdvlh_tb = gt_wcdvlh t_rep_range = gt_rep_range.

OIUREP_FG1_SORT_UNDUP_WCDVLH CALL FUNCTION 'OIUREP_FG1_SORT_UNDUP_WCDVLH' EXPORTING i_wl_no = gs_master_tb-wl_no i_wc_no = gs_master_tb-wc_no i_agency = c_agency i_rpt_column = space i_beg_dt = w_beg_dt i_end_dt = w_end_dt TABLES t_wcdvlh = gt_wcdvlh t_rep_range = gt_rep_range.

OIUREP_FG1_ERROR_MESSAGE CALL FUNCTION 'OIUREP_FG1_ERROR_MESSAGE' "#EC * EXPORTING i_log_handle = gs_log_handle i_msgty = 'E' i_msgno = '045' i_msgid = c_oiurr i_var1 = sy-msgv1 i_var2 = sy-msgv2 i_var3 = sy-msgv3 i_var4 = sy-msgv4 EXCEPTIONS app_log_error = 1 OTHERS = 2.

OIUREP_FG1_ERROR_MESSAGE CALL FUNCTION 'OIUREP_FG1_ERROR_MESSAGE' "#EC * EXPORTING i_log_handle = gs_log_handle i_msgty = 'E' i_msgno = '046' i_msgid = c_oiurr i_var1 = sy-msgv1 i_var2 = sy-msgv2 i_var3 = sy-msgv3 i_var4 = sy-msgv4 EXCEPTIONS app_log_error = 1 OTHERS = 2.

OIUREP_FG1_CHECK_REPORT_ERROR CALL FUNCTION 'OIUREP_FG1_CHECK_REPORT_ERROR' IMPORTING e_error_flg = gf_error_flg.

OIUREP_FG1_CHECK_REPORT_ERROR CALL FUNCTION 'OIUREP_FG1_CHECK_REPORT_ERROR' IMPORTING e_error_flg = gf_error_flg.

OIUREP_REG_UPDATE_STATUS CALL FUNCTION 'OIUREP_REG_UPDATE_STATUS' "#EC * EXPORTING status = '12' lock_and_hold = 'X' commit_and_wait = ' ' IMPORTING log_handle = gs_log_handle 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_REG_UPDATE_STATUS CALL FUNCTION 'OIUREP_REG_UPDATE_STATUS' "#EC * EXPORTING status = '13' lock_and_hold = 'X' commit_and_wait = ' ' IMPORTING log_handle = gs_log_handle 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.



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