SAP Reports / Programs

RWSORT40 SAP ABAP Report - Material Discontinuation







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

WSE1 - Group-Wide Discontinuation


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 RWSORT40. "Basic submit
SUBMIT RWSORT40 AND RETURN. "Return to original report after report execution complete
SUBMIT RWSORT40 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: AUF_SAM = Break-down generic material
Selection Text: S_LTS = Vendor sub-range
Selection Text: S_LOCNR = Assortment
Selection Text: S_LIFNR = Vendor
Selection Text: S_EKORG = Purchasing organization
Selection Text: SP_VERK = Sales block date
Selection Text: SP_BEZUG = Procurement block date
Selection Text: SP_BEST = Ordering block date
Selection Text: TEST = Test mode
Selection Text: S_WRKGRP = Plant group
Selection Text: S_VTWEG = Distribution channel
Selection Text: S_VKORG = Sales organization
Selection Text: S_MATNR = Material
Selection Text: S_MATKL = Material group
Selection Text: S_LVORM = Set deletion flags
Selection Text: D_LICOND = Delete listing conditions
Selection Text: PRINTALL = Send result
Selection Text: P_AKTNR = Promotion number
Selection Text: P_ALDAT = Discontinuation date
Selection Text: P_ALLERR = Check material in full
Selection Text: P_BATCH = Offline checks
Selection Text: P_SPERR = Block material
Selection Text: AUF_SOTR = Break-down assortment
Selection Text: CHECK_PO = Purchasing records
Selection Text: CHECK_SD = SD documents
Selection Text: CHECK_ST = Stock
Selection Text: C_COMPL = Complete check
Selection Text: C_SIMPLE = Simplified check
Selection Text: D_INFREC = Delete info records
Title: Material Discontinuation
Text Symbol: 027 = Simplified check
Text Symbol: 026 = Test mode
Text Symbol: 025 = Send result
Text Symbol: 024 = Set deletion flags
Text Symbol: 023 = Delete listing conditions
Text Symbol: 022 = Sales docs
Text Symbol: 021 = Stock check
Text Symbol: 033 = Delete info recds





Text Symbol: 032 = Block material
Text Symbol: 031 = Check material in full
Text Symbol: 030 = Offline checks
Text Symbol: 029 = BOM usage
Text Symbol: 028 = Complete check
Text Symbol: 007 = check all materials?
Text Symbol: 006 = Are you sure you want to
Text Symbol: 005 = selected.
Text Symbol: 004 = Materials were
Text Symbol: 003 = Material data
Text Symbol: 002 = Plant data
Text Symbol: 001 = Vendor data
Text Symbol: 020 = Purch. docs
Text Symbol: 013 = Mode
Text Symbol: 012 = Follow-up
Text Symbol: 011 = Restrictions
Text Symbol: 010 = Additional selections
Text Symbol: 009 = Processing type
Text Symbol: 008 = Check material


INCLUDES used within this REPORT RWSORT40

INCLUDE RWS40F02.


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:

No SAP FUNCTION MODULES are executed within this report code!



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