Fonction SAP BAPI_SLS_TST_SET_TEST - Insert (Test, Subtest, Performance Unit, Item, Structure)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
P_EVID SLS_EVENT-EVID N 8
P_NO_TEM SLS_EVENT-NO_TEM C 1 PAW - Event either from TEM or not

Paramètre Reférence Type Long. Description
RETURN BAPIRET1 u 470 Return parameter

Paramètre Reférence Long. Facultatif Description
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 from test
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

Functionality
This BAPI Function Module is useful for checking the existence of aTest Description.
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 and after the check of existence it uses"SLS_TST_SAVE_TEST" to save the data to the R/3 System.