SAP Reports / Programs

ROIU_AVAILABILITY_BY_OWNER SAP ABAP Report - Availability By Owner Inquiry







ROIU_AVAILABILITY_BY_OWNER 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 ROIU_AVAILABILITY_BY_OWNER into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

O3U_PC09 - Availability by Owner


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


Text pool values


Title: Availability By Owner Inquiry
Text Symbol: 001 = The control could not be created
Text Symbol: 500 = Error in Flush
Text Symbol: ADD = Additional Select Options
Text Symbol: LIS = list processing
Text Symbol: MKN = Mkt. Rep. Name
Text Symbol: ONA = Owner Name
Text Symbol: OPE = Operated
Text Symbol: OPT = OPT_LIST
Text Symbol: OWN = Owner
Text Symbol: PAR = Parameters
Text Symbol: PRM = Production Month
Text Symbol: PRO = Production Month
Text Symbol: PTO = To
Text Symbol: REQ = Owner No.
Text Symbol: SCO = Scope of List
Text Symbol: WEL = Well Completion
Text Symbol: WLN = Well


INCLUDES used within this REPORT ROIU_AVAILABILITY_BY_OWNER

No INCLUDES are used within this REPORT code!


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:

OIU_PAGE_HEADING CALL FUNCTION 'OIU_PAGE_HEADING' EXPORTING i_bhdgd = bhdgd.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = text-001.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = text-500.

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING RESTRICTION = w_restrict.

OIL_LAST_DAY_OF_MONTH CALL FUNCTION 'OIL_LAST_DAY_OF_MONTH' EXPORTING I_DATE = w_from IMPORTING E_LAST_DAY = w_from.

OIL_LAST_DAY_OF_MONTH CALL FUNCTION 'OIL_LAST_DAY_OF_MONTH' EXPORTING I_DATE = w_to IMPORTING E_LAST_DAY = w_to.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = REPID * IMPORTING * SP = tables selection_table = SEL_SET EXCEPTIONS NOT_FOUND = 1 NO_REPORT = 2 OTHERS = 3 .

OIUCM_READ_BA CALL FUNCTION 'OIUCM_READ_BA' EXPORTING ADDRESS_KEY = w_report_tb-mk_rep_no IMPORTING E_OIUH_CM_BA = w_ba EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .

LFA1_READ_SINGLE CALL FUNCTION 'LFA1_READ_SINGLE' EXPORTING ID_LIFNR = w_report_tb-own_no IMPORTING ES_LFA1 = w_lfa1 EXCEPTIONS NOT_FOUND = 1 INPUT_NOT_SPECIFIED = 2 OTHERS = 3 .

POPUP_TO_SELECT_MONTH CALL FUNCTION 'POPUP_TO_SELECT_MONTH' EXPORTING ACTUAL_MONTH = W_ACTUAL_MONTH_DT LANGUAGE = SY-LANGU IMPORTING SELECTED_MONTH = W_SELECTED_MONTH_DT EXCEPTIONS MONTH_NOT_FOUND = 3 OTHERS = 4.

POPUP_TO_SELECT_MONTH CALL FUNCTION 'POPUP_TO_SELECT_MONTH' EXPORTING ACTUAL_MONTH = W_ACTUAL_MONTH_DT LANGUAGE = SY-LANGU IMPORTING SELECTED_MONTH = W_SELECTED_MONTH_DT EXCEPTIONS MONTH_NOT_FOUND = 3 OTHERS = 4.



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