on 08-03-2011 9:02 AM
Hi,
I have a requirement where i need to find out the workitem of a task w.r.t purchase order number and have to delete the
relevant workitem related to the PO when ever a PO is released after some modification on delivery date. and the process
of deleting the workitem should be automated one.
Can any one suggest me on this.
Thanks & Regards,
satish
actually task was already there which is triggering for the overdue PO.So that PO workitem is need to be deleated when ever
the PO Is released after some modifications.but that workitem is not deleated or compleated as we need to do it manually every
time by going to users inbox.
So we need to automate the delete process of deleting the workitem when ever the PO is released.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
You mean your workflows are not getting completed because users are not viewing there workitems... lets take for eg. display PO/PR...
And you have to manually complete each one of them for each users...
In that case you can replace that display step with a mail to that particular agent...
For the current stuck Work items you can create a program to manually complete them... as i suggested in my earlier reply...
Regards
Gautam
Edited by: gautam maini on Aug 3, 2011 3:13 PM
HI Satish,
I just understood your requirement...
What Rob is saying is correct... if you do not have instances generated for your workflow... follow Rob's approach...
Regards
Gautam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
why not just model this in the workflow.
Create a new event, add it in change documents for change on that field. And use it in the workflow template, start the process in a 1:2 fork in one branch the normal process and in the other a subflow with wait for event steps which could terminate the entire process. Like your new requirement.
Kind regards, Rob Dielemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Why is is that you want to delete workitems?
You acn find a list of workitems using tabel SWW_WI2OBJ...
Use purchase order no in field INSTID as input....
for logically deleting those workitems use function module SAP_WAPI_WORKITEM_DELETE...
Regards
Gautam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.