SSE Processing

This section describes the processing steps of Social Services Eventing and the call of SSE subscriptions in the Business Rule Framework (BRF).

The figure below illustrates the two basic steps of Social Services Eventing (in simplified form):

  1. Registration of the event processing phases when an event is triggered

  2. Execution of the registered event processing phases and the associated triggering of the SSE subscriptions in the BRF.

    Figure: Processing Steps in SSE and BRF



SSE processing runs as follows

An SSE event is started in an application component using the command RAISE EVENT. The SSE event contains SSE subscriptions for execution. Each subscription is itself assigned an event processing phase whose phase driver defines the method of execution (DELAYED or TRFC). In a first step, all of the event processing phases concerned for the respective SSE event are registered in Social Services Eventing. You can define the sequence of the event processing phases and the phase attributes in Customizing for SSE.

A function module, which triggers the subsequent execution of the subscription in the BRF, is assigned to each registered event processing phase using RFC. The transfer of the event processing phases registered in SSE for processing takes place with the command COMMIT WORK. to the BRF occurs during processing.

An SSE event can contain subscriptions with different event processing phases. SSE processes subscriptions that use the same phase together in a single LUW. If errors occur during processing, all of the subscriptions executed together are subject to a rollback and are executed again. However, this does not affect subscriptions that SSE processes in another LUW as part event processing. In the case of of errors that are classified as temporary in Customizing for SSE, the system re-executes all of the subscriptions in the respective phase in accordance with the defined control parameters after a delay with a maximum number of retries.