Maintenance program for work item and/or workflow cancellation?

Michael Pokraka workflow at quirky.me.uk
Fri Sep 3 04:26:35 EDT 2004


Hi Kjetil,
SWPR is a quick and easy one to copy and hack to your requirements.
Cheers
Mike
 
Kjetil Kilhavn wrote:
> SWWL is what I don't want to use. I didn't know the direct transaction
> code, I go there via SWUF if I have to, I haven't used it the last thre=
e
> years.
> --
> Kjetil Kilhavn
>
>
>
>
>                     "Jeffrey A.
>                     Rappaport"                  To:
> SAP-WUG at MITVMA.MIT.EDU
>                     <Jeff at Business-Workf        cc:     (bcc: Kjetil
> Kilhavn)
>                     low.com>                    Subject:     Re: Mainte=
nance
> program for work item and/or workflow cancellation?
>                     Sent by: SAP
>                     Workflow
>                     <Owner-SAP-WUG at MITVM
>                     A.MIT.EDU>
>
>
>                     02.09.2004 16:23
>                     Please respond to
>                     "SAP Workflow Users'
>                     Group"
>
>
>
>
>
>
> Kjetil,
>
>    Use Tranx: SWWL, be careful how you use it you can mistakenly wipe
> out all WF's.
>
> Jeffrey A. Rappaport
> Business Workflow, LLC
> Voice:(732)355-0123
> Fax:  (509)757-4144
> Email:Jeff at Business-Workflow.com
> Web:  www.Business-Workflow.com
>
>
> Quoting Kjetil Kilhavn <kjetilk at statoil.com>:
>
>> Is there a maintenance program to logically delete a selected set
>> of work
>> items/workflows? (We are on version 4.6C, but if one exists in
>> newer
>> versions that is also relevant (see last paragraph).)
>>
>> I have created a new workflow (:-) to replace an old WF task which
>> demands
>> too much manual maintenance for my liking. In addition the users
>> will
>> benefit from improved performance - and that is something that has
>> been
>> requested for a while. The new solution includes a step which
>> checks for
>> already existing instances and kills any existing instances in
>> status
>> ERROR. If an existing instance is found an event is created which
>> terminates the existing workflow. Thus the agents will be
>> re-evaluated.
>> Instead of making a fancy solution which checks for the existence
>> of
>> instances of both the new and old workflows I have decided to just
>> kill all
>> the old ones when going live with the new version.
>>
>> However, I will have probably between 3.000 and 5.000 workflows
>> that needs
>> to be cancelled since instances of the new workflow is meant to
>> replace
>> them. It is a real PITA having to do this manually even if we were
>> only
>> talking about hundreds of work items. It would be great if it was
>> an option
>> e.g. in SWI1 to cancel the workitems you have selected in the
>> result set
>> grid, but I have no such luck. Does anyone know if there exists a
>> program
>> to do this? I am aware of function module SWW_WI_ADMIN_CANCEL
>> (that's how I
>> kill instances in status ERROR) - but I need the wrapper program
>> that
>> performs a selection first and then runs this function for the
>> selected set
>> of work items. And no, I don't want to use SWUF.
>>
>> Creating an ad-hoc program for this is easy, but that is no fun...
>> may as
>> well create a slightly fancy one which can be reused - unless a
>> standard
>> solution exists in a newer version.
>> --
>> Kjetil Kilhavn
>
>
>
>
> -------------------------------------------------------------------
> The information contained in this message may be CONFIDENTIAL and is
> intended for the addressee only. Any unauthorised use, dissemination of=
 the
> information or copying of this message is prohibited. If you are not th=
e
> addressee, please notify the sender immediately by return e-mail and de=
lete
> this message.
> Thank you.
>
>
 


More information about the SAP-WUG mailing list