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
Below is a list of transaction codes which are relevant to this SAP report
WSE1 - Group-Wide Discontinuation
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: 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
INCLUDE RWS40F02.
No SAP DATABASE tables are accessed within this REPORT code!
No SAP FUNCTION MODULES are executed within this report code!
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.