SAP Reports / Programs

RWSORT06 SAP ABAP Report - Delete individual listing of material/distribution chain







RWSORT06 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 RWSORT06 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

WSP3 - Delete individual listing


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 RWSORT06. "Basic submit
SUBMIT RWSORT06 AND RETURN. "Return to original report after report execution complete
SUBMIT RWSORT06 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 = Delete listing from
Selection Text: SATNR = Material
Selection Text: VKORG = Sales organization
Selection Text: VTWEG = Distribution channel
Title: Delete individual listing of material/distribution chain
Text Symbol: 001 = Delete listings
Text Symbol: 002 = Delete from:
Text Symbol: 003 = Do you really want to
Text Symbol: 004 = delete the listing?
Text Symbol: 010 = Validity range
Text Symbol: 011 = Validity


INCLUDES used within this REPORT RWSORT06

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:

WWS_ENQ_ASSORTMENT CALL FUNCTION 'WWS_ENQ_ASSORTMENT' EXPORTING ARTIKEL = MARA-MATNR " BAUSTEIN = ' ' " DATUMBIS = ' ' " filia = ' ' SPERR_MODUS = 'E' VKORG = SAL-VKORG VTWEG = SAL-VTWEG " VRKME = ' ' WAS = '6' "WLK11-Kopf-Eintrag EXCEPTIONS FOREIGN_LOCK = 01 NO_MODUS = 02 NO_WAS = 03 SYSTEM_FAILURE = 04.

ASSORTMENT_CHECK_ATTYP CALL FUNCTION 'ASSORTMENT_CHECK_ATTYP' EXPORTING ATTYP = MARA-ATTYP * MTART = ' ' EXCEPTIONS GENERIC_ARTICLE = 1 STRUCTURED_ARTICLE = 2 VARIANT_ARTICLE = 3 VALUE_ARTICLE = 4 EMPTY_ARTICLE = 5 OTHERS = 6.

VARIANT_ITEM_READ_ALL CALL FUNCTION 'VARIANT_ITEM_READ_ALL' EXPORTING * DATE LIKE SY-DATUM DEFAULT SPACE * INACTIVE_ITEMS LIKE WTDY-TYP01 DEFAULT SPACE ITEM = MARA-MATNR * TYPE_F LIKE WTDY-TYP01 DEFAULT SPACE TABLES VARIANT_LIST = ARTIKEL EXCEPTIONS NO_VARIANTS_FOUND = 1.

ASSORTMENT_CHECK_CATEGORY CALL FUNCTION 'ASSORTMENT_CHECK_CATEGORY' EXPORTING MATNR = ARTIKEL-MATNR MATKL = ARTIKEL-MATKL.

ASSORTMENT_CHECK_ENQ_MATNR CALL FUNCTION 'ASSORTMENT_CHECK_ENQ_MATNR' EXPORTING MATNR = ARTIKEL-MATNR.

WLK1_CHANGE CALL FUNCTION 'WLK1_CHANGE' EXPORTING FUNCTION = '3' * VKORG = ' ' * VTWEG = ' ' * MODULE = ' ' * WINT_POS = LAST_LISTING = 'X' * SELECT_ASSORTMENT = ' ' TABLES INT_WLK1 = INT_WLK1 EXCEPTIONS no_wlk1 = 1 wlk1_exists = 2 wrong_dates = 3 wrong_function = 4 always_rj_connected = 5 OTHERS = 6 .

ASSORTMENT_MVKE_CORR * CALL FUNCTION 'ASSORTMENT_MVKE_CORR' IN UPDATE TASK * EXPORTING * MVKE = MVKE * SAL = SAL.



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