cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering workflow using user-exits

Former Member
0 Kudos

Hi all,

can anyone tel me how a workflow can be triggered using user-exits??

thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

KKilhavn
Active Contributor
0 Kudos

Call function module SAP_WAPI_CREATE_EVENT (with COMMIT_WORK = space) to create an event, and use the event to start your workflow (triggering event). Alternatively, you can start the workflow directly using the corresponding SAP_WAPI function module for that purpose. My recommendation is that you normally don't start workflows directly as it is a less flexible solution (or you have to build that flexibility yourself instead of using what you get for free with triggering events).

However, why are you asking this question? I started wondering after seeing you ask an almost identical question in [another thread|; here.

Answers (1)

Answers (1)

former_member190818
Active Contributor
0 Kudos

Hi Karunanidhi,

If you know the user exit and want to trigger from tat, you need to use FM SWE_CREATE_EVENT or SAP_WAPI_CREATE_EVENT.