SLSPAWSURV 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 SLSPAWSURV into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
SL12 - PAW - Survey result answer details
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.
Title: PAW - Survey result answer Details
Text Symbol: 907 = Specified test(s) have not been offered yet.
Text Symbol: 908 = No participant data available for specified test(s).
Text Symbol: 909 = Event details could not be read.
Text Symbol: 910 = Result details could not be read.
Text Symbol: 911 = Test type details could not be read.
Text Symbol: 912 = Error occurred during data selection.
Text Symbol: 913 = Data selection complete.
Text Symbol: 914 = Error occurred during selection of item results.
Text Symbol: 915 = System cannot continue due to incomplete results.
Text Symbol: 916 = Contact your system administrator.
Text Symbol: 919 = Item result selection complete.
Text Symbol: 923 = No restriction mode specified for data selection.
Text Symbol: 925 = Table is empty. Export is not possible.
Text Symbol: 926 = Export information
Text Symbol: 927 = Download details !
Text Symbol: 929 = Sorting..
Text Symbol: 930 = Preparing output...
Text Symbol: 932 = An error occured while trying to authorize access.
Text Symbol: 933 = Information
Text Symbol: 934 = No data has been selected for the specified criteria !
Text Symbol: 935 = Verify that you have all neccessary access rights
Text Symbol: 936 = or contact your system administrator.
Text Symbol: 950 = Selecting Test Structure
Text Symbol: 951 = An error occured while selecting test-structure details !
Text Symbol: 952 = Display of item-results per Subtest or PU will not be possible.
Text Symbol: 953 = Selection of Item:
Text Symbol: 954 = for PET-ID:
Text Symbol: 955 = failed
Text Symbol: 110 = GUI initialization error
Text Symbol: 111 = Error occurred during initialization of GUI display.
Text Symbol: 112 = Note program details and then
Text Symbol: 113 = contact your system administrator.
Text Symbol: 201 = Survey selection
Text Symbol: 202 = Event selection
Text Symbol: 203 = Event dates
Text Symbol: 204 = By location ID
Text Symbol: 206 = By description
INCLUDE: SLSPEWI2.
No SAP DATABASE tables are accessed within this REPORT code!
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 "#EC DOM_EQUAL p_end_date = v_ev_sel_end_date. "#EC DOM_EQUAL
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_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 = 'Y' p_include_pu = 'Y' 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.
SLS_PR_GET_ITEM_RESULTS_VECTOR CALL FUNCTION 'SLS_PR_GET_ITEM_RESULTS_VECTOR' TABLES p_petids = lit_petids p_item_results = it_ires EXCEPTIONS no_petid_specified = 1 error_during_ritem_select = 2 error_selecting_item_details = 3 error_selecting_imc = 4 error_selecting_irate = 5 error_selecting_ilc1 = 6 error_selecting_ilc2 = 7 error_selecting_rmc = 8 OTHERS = 9.
SLS_MISC_SHOW_MESSAGE CALL FUNCTION 'SLS_MISC_SHOW_MESSAGE' EXPORTING p_infoline1 = 'Error occurred during selection of item results.'(914)
SLS_TST_GET_STRUCTURE_INFO CALL FUNCTION 'SLS_TST_GET_STRUCTURE_INFO' TABLES p_testids = lit_testid p_test_structure = it_tstru EXCEPTIONS no_testids_specified = 1 error_selecting_test_structure = 2 OTHERS = 3.
SLS_MISC_SHOW_MESSAGE CALL FUNCTION 'SLS_MISC_SHOW_MESSAGE' EXPORTING p_infoline1 = text-951 p_infoline2 = text-952.
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_DLRES' i_bypassing_buffer = 'X' CHANGING ct_fieldcat = pit_lv_fc.
SLS_MISC_SHOW_MESSAGE_TAB CALL FUNCTION 'SLS_MISC_SHOW_MESSAGE_TAB' TABLES p_messages = it_messages.
DOWNLOAD CALL FUNCTION 'DOWNLOAD' EXPORTING * BIN_FILESIZE = ' ' * CODEPAGE = ' ' filename = 'ResultsMaster.dat'
SLS_MISC_SHOW_MESSAGE CALL FUNCTION 'SLS_MISC_SHOW_MESSAGE' EXPORTING p_title = 'Export information'(926) p_infoline1 = 'Table is empty. Export is not possible.'(925)
DOWNLOAD CALL FUNCTION 'DOWNLOAD' EXPORTING * BIN_FILESIZE = ' ' * CODEPAGE = ' ' filename = 'ItemResults.dat'
SLS_MISC_SHOW_MESSAGE CALL FUNCTION 'SLS_MISC_SHOW_MESSAGE' EXPORTING p_title = 'Export information'(926) p_infoline1 = 'Table is empty. Export is not possible.'(925)
SLS_MISC_SHOW_MESSAGE CALL FUNCTION 'SLS_MISC_SHOW_MESSAGE' EXPORTING p_title = text-110 p_infoline1 = text-111 p_infoline2 = text-112 p_infoline3 = text-113.
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 SLSPAWSURV or its description.