Functionality This function module serves as a template for the matchup functionbetween exposure profile entries and risk assessments. The matchup isalways based on a "work area - agent" tuple. In addition, the function module is also intended as a referencefunction module for defining the interface of the user exit categoryERH_SYNC>.Preconditions It is assumed that the user exit name ERH_SYNC> exists in the IMGactivity Manage User Exits> in Customizing for Basic Data andTools> and a function module is assigned to it.Description User Exit Calls (Cannot Be Changed by Customer)> The function can be called in the following dialog boxes:
- Edit Work Area: Exposure Profile>
All "work area - agent" tuples of the selected exposure profile entriesare passed to the function module. Double entries owing to differentoperation statuses are reduced before the function module is called.
- Edit Risk Assessment: Hit List>
All "work area - agent" tuples of the selected risk assessment entriesare passed to the function module. Double tuples are reduced before thecall.
- Edit Risk Assessment: Assessment> (Table Control)
The "work area - agent" tuple of the displayed assessments is passed tothe function module. User Exit Procedure (Can Be Adapted)> In the example, exposure profile and risk assessment are matched up asfollows:
- All existing risk assessment entries are read for each "work area -
agent" tuple. The system checks for each risk assessment entry whether acorresponding exposure profile entry exists (work area, agent, andoperation status must match).
- If a corresponding exposure profile entry exists, an update is run on
this entry and the rating, origin, and description fields of theexposure profile entry are updated.
|