RWSORT00 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 RWSORT00 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.
Selection Text: P_ASORT = Assortment
Selection Text: P_MATNR = Material
Title: Test: which segments are required for assortment/material combination
Text Symbol: 001 = Material
Text Symbol: 002 = Matl Group
Text Symbol: 003 = Matl Type
Text Symbol: 004 = Assortm.
Text Symbol: 005 = Assortment distribution chain
Text Symbol: 006 = MARC segments
Text Symbol: 007 = The following segments must be generated:
Text Symbol: 008 = MBEW segments
Text Symbol: 009 = Listing condition
Text Symbol: 010 = MVKE segments
Text Symbol: 011 = WLK2 segments
Text Symbol: 012 = Ref. plant
Text Symbol: 013 = VO Material
Text Symbol: 014 = Segments created for the following keys
Text Symbol: 015 = MARC
Text Symbol: 016 = MBEW
Text Symbol: 017 = MVKE
Text Symbol: 020 = Evaluation Result
INCLUDE RWSORT_LISTVIEW_DATA.
No SAP DATABASE tables are accessed within this REPORT code!
MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING MATNR = P_MATNR IMPORTING WMARA = S_MARA EXCEPTIONS LOCK_ON_MATERIAL = 1 LOCK_SYSTEM_ERROR = 2 WRONG_CALL = 3 NOT_FOUND = 4 OTHERS = 5.
WRS1_SINGLE_READ CALL FUNCTION 'WRS1_SINGLE_READ' EXPORTING ASORT = P_ASORT * SPRAS = ONLY_SINGLE_SELECT = 'X' IMPORTING WRS1_OUT = S_WRS1 EXCEPTIONS NO_RECORD_FOUND = 1 SPRAS_NOT_FOUND = 2 OTHERS = 3.
ASSORTMENT_WHICH_SEGMENTS CALL FUNCTION 'ASSORTMENT_WHICH_SEGMENTS' EXPORTING * WERKS = MATNR = S_MARA-MATNR ASORT = S_WRS1-ASORT MATKL = S_MARA-MATKL MTART = S_MARA-MTART * HIER_AT_ALL = 'X' * VALUE_MATNR_GET = ' ' * SELECT_USERS = ' ' * CHAR_OF_USER = ' ' * USER_DATA = IMPORTING MARC_MUST_BE = MARC_MUST_BE WLK2_MUST_BE = WLK2_MUST_BE WLK1_MUST_BE = WLK1_MUST_BE MBEW_MUST_BE = MBEW_MUST_BE MVKE_MUST_BE = MVKE_MUST_BE REF_PLANT = REF_PLANT * bwtty_default = bwtty_default * bwtar_default = bwtar_default VALUE_MATNR = VALUE_MATNR * T001W_OUT = T001W_OUT TABLES MBEW_TABS = MBEW_TABS MVKE_TABS = MVKE_TABS MARC_TABS = MARC_TABS EXCEPTIONS NO_WERKS_OR_ASORT = 1 WRONG_ASORT = 2 WRONG_WERKS = 3 MATKL_MUST_BE = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RWSORT00 - Test: which segments are required for assortment/material combination RWSORT00 - Test: which segments are required for assortment/material combination RWSORS02 - Selection Parameters for Program RWSORT31 RWSORO02 - Reorganization of Materials RWSORLIKON1 - Conversion program WLK1 RWSORLIKON1 - Conversion program WLK1