cancel
Showing results for 
Search instead for 
Did you mean: 

Calling workflow tasks in program

Former Member
0 Kudos

Hi,

I want to know how to call a workflow task in a ABAP program. This task is linked to a customised method.

Thanks

Ananth

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ananth

You have two options to trigger a workflow task

1> Attach a Business object and a particualr event in the

triggering event of your task.

Then in your ABAP pgm use FM SWE_EVENT_CREATE to raise

the event for the Business object and the event which

you attach in the task as trigerring event

2> Else , you can make use of SWW_WI_START function module and pass pass parameter ( it will be the name of your workflow task , The workitem Type , creator etc .)

Thanks

Shovit

Answers (1)

Answers (1)

Former Member
0 Kudos

Try using SAP_WAPI_START_WORKFLOW function module