Show TOC

Registering Event Handler for Change DocumentsLocate this document in the navigation structure

In this optional step, you register the event handler function for the relevant object types if you wish notifications to be triggered by changes to a business object (change documents).

Prerequisites

These steps must be executed on the back-end server.

Procedure

  1. In Customizing for SAP NetWeaver, choose Start of the navigation path UI Technologies Next navigation step SAP Jam Integration Next navigation step Notifications Next navigation step Register Event Handler for Change Documents End of the navigation path (or run transaction SWEC).
  2. Choose the appropriate combination of change document type and business object type, or enter a new combination for the object type you want.
    Note

    The change document type can be found in transaction SCDO.

  3. Choose the event that will act as a trigger.
  4. In the Event Container field, enter the event handler function CLB2_CD_NOTIFICATION_SEND, or any other function that has been specified by your application.
  5. Enter the business object type that corresponds to your change document type. It must be the same type that you used before in Registering OData Service. This business object type is typically referred to as well in the filter condition of the subscriptions for this service.
  6. Save your changes.
  7. In transaction SE16, access table SWECDOBJ.
  8. Edit the entry that you created in transaction SWEC, ensuring that the FBTYP field is set to N.
  9. Save your changes.

Results

You have registered the event handler and completed all configuration tasks for your Sending Notifications scenario.