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

ROIUREP_OGOR_SUBROUTINES SAP ABAP INCLUDE - Include ROIUREP_OGOR_SUBROUTINES







ROIUREP_OGOR_SUBROUTINES 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_OGOR_SUBROUTINES 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_OGOR_SUBROUTINES. "Basic submit
SUBMIT ROIUREP_OGOR_SUBROUTINES AND RETURN. "Return to original report after report execution complete
SUBMIT ROIUREP_OGOR_SUBROUTINES 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_OGOR_SUBROUTINES


INCLUDES used within this REPORT ROIUREP_OGOR_SUBROUTINES

$$INCLUDE ROIUP_000000000000500 .
$$INCLUDE ROIUP_000000000000501 .
$$INCLUDE ROIUP_000000000000502 .


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_WELL_CLASS_SPLIT CALL FUNCTION 'OIUREP_FG1_WELL_CLASS_SPLIT' "SOGK039752 DA EXPORTING "SOGK039752 DA I_AGENCY = c_agency "SOGK039752 DA I_REP_NAME = c_new_rep_name_a "SOGK039752 DA I_FIELDNAME = 'WELL_STAT' "SOGK039752 DA I_OLD_VALUE = w_hold_mms_well_stat(2) "SOGK039752 DA I_CONTN_FL = w_wcvd_status_tb-contn_fl "SOGK039752 DA I_VT_CD = w_wcdvlh_tb-vt_cd "SOGK039752 DA I_MAJPD_CD = w_wcdvlh_tb-majpd_cd "SOGK039752 DA I_PD_CD = w_wcdvlh_tb-pd_cd "SOGK039752 DA I_QTY = w_wcdvlh_tb-std_vol "SOGK039752 DA I_DAYS_PROD = w_wcdvlh_tb-days_prod "SOGK039752 DA IMPORTING "SOGK039752 DA E_NEW_VALUE = w_hold_mms_well_stat(2) "SOGK039752 DA E_SPLIT_FOUND = l_split_found. "SOGK039752 DA

OIUREP_FG1_WELL_CLASS_SPLIT CALL FUNCTION 'OIUREP_FG1_WELL_CLASS_SPLIT' "SOGK039752 DA EXPORTING "SOGK039752 DA I_AGENCY = c_agency "SOGK039752 DA I_REP_NAME = c_new_rep_name_a "SOGK039752 DA I_FIELDNAME = 'WELL_STAT' "SOGK039752 DA I_OLD_VALUE = w_hold_mms_well_stat(2) "SOGK039752 DA I_CONTN_FL = w_wcvd_status_tb-contn_fl "SOGK039752 DA I_VT_CD = w_wcdvlh_tb-vt_cd "SOGK039752 DA I_MAJPD_CD = w_wcdvlh_tb-majpd_cd "SOGK039752 DA I_PD_CD = w_wcdvlh_tb-pd_cd "SOGK039752 DA I_QTY = w_wcdvlh_tb-std_vol "SOGK039752 DA I_DAYS_PROD = w_wcdvlh_tb-days_prod "SOGK039752 DA IMPORTING "SOGK039752 DA E_NEW_VALUE = w_hold_mms_well_stat(2) "SOGK039752 DA E_SPLIT_FOUND = l_split_found. "SOGK039752 DA

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' "SOGK030995 AR EXPORTING "SOGK030995 AR INPUT = W_WCDVLH_TB-ORIG_MP_NO "SOGK030995 AR IMPORTING "SOGK030995 AR OUTPUT = W_WCDVLH_TB-ORIG_MP_NO "SOGK030995 AR .

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' "SOGK030995 AR EXPORTING "SOGK030995 AR INPUT = W_WCDVLH_TB-ORIG_MP_NO "SOGK030995 AR IMPORTING "SOGK030995 AR OUTPUT = W_WCDVLH_TB-ORIG_MP_NO. "SOGK030995 AR

OIL_TIMESTAMP_TO_DATE CALL FUNCTION 'OIL_TIMESTAMP_TO_DATE' EXPORTING I_TSTAMP = ls_wctst-test_dt IMPORTING E_DATE = lf_date EXCEPTIONS INVALID_TIME_ZONE = 1 INVALID_TIMESTAMP = 2 OTHERS = 3.

OIL_TIMESTAMP_TO_DATE CALL FUNCTION 'OIL_TIMESTAMP_TO_DATE' EXPORTING I_TSTAMP = ls_wctst-test_dt IMPORTING E_DATE = lf_date EXCEPTIONS INVALID_TIME_ZONE = 1 INVALID_TIMESTAMP = 2 OTHERS = 3.

OIL_DATE_TO_TIMESTAMP CALL FUNCTION 'OIL_DATE_TO_TIMESTAMP' EXPORTING I_DATE = lf_date I_TIME = lf_sec IMPORTING E_TSTAMP = lf_tzone_ts EXCEPTIONS INVALID_DATE_OR_TIME = 1 INVALID_TIME_ZONE = 2 OTHERS = 3.

OIU_WC_DOWNTIME CALL FUNCTION 'OIU_WC_DOWNTIME' EXPORTING I_WL_NO = p_w_wcdvlh_tb_wl_no I_WC_NO = p_w_wcdvlh_tb_wc_no I_BEGIN_DT = lf_beg_dt I_END_DT = lf_end_dt I_STRM_TYPE_CD = ' ' IMPORTING E_DAYS_UP = lf_days_up EXCEPTIONS FATAL_ERROR = 1 INVALID_DATE = 2 OTHERS = 3.

OIL_TIMESTAMP_TO_DATE CALL FUNCTION 'OIL_TIMESTAMP_TO_DATE' EXPORTING I_TSTAMP = ls_wctst-test_dt IMPORTING E_DATE = lf_date EXCEPTIONS INVALID_TIME_ZONE = 1 INVALID_TIMESTAMP = 2 OTHERS = 3.

OIL_TIMESTAMP_TO_DATE CALL FUNCTION 'OIL_TIMESTAMP_TO_DATE' EXPORTING I_TSTAMP = ls_wctst-test_dt IMPORTING E_DATE = lf_date EXCEPTIONS INVALID_TIME_ZONE = 1 INVALID_TIMESTAMP = 2 OTHERS = 3.

OIL_DATE_TO_TIMESTAMP CALL FUNCTION 'OIL_DATE_TO_TIMESTAMP' EXPORTING I_DATE = lf_date I_TIME = lf_sec IMPORTING E_TSTAMP = lf_tzone_ts EXCEPTIONS INVALID_DATE_OR_TIME = 1 INVALID_TIME_ZONE = 2 OTHERS = 3.

OIU_WC_DOWNTIME CALL FUNCTION 'OIU_WC_DOWNTIME' EXPORTING I_WL_NO = p_w_wcdvlh_tb_wl_no I_WC_NO = p_w_wcdvlh_tb_wc_no I_BEGIN_DT = lf_beg_dt I_END_DT = lf_end_dt I_STRM_TYPE_CD = ' ' IMPORTING E_DAYS_UP = lf_days_up EXCEPTIONS FATAL_ERROR = 1 INVALID_DATE = 2 OTHERS = 3.

OIL_TIMESTAMP_TO_DATE CALL FUNCTION 'OIL_TIMESTAMP_TO_DATE' EXPORTING I_TSTAMP = ls_wctst-test_dt IMPORTING E_DATE = lf_date EXCEPTIONS INVALID_TIME_ZONE = 1 INVALID_TIMESTAMP = 2 OTHERS = 3.

OIL_TIMESTAMP_TO_DATE CALL FUNCTION 'OIL_TIMESTAMP_TO_DATE' EXPORTING I_TSTAMP = ls_wctst-test_dt IMPORTING E_DATE = lf_date EXCEPTIONS INVALID_TIME_ZONE = 1 INVALID_TIMESTAMP = 2 OTHERS = 3.

OIL_DATE_TO_TIMESTAMP CALL FUNCTION 'OIL_DATE_TO_TIMESTAMP' EXPORTING I_DATE = lf_date I_TIME = lf_sec IMPORTING E_TSTAMP = lf_tzone_ts EXCEPTIONS INVALID_DATE_OR_TIME = 1 INVALID_TIME_ZONE = 2 OTHERS = 3.

OIU_WC_DOWNTIME CALL FUNCTION 'OIU_WC_DOWNTIME' EXPORTING I_WL_NO = p_w_wcdvlh_tb_wl_no I_WC_NO = p_w_wcdvlh_tb_wc_no I_BEGIN_DT = lf_beg_dt I_END_DT = lf_end_dt I_STRM_TYPE_CD = ' ' IMPORTING E_DAYS_UP = lf_days_up EXCEPTIONS FATAL_ERROR = 1 INVALID_DATE = 2 OTHERS = 3.

OIU_WC_DOWNTIME CALL FUNCTION 'OIU_WC_DOWNTIME' EXPORTING I_WL_NO = p_w_wcdvlh_tb_wl_no I_WC_NO = p_w_wcdvlh_tb_wc_no I_BEGIN_DT = lf_beg_dt I_END_DT = w_end_dt I_STRM_TYPE_CD = ' ' IMPORTING E_DAYS_UP = lf_days_up EXCEPTIONS FATAL_ERROR = 1 INVALID_DATE = 2 OTHERS = 3.



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