cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Retrigger a workflow.

Neslinn
Participant
0 Likes
4,367

Hi all,

How to retrigger a workflow. In my case the user manually deleted the line item in PO and created a new line item, so the work flow step got logically deleted. Now i need to retrigger the workflow. Kindly guide.

Thanks,

Neslin.

View Entire Topic
Former Member
0 Likes

hi

1. you can use FM SAP_WAPI_ADM_WORKFLOW_RESUME if that task is in process .

else

2.You can user FM SWW_WI_CONTAINER_READ to read the container of the previous WF

pass wi_id = WF id of the previous WF you want to restart .

take the container in "wi_container" table .

then call FM

SWW_WI_START_SIMPLE

pass:creator : intiator user id

task : WF templete no.

w_wi_id: the WF id of the previous WF you want to restart

wi_container = pass the wi_container you got fm SWW_WI_CONTAINER_READ .

you perhaps need to write a small code for it .

HOpe this will help you out.

thanks

Kakoli

Edited by: kakoli debroy on Aug 19, 2009 3:48 PM

Neslinn
Participant
0 Likes

Thank you. The second option works!!!!..

Do you remember any standard transaction ?....

Neslin.