SAP Reports / Programs | Logistics - General | Logistics Basic Data | Assortment Maintenance(LO-MD-RA-MT) SAP LO

RWSORTZ1 SAP ABAP Report - Delete Ind. Listing of Material







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

WSM7 - Delete Individual Listing, Material
WSM6 - Delete Individual Listing, Material


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 RWSORTZ1. "Basic submit
SUBMIT RWSORTZ1 AND RETURN. "Return to original report after report execution complete
SUBMIT RWSORTZ1 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: 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


INCLUDES used within this REPORT RWSORTZ1

INCLUDE MWWCONST.


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:

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'.



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