ROIO_SR_BATCH_STOCK 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 ROIO_SR_BATCH_STOCK into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
O3O_SR20 - Batch stock list
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.
Selection Text: P_VARI = D Display variant
Selection Text: S_CHARG = D Batch
Selection Text: S_LGORT = D Storage location
Selection Text: S_MATNR = D Material
Selection Text: S_WERKS = D Plant
Title: Batch stock list
Text Symbol: B01 = Material
Text Symbol: B05 = Process
Text Symbol: F01 = Sel
Text Symbol: H10 = Batch material in stock
Text Symbol: H20 = Date:
Text Symbol: H21 = Time:
Text Symbol: H30 = Details
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
OIO_CM_ACTIVE call function 'OIO_CM_ACTIVE' exceptions inactive = 1 others = 2.
REUSE_ALV_VARIANT_DEFAULT_GET call function 'REUSE_ALV_VARIANT_DEFAULT_GET' exporting i_save = g_save changing cs_variant = gs_variant exceptions wrong_input = 1 not_found = 2 program_error = 3 others = 4.
REUSE_ALV_HIERSEQ_LIST_DISPLAY call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' exporting i_callback_program = g_repid i_callback_pf_status_set = 'SET_STATUS' is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_sort = gt_sort[] i_save = g_save is_variant = gs_variant it_events = gt_events[] i_tabname_header = gc_tabname_locn i_tabname_item = gc_tabname_btch is_keyinfo = gs_keyinfo * i_bypassing_buffer = g_bypass_buffer tables t_outtab_header = gt_locn t_outtab_item = gt_btch exceptions program_error = 1 others = 2.
MATERIAL_READ call function 'MATERIAL_READ' exporting schluessel = ls_mtcom importing matdaten = ls_mara exceptions material_not_found = 1 others = 2.
MATERIAL_READ call function 'MATERIAL_READ' exporting schluessel = ls_mtcom importing matdaten = ls_makt exceptions material_not_found = 1 others = 2.
T001W_SINGLE_READ call function 'T001W_SINGLE_READ' exporting t001w_werks = ls_btch-werks importing wt001w = ls_t001w exceptions not_found = 1 others = 2.
T001L_SINGLE_READ call function 'T001L_SINGLE_READ' exporting t001l_werks = ls_btch-werks t001l_lgort = ls_btch-lgort importing wt001l = ls_t001l exceptions not_found = 1 others = 2.
T001W_SINGLE_READ call function 'T001W_SINGLE_READ' exporting t001w_werks = ls_btch-werks importing wt001w = ls_t001w exceptions not_found = 1 others = 2.
T001L_SINGLE_READ call function 'T001L_SINGLE_READ' exporting t001l_werks = ls_btch-werks t001l_lgort = ls_btch-lgort importing wt001l = ls_t001l exceptions not_found = 1 others = 2.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_internal_tabname = gc_tabname_locn i_structure_name = 'ROIO_SH_LOCATION' i_bypassing_buffer = 'X' changing ct_fieldcat = pt_fieldcat[].
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_internal_tabname = gc_tabname_btch i_structure_name = 'ROIO_SH_BATCH' i_bypassing_buffer = 'X' changing ct_fieldcat = pt_fieldcat[].
REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' exporting i_list_type = 1 importing et_events = pt_events.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = gt_list_top_of_page.
REUSE_ALV_VARIANT_EXISTENCE call function 'REUSE_ALV_VARIANT_EXISTENCE' exporting i_save = g_save changing cs_variant = ls_variant exceptions wrong_input = 1 not_found = 2 program_error = 3 others = 4.
REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' exporting is_variant = gs_variant i_save = g_save i_display_via_grid = ' ' importing e_exit = g_exit es_variant = gs_variant exceptions not_found = 1 program_error = 2 others = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.