SAP Reports / Programs

RWSORT02 SAP ABAP Report - Check listing rules







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

WSL2 - Check listing rules


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 RWSORT02. "Basic submit
SUBMIT RWSORT02 AND RETURN. "Return to original report after report execution complete
SUBMIT RWSORT02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Listing Conditions, assortments
Selection Text: ARTNR = Material
Selection Text: ASORT = Assortment
Selection Text: DATUM = Check per
Selection Text: LISTMET = Listing procedure
Selection Text: LISTTXT = Description, listing procedure
Title: Check listing rules
Text Symbol: 001 = End error analysis
Text Symbol: 002 = Material
Text Symbol: 003 = Assortment
Text Symbol: 004 = Error information
Text Symbol: 020 = Validity range
Text Symbol: 021 = Validity
001 Material
002 Assortment
003 Error


INCLUDES used within this REPORT RWSORT02

No INCLUDES are used within this REPORT code!


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:

SHOP_ITEM_LISTING_RULES_CHECK CALL FUNCTION 'SHOP_ITEM_LISTING_RULES_CHECK' EXPORTING date = datum item = artnr listing_method = listmet shop = v_sotr-asort type_f = 'A' merchandise_group = mara-matkl err_detail = 'X' IMPORTING wscor = wscor status = status module_select = wsoh-skopf TABLES err_details = iwscor EXCEPTIONS no_multiple_listing = 1 rules_matching_not_ok = 2 wrong_type = 3.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = gv_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = gv_log_handle i_msgty = gc_msg_type i_text = gs_log_output-vtext i_s_context = ls_context EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = gs_display_profile EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.



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