Show TOC

Procedure documentationCreating an Event Interface Locate this document in the navigation structure

 

You create an event interface to define the business significant events of your application that can be consumed by other applications as Web services. For each event that you want to define, you create an operation, and specify the required output type of the event using the message type.

Prerequisites

  • You have created the required message type.

  • You have the Enterprise Services Repository (ESR) of one of the following releases:

    • SAP Enhancement Package 1 for SAP NetWeaver Process Integration 7.1

    • SAP Enhancement Package 1 for SAP NetWeaver Composition Environment 7.1

    • SAP NetWeaver Composition Environment 7.2

Procedure

  1. Log on to your back-end system.

  2. Call the transaction SXMB_IFR.

  3. In Enterprise Services Repository section, click Enterprise Services Builder.

  4. Enter your user name and password (same as the back end user name and password).

  5. Navigate to the required namespace and expand it.

  6. From the Service Interfaces context menu, choose New.

  7. Enter a name and description for the service interface.

  8. Choose Create.

  9. In the Operations screen area, create the required operations by proceeding as follows:

    1. Enter a name and description for the operation.

    2. In the Message screen area, specify the message details.

    3. If required, repeat step 9 to create more operations.

  10. To make this service interface as an event interface, proceed as follows:

    • If you are using the ESR of SAP Enhancement Package 1 for SAP NetWeaver Process Integration 7.1 or SAP Enhancement Package 1 for SAP NetWeaver Composition Environment 7.1, proceed as follows:

      1. Choose the Classifications tab page.

      2. Choose Assign Classifications.

      3. In the Classification drop down field, select Event.

      4. Select the entry (with Code and Name as true) displayed in the Values table.

      5. Choose Assign.

      6. Choose Finish.

    • If you are using the ESR of SAP NetWeaver Composition Environment 7.2, select the Event Interface checkbox from the Definition tab page.

  11. To activate the event interface, choose Activate from the Service Interface menu.