Mass Deletion of Workitems - Logically.

Vinod Ramchandani vinod.ramchandani at patni.com
Thu Feb 12 02:30:56 EST 2004


Thanks Praveen.
 
I have got the hint.I should write an ABAP.
 
There is no any FM named "SAP_WAPI_ADM_WORKFLOW_CANCEL",
but we have "SWW_WI_ADMIN_CANCEL" that cancels Workflow.
 
Vinod Ramchandani.
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
'Praveen Johri'
Sent: Thursday, February 12, 2004 12:32 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Mass Deletion of Workitems - Logically.
 
 
Hi Vinod ,
have a look at tranx-SWPR to restart Workflow, i belive the interface
provided in it is good and u can use itinstead of restarting to logically
deleteWorkItem.
make a copy if that and change FM of restarting to a WAPI to delete them
logically. u can use SAP_WAPI_ADM_WORKFLOW_CANCEL for this purpose.
As far as i know there is no straight transection which will go for mass
logical deletion, u have to create ur own.
cheers,
Praveen
(Embedded image moved to file: pic00610.pcx)
 
 
 
                      Vinod Ramchandani
                      <vinod.ramchandani@        To:
SAP-WUG at MITVMA.MIT.EDU
                      patni.com>                 cc:
                      Sent by: SAP               Subject:  Mass Deletion of
Workitems - Logically.
                      Workflow
                      <Owner-SAP-WUG at MITV
                      MA.MIT.EDU>
 
 
                      02/12/2004 11:48 AM
                      Please respond to
                      SAP Workflow Users'
                      Group
 
 
 
 
 
 
Hi All,
 
Few months back, We have moved to the NEW Workflow System.
We need to delete all the Workitems & Workflow-Logs which refers to OLD
Workflow system.
 
I do not want to delete the Workitems & Workflow Logs PHYSICALLY from the
system using SWWL and SWWH.
I want to delete them LOGICALLY (Cancel Workflow).
 
Approach is:
1) SWI1 : enter WS task id
2) Select Workitem -> Display
3) Go to -> Technical Workitem Display
4) Edit -> Change
5) Delete Logically
 
This approach cancels the Workflow and removes all the related Workitems
from all the Inboxes.
 
Following This approach for all the OLD Workflows in Production System does
not look feasible.
Does anyone have any idea how we can have mass-logical-delete? as we do
with
SWWL & SWWH.
 
Any inputs are very appreciated.
 
Thanks in advance.
Vinod Ramchandani.
 
 
 
 
 
Whilst this email has been checked for all known viruses, recipients should
undertake their own virus checking as Xansa will not accept any liability
whatsoever.
 
This email and any files transmitted with it are confidential and protected
by client privilege.  It is solely for the use of the intended recipient.
Please delete it and notify the sender if you have received it in
error. Unauthorised use is prohibited.
 
Any opinions expressed in this email are those of the individual and not
necessarily the organisation.
     Xansa, Registered Office: 420 Thames Valley Park Drive,
     Thames Valley Park, Reading, RG6 1PU, UK.
     Registered in England No.1000954.
     t  +44 (0)8702 416181
     w  www.xansa.com
 


More information about the SAP-WUG mailing list