SAP Function SLS_PR_GET_RESULTS_BY_TEST - Get Results for a certain physical test with restrictions

Parameter Reference Type Length Default Optional Text
P_AUTHORIZE CHAR1 C 1 X Authorization Flag (Y='yes', N='no')
P_COUNTRY LS_VAR3 C 3 '*' X Info object context variant 3 (Country)
P_END_DATE LS_ENDDA D 8 '99991231' X End Date
P_EVENT_SHORT SLS_EVENT-EVSHT C 12 '*' X PAW - Name of Business Event
P_EXTENSION LS_VAR1 C 10 '*' X Info object context variant 1 (Extension)
P_INCLUDE_PU CHAR1 C 1 'N' X Single-character flag
P_INCLUDE_SUBTEST CHAR1 C 1 'N' X Single-character flag
P_LANGUAGE LAISO C 2 '*' X
P_LOCATION_SHORT SLS_LOC-LOCSH C 12 '*' X Short text for location
P_RELEASE LS_VAR2 C 12 '*' X Info object context variant 2 (Release)
P_RESTRICTION_MODE CHAR1 C 1 Mode for Event/Location selection: S, E, L
P_START_DATE LS_BEGDA D 8 '19000101' X Begin Date

Parameter Reference Length Optional Text
P_EVENT_IDS SLS_EVKEY 11 X PAW - Event Key Structure
P_LOCATION_IDS SLS_LOKEY 10 X PAW - Location Key Structure
P_PHIOS SLS_PGUIDS 42 PAW - Structure to hold key for logical Info-Object
P_TRES_DENIED SLS_TRES 674 X PAW - Structure to hold all needed details for test-results
TEST_RESULTS SLS_TRES 674 PAW - Structure to hold all needed details for test-results

Exception Text
ERROR_READING_AUTHORIZATIONS An error occured while trying to read user authorization profiles
ERROR_SELECTING_TEST_TYPE_DATA An error occured while selecting test-type details !
EVENT_NOT_FOUND_FOR_XET Event data, stored in table XET, could not be verified against table SLS_EVENT
NO_PARTICIPANTS_FOR_TESTS No participants records were found for selected tests !
NO_TESTS_FOUND No Tests were selected based on specification !
NO_TESTS_SPECIFIED_FOR_PROCESS There were no tests specified on the selection-screen !
NO_TEST_PERFORMANCES_FOUND Selected tests have not been offered during any event yet !
PROBLEM_SELECTING_RESULT_DATA An error occured while selecting results data for a certain participant !
RESTRICTION_MODE_NOT_SPECIFIED The restriction mode was not specified when calling this function !

Functionality
This function module returns the test answer results of the participantaccording to the item level along with the participants name , the testform he has used and the performance units are displayed.
At the item level are displayed
Whether the participant has attempted the item or not
when 1 -> attempted correctly
when 2 -> wrong attempt
when 3 -> not attempted
Whether the participant has succeded in answering the itemcorrectly
The item type i.e whether it is MC1 or MCN etc
Maximum points obtained for each item
Whether the participant has passed the test or not accepting thetest info object as the input parameter.