SAP ABAP IMG Activity /IWBEP/EVENT (Event Definition)
Hierarchy
SAP_GWFND (Software Component) SAP Gateway Foundation
   OPU-BSE-BEP (Application Component) Gateway Business Eventing and Provisioning
     /IWBEP/BEP_DT (Package) Gateway - Backend Event Publisher - Design Time
IMG Activity
ID /IWBEP/EVENT Event Definition  
Transaction Code /IWBEP/57000004   (empty) 
Created on 20100822    
Customizing Attributes /IWBEP/EVENT   Event Definition 
Customizing Activity /IWBEP/EVENT   Event definition 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /IWBEP/IMG_EVENT    

The Event Definition activity allows you to create, edit, and view information about the event you want to make available to Gateway.

In addition, you can define default text items to be sent with the specific event and specify the language for the text.

Note: Where different text items have been provided in code, the text coming from the code replaces the default text items.

Use

In order to publish an event using Backend Event Publisher (BEP), the system requires event definition.

You can define the entity to be published and decide whether it is published or not.

Requirements

Standard settings

Activities

To create an event defintion entry:

  1. Click the activity icon. The Change Event Definition: Overview window opens.
  2. Click Event definition under Dialog Structure. The table, Event Definition displays.
  3. Click New Entries, and enter the following in the table, Event Definition:
    • Event ID
      Specify a unique name for the event. An event ID can consist of only alphanumeric characters and an underscore. For example, SALES_ORD001_CHANGED.

      The name is an internal event ID for the event records.
    • Active
      Select to make the event available for use in Gateway. When you do not select, the event is defined but not active.
  4. Click Save.

Entering Text for an Event

You can add text to be sent along with an event. Adding text to be sent with an event is optional.

Your text entry can be in any of the supported languages in the SAP system. Only one text entry per language is allowed.

In addition, you can use the following placeholders in your text so that their actual values are displayed at runtime.

  • '&EVENT_ID&': When used in your text, the value for the specific Event ID displays at runtime.
  • '&OBJECT_ID&': When used in your text, the value for the specific event instance displays at runtime. For example, sales order number.
  • '&ACTIVITY&': When used in your text, the value for the specific event activity displays at runtime. For example, Create, or Change.

To enter the text items for a language to be sent with an event:

  1. Click Event Definition under Dialog Structure. The table, Event Definition displays.
  2. Select the specific event for which you want to provide the text and information.
  3. Double click Text for Event under Event Definition in Dialog Structure to optionally define text to be sent with the selected event.
  4. Click New Entries, and enter the following:
    • Language: Press F4 and select the language in which to display the text entry.
    • Event Text: Enter the text you want to be displayed with the selected event. For example, Attention: changes in inventory levels.
  5. Click Save.

Example

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
/IWBEP/VC_EVENT C - View cluster SM34  
History
Last changed by/on SAP  20101012 
SAP Release Created in 100