RWSORTZ1 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 RWSORTZ1 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
WSM7 - Delete Individual Listing, Material
WSM6 - Delete Individual Listing, Material
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: DATUM = Discontinue listing per
Selection Text: MEINS = Unit of measure
Selection Text: SATNR = Material
Title: Delete Ind. Listing of Material
Text Symbol: 001 = End processing
Text Symbol: 010 = Validity range
Text Symbol: 011 = Validity
INCLUDE MWWCONST.
No SAP DATABASE tables are accessed within this REPORT code!
ASSORTMENT_CHECK_ENQ_MATNR CALL FUNCTION 'ASSORTMENT_CHECK_ENQ_MATNR' EXPORTING MATNR = SATNR.
WWS_ENQ_ASSORTMENT CALL FUNCTION 'WWS_ENQ_ASSORTMENT' EXPORTING ARTIKEL = MARA-MATNR " BAUSTEIN = ' ' " DATUMBIS = ' ' FILIA = WINT_CARRH-ASORT SPERR_MODUS = 'E' " VKORG = ' ' " VRKME = ' ' " VTWEG = ' ' WAS = '3' "WLK1-Kopf-Eintrag EXCEPTIONS FOREIGN_LOCK = 01 NO_MODUS = 02 NO_WAS = 03 SYSTEM_FAILURE = 04.
ASSORTMENT_DELETE_PLANT_MATNR CALL FUNCTION 'ASSORTMENT_DELETE_PLANT_MATNR' EXPORTING T_ASORT = WINT_CARRH DEL_ALL_CARRIERS = 'X' MATNR = MARA-MATNR VRKME = MEINS DATE_FROM = DATUM ASKING = 'X' IMPORTING " MDI 1337226 te_mara = lt_mara[] " MDI 1337226 TABLES ERROR = ERROR EXCEPTIONS NO_FUNCTION_ORDERED = 1.
DEQUEUE_E_WLKE CALL FUNCTION 'DEQUEUE_E_WLKE' EXPORTING ARTNR = MARA-MATNR FILIA = WINT_CARRH-ASORT.
DEQUEUE_E_WSOPE CALL FUNCTION 'DEQUEUE_E_WSOPE' EXPORTING MODE_WSOP = 'E' SKOPF = ' ' SPOSI = lt_mara-matnr DATUB = SY-DATUM * _collect = 'X'.
WLK1_READ_MULTIPLE_FUNCTIONS CALL FUNCTION 'WLK1_READ_MULTIPLE_FUNCTIONS' EXPORTING * BUFFERS_READ = ' ' WLK1_SINGLE_SELECT = TMP_WLK1 FUNCTION = 'a' * ATTYP = ' ' * SELECT_ASSORTMENT = 'X' IMPORTING WLK1_OUTPUT = WLK1 * TABLES * WLK1_ARRAY_SELECT = * WLK1_RESULTS = * SAMMEL_ITEM = * PLANT_LIST = EXCEPTIONS NO_REC_FOUND = 1 OTHERS = 2.
DEQUEUE_E_WLKE CALL FUNCTION 'DEQUEUE_E_WLKE' EXPORTING ARTNR = MARA-MATNR FILIA = WINT_CARRH-ASORT.
DEQUEUE_E_WSOPE CALL FUNCTION 'DEQUEUE_E_WSOPE' EXPORTING MODE_WSOP = 'E' SKOPF = ' ' SPOSI = lt_mara-matnr DATUB = SY-DATUM * _collect = 'X'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.