Functionality With this function module you can determine therating> for an agent in risk assessment in theanalysis method questionnaire. The function module is also available as a reference function module fordefining the interface of the user exit category ANLS_QSRAT>.Prerequisites
- The user exit name ANLS_QSRAT> must exist in Customizing for
Basic Data and Tools> under Manage User Exits> and afunction module must be assigned to it.
- The ratings to be used must have been specified in Customizing for
Industrial Hygiene and Safety> in the activity Set Up Analysis Method Questionnaire>. Here, therespective agent type, question catalog, catalog group, answer category,and a threshold value must be assigned to each rating.Calculating the Rating The function module reads the Customizing entries for the selectedquestionnaire and the catalog groups belonging to the respective agent. Then the corresponding answers are read. If their answer categorymatches the answer category specified in Customizing for the respectivecatalog group and agent, the rating is calculated. The weighting> of the respective answer is alsoincluded. If no weighting is specified for an answer, the value 1>is set. The weightings are totaled for each catalog group. The resulting total is compared with the corresponding Customizing entryfor the threshold value>. The next lowestthreshold value represents the rating for the current catalog group. Thevalue is saved in an internal table. After all catalog groups have been processed, the rating that describesthe highest risk in each case is displayed.
|