SAP Reports / Programs | Hydrocarbon Product Management | Industry Solution Oil | Hydrocarbon Product Management(IS-OIL-DS-HPM) SAP IS

ROIBSCAN_IN01 SAP ABAP INCLUDE - Include ROIBIN01







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


INCLUDES used within this REPORT ROIBSCAN_IN01

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:

ENQUEUE_E_OIB08 CALL FUNCTION 'ENQUEUE_E_OIB08' EXPORTING mode_oib08 = 'E' mandt = sy-mandt _scope = '1' _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_OIB08 CALL FUNCTION 'DEQUEUE_E_OIB08' EXPORTING mode_oib08 = 'E' mandt = sy-mandt _scope = '1' EXCEPTIONS OTHERS = 3.

ENQUEUE_EMMARCS CALL FUNCTION 'ENQUEUE_EMMARCS' EXPORTING mode_marc = 'S' mandt = sy-mandt matnr = i_matnr werks = i_werks _scope = '2' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EMMARCS CALL FUNCTION 'DEQUEUE_EMMARCS' EXPORTING mode_marc = 'S' mandt = sy-mandt matnr = i_matnr werks = i_werks _scope = '3'.

MC_PERIO_GET_FIRST_AND_LASTDAY CALL FUNCTION 'MC_PERIO_GET_FIRST_AND_LASTDAY' EXPORTING iperkz = 'P' iperiv = ls_t001-periv iperid = l_perid IMPORTING efirstday = bukrs_tab-vontg elastday = bukrs_tab-bistg EXCEPTIONS perid_invalid = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' DESTINATION 'SAPGUI' EXPORTING text = l_progress "979774 SSN EXCEPTIONS "979774 SSN system_failure "979774 SSN communication_failure. "979774 SSN

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' DESTINATION 'SAPGUI' EXPORTING text = l_progress.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = l_prog_text.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' DESTINATION 'SAPGUI' EXPORTING text = l_progress.

ENQUEUE_E_OIB09 CALL FUNCTION 'ENQUEUE_E_OIB09' EXPORTING mode_oib09 = 'E' mandt = sy-mandt _scope = '1' _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_OIB09 CALL FUNCTION 'DEQUEUE_E_OIB09' EXPORTING mode_oib09 = 'E' mandt = sy-mandt _scope = '1' EXCEPTIONS OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING it_fieldcat = gt_fieldcat * The field catalog (layout) is always equal, therfore "KH * the buffer should be used (buffer=space=default) "KH i_buffer_active = 'X' "use buffer "KH TABLES t_outtab = l_oib09 .

OIB_QCI_MOVE_STRUC_TO_ITAB CALL FUNCTION 'OIB_QCI_MOVE_STRUC_TO_ITAB' EXPORTING i_structure = pi_oib_a04 i_ddic_reference = 'OIB_A04' TABLES t_oib_a10 = lt_param EXCEPTIONS field_type_not_valid = 1 structure_not_exists = 2 OTHERS = 3.

OIB_QCI_MOVE_STRUC_TO_ITAB CALL FUNCTION 'OIB_QCI_MOVE_STRUC_TO_ITAB' EXPORTING i_structure = pi_oib_a11 i_ddic_reference = 'OIB_A11' TABLES t_oib_a10 = lt_param EXCEPTIONS field_type_not_valid = 1 structure_not_exists = 2 OTHERS = 3.

OIB_QCI_MOVE_STRUC_TO_ITAB CALL FUNCTION 'OIB_QCI_MOVE_STRUC_TO_ITAB' EXPORTING i_structure = pi_oib01 i_ddic_reference = 'OIB01' TABLES t_oib_a10 = lt_param EXCEPTIONS field_type_not_valid = 1 structure_not_exists = 2 OTHERS = 3.

OIB_QCI_MOVE_FIELD_TO_ITAB CALL FUNCTION 'OIB_QCI_MOVE_FIELD_TO_ITAB' EXPORTING i_par_name = 'BSWIND' i_parameter = pi_bsw TABLES t_oib_a10 = lt_param.

OIB_QCI_QUANTITY_CONTROL CALL FUNCTION 'OIB_QCI_QUANTITY_CONTROL' TABLES t_qt2tab = px_addqty t_param = lt_param EXCEPTIONS calculation_failure = 2 calculation_overflow = 3 trans_uom_not_found = 15 unit_conversion_error = 16 window_cancelled = 21 inconsistent_data = 24 out_of_range = 25 inconsistent_customizing = 26 OTHERS = 27.

OIB_QCI_MOVE_ITAB_TO_STRUC CALL FUNCTION 'OIB_QCI_MOVE_ITAB_TO_STRUC' EXPORTING i_ddic_reference = 'OIB_A04' IMPORTING e_structure = pc_param TABLES t_oib_a10 = lt_param.

OIB_QCI_MOVE_ITAB_TO_FIELD





CALL FUNCTION 'OIB_QCI_MOVE_ITAB_TO_FIELD' EXPORTING i_par_name = 'BSWQTY' IMPORTING e_parameter = pc_netqty TABLES t_oib_a10 = lt_param.



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