Example: Event Handling for the Appointment Type 'Service Order'
Use
The ordering department has created an appointment of the type Service order for a service employee who is working outside the office. The employee concerned selects this appointment in their calendar because they have to move it. By doing this, they access the maintenance interface for service orders. Here, they move their order and, by doing so, they also automatically move their appointment. The advantage of this is that another processor is informed of the change and can notify customers, for example. The service employee exits the application for service orders and returns to their calendar, which automatically displays the changed data.
From a program technical point of view, the application assigned an exit module to the appointment type "Service order" in appointment type Customizing. When the appointment was selected by the service employee, this exit module was automatically called with an associated event and caused the jump to the application for "Service orders". After the employee made changes there, these changes, along with the corresponding appointment change, were executed by the program. The function module then issued a control command to its interface so that no further processing of the appointment could take place using appointment management because the appointment had already been changed in the background. The calendar only has to refresh the display.