Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

To trigger a workflow using a function module

Former Member
0 Likes
1,897

Hi,

I have to trigger a workflow through a portal screen.So for that I have to define my own function module which will have the event name to trigger that workflow.Also the event needs to be defined. Can anyone plz help me with the coding of such a function module?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
455

check FM ''SWE_EVENT_CREATE''

Reward if useful

2 REPLIES 2
Read only

Former Member
0 Likes
456

check FM ''SWE_EVENT_CREATE''

Reward if useful

Read only

Former Member
0 Likes
455

hi,

Use SWW_WI_START_SIMPLE by passing Workflow task name and any container values required in workflow.

or u can use FM SAP_WAPI_START_WORKFLOW.

Hope this helps, Do reward.