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
Below is a list of transaction codes which are relevant to this SAP report
WSL2 - Check listing rules
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.