SLSPAWR2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report useful for displaying the Statistical evaluation of test results by logical tests, context, location and event...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter SLSPAWR2 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
SL64 - PAW - Statistical Evaluations
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: P_DT_2W = Last 2 weeks
Selection Text: P_DT_3M = Last 3 months
Selection Text: P_DT_ENT =
Selection Text: P_DT_TM = This month
Selection Text: P_DT_TW = This week
Selection Text: P_DT_TY = This year
Selection Text: P_DT_YTD = Year-to-date
Selection Text: P_EV_BEG = Start date
Selection Text: P_EV_END = End date
Selection Text: P_EV_KEY = Event key
Selection Text: P_EV_LOC = Event location
Selection Text: P_EV_SH = Event short name
Selection Text: P_EV_SPE =
Selection Text: P_LO_SHT = Location short name
Selection Text: P_PARREC = Show individual result records
Selection Text: P_RESPER = Results in %
Selection Text: P_RESPTS = Results in points
Selection Text: P_TCDX = Test, context, periods
Selection Text: P_TCFX = Test, context, test forms
Selection Text: P_TCLD = Test,context,location,periods
Selection Text: P_TCLE = Test,context,location,events
Selection Text: SO_EVID = Event ID(s)
Selection Text: SO_LOCID = Location ID(s)
Selection Text: SO_TEST = Test info objects (PHIOs)
Title: PAW - Descriptive statistics
Text Symbol: 914 = Calculating statistical values..
Text Symbol: 915 = Building output hierarchy...
Text Symbol: 916 = Refreshing display ...
Text Symbol: 918 = Displaying events by location...
Text Symbol: 919 = Displaying periods by location...
Text Symbol: 920 = Displaying periods by context...
Text Symbol: 921 = Rearranging output table...
Text Symbol: 922 = Displaying test forms by context...
Text Symbol: 923 = No restriction mode specified for data selection.
Text Symbol: 929 = Sorting..
Text Symbol: 930 = Preparing output...
Text Symbol: 932 = An error occured while trying to authorize access.
Text Symbol: 933 = Information
INCLUDE: SLSPEWI2.
No SAP DATABASE tables are accessed within this REPORT code!
RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = p_repid TABLES selection_table = sel_tab.
SLS_CUST_GET_PLAN_VARIANT CALL FUNCTION 'SLS_CUST_GET_PLAN_VARIANT' IMPORTING p_plvar = v_plvar.
SLS_MISC_SET_SELECTION_DATES CALL FUNCTION 'SLS_MISC_SET_SELECTION_DATES' EXPORTING p_dt_tw = p_dt_tw p_dt_2w = p_dt_2w p_dt_tm = p_dt_tm p_dt_3m = p_dt_3m p_dt_ytd = p_dt_ytd p_dt_ty = p_dt_ty IMPORTING p_begin_date = v_ev_sel_begin_date p_end_date = v_ev_sel_end_date.
SLS_MISC_SHOW_MESSAGE CALL FUNCTION 'SLS_MISC_SHOW_MESSAGE' EXPORTING p_infoline1 = 'Specify tests for which data is to '(901) p_infoline2 = 'be selected and evaluated.'(902).
SLS_MISC_SHOW_MESSAGE CALL FUNCTION 'SLS_MISC_SHOW_MESSAGE' EXPORTING p_title = 'Information'(933) p_infoline1 = 'No data has been selected for the specified criteria !'(934) p_infoline2 = 'Verify that you have all neccessary access rights'(935) p_infoline3 = 'or contact your system administrator.'(936)
SLS_MISC_SHOW_MESSAGE_TAB CALL FUNCTION 'SLS_MISC_SHOW_MESSAGE_TAB' TABLES p_messages = it_messages.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = p_text.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'SLS_TSTATS' i_bypassing_buffer = 'X' CHANGING ct_fieldcat = it_lv_fc.
SLS_MISC_GET_MEDIAN CALL FUNCTION 'SLS_MISC_GET_MEDIAN' IMPORTING median = lit_ts-se_median TABLES p_num = lit_num EXCEPTIONS list_of_number_is_empty = 0 OTHERS = 0.
SLS_MISC_GET_STD CALL FUNCTION 'SLS_MISC_GET_STD' IMPORTING std = lit_ts-se_std TABLES p_num = lit_num EXCEPTIONS list_of_number_is_empty = 0 OTHERS = 0.
SLS_PR_GET_RESULTS_BY_TEST CALL FUNCTION 'SLS_PR_GET_RESULTS_BY_TEST' EXPORTING p_restriction_mode = v_select_mode p_event_short = p_ev_sh p_location_short = p_lo_sht p_start_date = v_ev_sel_begin_date p_end_date = v_ev_sel_end_date p_include_subtest = 'N' p_include_pu = 'N' TABLES p_phios = it_test_select p_location_ids = it_location_ids p_event_ids = it_event_ids test_results = it_tres EXCEPTIONS no_tests_specified_for_process = 1 no_tests_found = 2 no_test_performances_found = 3 no_participants_for_tests = 4 event_not_found_for_xet = 5 problem_selecting_result_data = 6 error_selecting_test_type_data = 7 restriction_mode_not_specified = 8 error_reading_authorizations = 9 OTHERS = 10.
SLS_MISC_SHOW_MESSAGE CALL FUNCTION 'SLS_MISC_SHOW_MESSAGE' EXPORTING p_infoline1 = lv_text1 p_infoline2 = lv_text2.
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 SLSPAWR2 or its description.