WMREO022 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 WMREO022 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Include WMREO022; IS-R checks at MARA level
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
LESEN_VARIANTEN_ZU_SA CALL FUNCTION 'LESEN_VARIANTEN_ZU_SA' EXPORTING sammelartikel = mara-matnr * KZRFB = ' ' * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' * CHECK_MAT_MPOI = ' ' * LESEN_MAW1 = ' ' * LESEN_MARC = ' ' * LESEN_MBEW = ' ' TABLES varianten = var_mara * VARIANTEN_MAW1 = * VARIANTEN_MARC = * VARIANTEN_MBEW = EXCEPTIONS enqueue_mode_changed = 1 lock_on_material = 2 lock_system_error = 3 wrong_call = 4 not_found = 5 no_maw1_for_mara = 6 lock_on_marc = 7 lock_on_mbew = 8 OTHERS = 9.
WLK1_READ_MULTIPLE_FUNCTIONS CALL FUNCTION 'WLK1_READ_MULTIPLE_FUNCTIONS' EXPORTING * BUFFERS_READ = ' ' wlk1_single_select = s_wlk1 function = '2' * ATTYP = ' ' * SELECT_ASSORTMENT = ' ' * KZRFB = ' ' * SORT_DIRECTION = ' ' * SELECT_WHOLE_ARTICLE = 'X' * importing * wlk1_output = TABLES * WLK1_ARRAY_SELECT = wlk1_results = i_wlk1 * SAMMEL_ITEM = * PLANT_LIST = * MATNR_ME_ONLY = EXCEPTIONS no_rec_found = 1 OTHERS = 2 .
WRS1_SINGLE_READ CALL FUNCTION 'WRS1_SINGLE_READ' EXPORTING asort = i_wlk1-filia IMPORTING wrs1_out = i_wrs1 * WRST_OUT = EXCEPTIONS no_record_found = 1 spras_not_found = 2 OTHERS = 3.
WSOP_READ_WITH_MATNR CALL FUNCTION 'WSOP_READ_WITH_MATNR' EXPORTING p_matnr = p_matnr p_datum = p_datum EXCEPTIONS assortment_exists = 1 no_assortment_exists = 2 OTHERS = 3.
ARTICLE_LAYMOD_VERSIONS_GET CALL FUNCTION 'ARTICLE_LAYMOD_VERSIONS_GET' EXPORTING matnr = p_matnr selection_date = p_datum IMPORTING version_exists = version_exists * TABLES * T_LAYOUT_MODULES = .
WWGR_DELETE_MGH_ART_FROM_T023S CALL FUNCTION 'WWGR_DELETE_MGH_ART_FROM_T023S' EXPORTING i_wwgpa = del_tab_mara-matnr i_commit = ' ' EXCEPTIONS error_by_delete = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
WMREO022 - Include WMREO022; IS-R checks at MARA level WMREO021 - Include WMREO021; IS-R checks at MARD level WMREO020 - INCLUDE WMREO020; IS-R checks at MARC level WMARCH20 - Part 2 of the Archiving Routines in Func. Mod. REORGANISATION_TEST WMARCH10 - Part 1 of the Archiving Routines in Module Reorganisation_Test WMARCH00 - Data Division for Archiving in Function Module REORGANISATION_MATERIAL