SAP Function SLS_TST_SET_TEST - Insert (Test, Subtest, Performance Unit, Item, Structure)

Parameter Reference Type Length Default Optional Text
P_EVID SLS_EVENT-EVID N 8
P_NO_TEM SLS_EVENT-NO_TEM C 1 PAW - Event either from TEM or not

Parameter Reference Type Length Text
RETURN BAPIRET1 u 470 Bapi Return

Parameter Reference Length Optional Text
P_ESS1 SLS_ESS1 8328 Item Essay
P_ESS2 SLS_ESS2 381 Item Essay
P_EVAL SLS_EVAL 162 Item Evaluation
P_FILL SLS_FILL 187 Item Fillin
P_ITEM SLS_SITEM 4680 Item Description
P_LC1 SLS_LC1 4234 Item List Choice
P_LC2 SLS_LC2 160 Item List Choice
P_MC SLS_MC 4236 Item Multiple Choice
P_PU SLS_SPU 4984 Structure Performance Unit
P_PUTEST SLS_SPUTST 261 Structure Performance Unit
P_RATE SLS_RATE 4234 Item Rating
P_SUTEST SLS_SSUTST 213 Subtest Description
P_TCOMP SLS_TCOMP 164 Test Composition
P_TEST SLS_STEST 393 Test Description

Exception Text
ID_NOT_VALID
INSERT_IESS1_FAILURE error at insert in sls_iess1
INSERT_IESS2_FAILURE error at insert in sls_iess2
INSERT_IEVAL_FAILURE error at insert in sls_ieval
INSERT_IFILL_FAILURE error at insert in sls_ifill
INSERT_ILC1_FAILURE error at insert in sls_ilc1
INSERT_ILC2_FAILURE error at insert in sls_ilc2
INSERT_IMC_FAILURE error at insert in sls_imc
INSERT_IRATE_FAILURE error at insert in sls_irate
INSERT_ITEM_FAILURE error at insert in sls_item
INSERT_PUTEST_FAILURE error at insert in sls_putest
INSERT_PU_FAILURE error at insert in sls_pu
INSERT_SUTEST_FAILURE error at insert in sls_sutest
INSERT_TEST_FAILURE error at insert in sls_test
INSERT_TEXT_FAILURE error at insert in sls_text
INSERT_TSTRU_FAILURE error at insert in sls_tstru
NO_ITEM_FOUND
NO_PUID_FOUND
NO_TESTID_FOUND
SYSTEM_FAILURE
UNKNOWN_EXCEPTION
WRONG_PARAMETER

Functionality
This Function Module is useful for checking the existence of a TestDescription.
It checks the existence of the test, eventid, performance unit,performance units of test, subtest, test composition. If any of theseare not found then an exception "wrong_parameter" is raised. The FMchecks the whether the testid is existing in the database if not newid's are created automatically. The FM also imports the Item Descriptionlike Item Essay1, Item Essay2, Multiple Choice, Item List Choice1, ItemEvaluation etc.