SAP Reports / Programs

ROIBSCAN_SEG SAP ABAP Report - Report to create missing appendix table segments







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


Text pool values


Selection Text: S_WERKS = Plant
Selection Text: S_MATNR = Material
Selection Text: P_UPD = Update *O1 tables
Selection Text: P_MAN = Use my selection
Selection Text: P_LIST = Run with log table selection
Selection Text: P_CHK = Show missing segments
Selection Text: L_UNAME = User name (password)
Title: Report to create missing appendix table segments
Text Symbol: 026 = insert into MSLBO1 successfull with
Text Symbol: 027 = try to get MARDO1 data
Text Symbol: 028 = try to get MCHBO1 data
Text Symbol: 029 = try to get MKOLO1 data
Text Symbol: 030 = try to get MSKAO1 data
Text Symbol: 031 = try to get MSKUO1 data
Text Symbol: 032 = try to get MSPRO1 data
Text Symbol: 033 = try to get MSLBO1 data
Text Symbol: 034 = try to get MARA / MARC data
Text Symbol: 200 = Enter material and plant data
Text Symbol: 201 = No missing appendix table segments selected !
Text Symbol: P01 = LOG Table: OIB08
Text Symbol: P03 = Selection incomplete.
Text Symbol: P04 = Enter plant and material data
Text Symbol: P05 = Check/update
Text Symbol: 025 = insert into MSPRO1 successfull with
Text Symbol: 001 = @19@ Read note 212707 before running this report
Text Symbol: 003 = no entries in OIB08 for
Text Symbol: 004 = try to get MARDO1 data from oib08
Text Symbol: 005 = try to get MCHBO1 data from oib08
Text Symbol: 006 = try to get MKOLO1 data from oib08
Text Symbol: 007 = try to get MSKAO1 data from oib08
Text Symbol: 008 = try to get MSKUO1 data from oib08
Text Symbol: 009 = try to get MSPRO1 data from oib08
Text Symbol: 010 = try to get MSLBO1 data from oib08
Text Symbol: 011 = insert into MARDO1 failed with
Text Symbol: 012 = insert into MCHBO1 failed with
Text Symbol: 013 = insert into MKOLO1 failed with
Text Symbol: 014 = insert into MSKAO1 failed with
Text Symbol: 015 = insert into MSKUO1 failed with





Text Symbol: 016 = insert into MSPRO1 failed with
Text Symbol: 017 = insert into MSLBO1 failed with
Text Symbol: 018 = delete from OIB08 failed with
Text Symbol: 019 = no core data available for
Text Symbol: 020 = insert into MARDO1 successfull with
Text Symbol: 021 = insert into MCHBO1 successfull with
Text Symbol: 022 = insert into MKOLO1 successfull with
Text Symbol: 023 = insert into MSKAO1 successfull with
Text Symbol: 024 = insert into MSKUO1 successfull with


INCLUDES used within this REPORT ROIBSCAN_SEG

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:

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = l_typ cl = l_id number = l_nr par1 = l_v1 par2 = l_v2 IMPORTING return = ls_return.

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

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

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = p_text EXCEPTIONS system_failure communication_failure.



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