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

ROIUREP_TX_F01 SAP ABAP INCLUDE - Include ROIUREP_TX_F01 Commonly used subroutines







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


Text pool values


Title: Include ROIUREP_TX_F01 Commonly used subroutines


INCLUDES used within this REPORT ROIUREP_TX_F01

$$INCLUDE ROIUP_000000000000493.
$$INCLUDE ROIUP_000000000000494.


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_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_INITIALIZE_DATA CALL FUNCTION 'OIUREP_FG1_INITIALIZE_DATA' EXPORTING I_AGENCY = c_agency I_REP_NAME = c_rep_name I_LOG_HANDLE = gs_log_handle.

OIUREP_FG1_SUB_REP_RANGE CALL FUNCTION 'OIUREP_FG1_SUB_REP_RANGE' EXPORTING i_agency = c_agency i_submit_nm = gs_rrst-rep_name TABLES t_rep_range = gt_rep_range.

OIUREP_FG1_GET_UOM CALL FUNCTION 'OIUREP_FG1_GET_UOM' EXPORTING i_agency = c_agency i_rep_name = lf_rep_name i_prd_dt = w_end_dt TABLES t_uom = gt_uom_tab EXCEPTIONS uom_not_found = 1 OTHERS = 2.

OIUREP_FG1_SELECT_OPER_CONTACT CALL FUNCTION 'OIUREP_FG1_SELECT_OPER_CONTACT' EXPORTING I_AGENCY = c_agency I_REP_NAME = gs_rrst-rep_name I_ORG_LVL_1 = org1 I_ORG_LVL_2 = org2 I_ORG_LVL_3 = org3 I_ORG_LVL_4 = org4 I_BEG_DATE = w_beg_dt I_END_DATE = w_end_dt IMPORTING E_OPERATOR_CODE = lf_operator_number E_OPERATOR_NAME = lf_operator_name E_CONTACT_PHONE = lf_phone E_CONTACT_NAME = lf_contact_name E_CONTACT_STREET = lf_contact_address E_CONTACT_CITY = lf_contact_city E_CONTACT_STATE = lf_contact_state E_CONTACT_ZIP = lf_contact_zip E_CONTACT_TITLE = lf_contact_title.

OIUREP_FG1_GET_DESCRIPTION CALL FUNCTION 'OIUREP_FG1_GET_DESCRIPTION' EXPORTING i_agency = c_agency i_rep_name = c_rep_name i_fieldname = 'SPECIAL_PROJECT' i_fieldvalue = gs_master_tb-special_project IMPORTING e_description = gs_tx_header-special_project EXCEPTIONS fieldname_value_not_found = 0 OTHERS = 0.

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.



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