How do you trigger an event in SAP workflow?

How do you trigger an event in SAP workflow?

In transaction SWE2, link the SAP Business Workflow event type, enter /AIF/WET_EVENT_TRIGGERED as the receiver function module, and select Linkage Activated. You can only use events with the object category BOR Object Type.

How do you handle workflow event linkage?

[1] Change the default behaviour of the event linkage in transaction SWE2. The default settings in SWE2 for the linkage between an object event and a workflow template are as follows: You can see the Linkage Activated checkbox which shows if the event linkage is active or not.

What is the Tcode for event linkage?

SAP Event Linkage Transaction Codes

# TCODE Description
1 SWEC event linkage for Change Documents
2 SWEL Display event Trace
3 SWE2 Display/Maint. event Type linkages
4 SWETYPV Display/Maint. event Type linkages

How many different types of event delivery are possible in system in SAP?

The delivery generates five different events. The application system sends these to the corresponding event handler in SAP EM.

How do I manually trigger a Workflow event?

How to create workflow event manually from SWUE

  1. Go to transaction SWUE – Here we take BUS2012 as an example.
  2. In the Object Key popup, click search.
  3. Double click on the entry in the result.
  4. Click ‘Continue’
  5. Fill in the event parameters if there are mandatory.

How do you trace a Workflow?

Workflow Trace

  1. Proceed in the system until the point where your next action will start the workflow.
  2. Now activate the workflow trace in a parallel session.
  3. Continue the transaction up to the point where the event has definitely been created or the workflow started.
  4. Now deactivate the workflow trace again.

What is event in workflow?

Workflow events are sent by application functions and are used to transition activities in workflows which are waiting on those events or to enact workflow processes. Workflow events are maintained as part of Workflow Administration.