on ‎2009 Aug 19 11:59 AM
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.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi neslin,
one can also use SWUS , SWUI where in u have to manually give the input data according to your requirement.
Thanks and Regards,
Fonseca D C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think that we cannot restart the workflow which is logically deleted , but any ways give a try by using the txn SWPR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.