SAP Reports / Programs

RWSORT20 SAP ABAP Report - Display Listing Conditions Using Layout Module







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

WLAN - Listing Conditions for Layout Module


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 RWSORT20. "Basic submit
SUBMIT RWSORT20 AND RETURN. "Return to original report after report execution complete
SUBMIT RWSORT20 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: P_FILIA = Assortment
Selection Text: P_TWML = Layout Module
Title: Display Listing Conditions Using Layout Module
Text Symbol: 001 = Selection Criteria
Text Symbol: 002 = Area of Validity for Exclusion
Text Symbol: 003 = Function
Text Symbol: 004 = Assignment to Assortments (via Layout):
Text Symbol: 005 = Rule Modules (WSOH):
Text Symbol: 006 = Assignment to Assortments (via WSOF):
Text Symbol: 007 = Article Assignments (MALG):
Text Symbol: 008 = Listed Articles (WLK1):
Text Symbol: 010 = Material :
Text Symbol: 011 = Un. to be edited :
Text Symbol: 012 = Period :
Text Symbol: 013 = Cancel Exclusion
Text Symbol: 014 = No Units to be Excluded Created for Variant
Text Symbol: 015 = Individual listing Un.
Text Symbol: 020 = Last page
Text Symbol: 030 = Exclusion:
Text Symbol: 061 = Layout Module Versions
001 Plant Name Comments


INCLUDES used within this REPORT RWSORT20

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:

ASSORTMENTS_GET_BY_LAYOUT CALL FUNCTION 'ASSORTMENTS_GET_BY_LAYOUT' EXPORTING pi_wlmv = i_wlmv * PI_ONLY_DIRECT_ASSIGNMENTS = ' ' TABLES te_wrs1_lay = ht_wrs1 EXCEPTIONS key_uncomplete = 1 no_layouts_found = 2 no_stores_found = 3 no_assortments_found = 4 OTHERS = 5 .

WRS1_SINGLE_READ CALL FUNCTION 'WRS1_SINGLE_READ' EXPORTING asort = i_wrs1-asort * SPRAS = * ONLY_SINGLE_SELECT = 'X' * KZRFB = ' ' IMPORTING wrs1_out = i_wrs1 * WRST_OUT = EXCEPTIONS no_record_found = 1 spras_not_found = 2 OTHERS = 3 .



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