Workitem Locked by user - unlocking not being possible

Ali Husain mr_mago40 at hotmail.com
Mon Jan 16 12:21:34 EST 2012


Hello,
You don't need to lock the work item in order to write to the container. I think you can reserve it instead with a function module that i can't remember now and then replace it.
Regards,Ali

> From: sap-wug-request at mit.edu
> Subject: SAP-WUG Digest, Vol 86, Issue 15
> To: sap-wug at mit.edu
> Date: Mon, 16 Jan 2012 12:10:52 -0500
> 
> Send SAP-WUG mailing list submissions to
> 	sap-wug at mit.edu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.mit.edu/mailman/listinfo/sap-wug
> or, via email, send a message with subject or body 'help' to
> 	sap-wug-request at mit.edu
> 
> You can reach the person managing the list at
> 	sap-wug-owner at mit.edu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SAP-WUG digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Workitem Locked by user - unlocking not being possible
>       (Sree S)
>    2. Re: Workitem Locked by user - unlocking not being possible
>       (Mike Pokraka)
>    3. Re: Workitem Locked by user - unlocking not being possible
>       (Sree S)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 16 Jan 2012 08:40:52 +0000
> From: Sree S <to2sree at gmail.com>
> Subject: Re: Workitem Locked by user - unlocking not being possible
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
> 	<CAA_LhgSKOYtjRA3N7zCyFZwEoVzg7Pqr8MLmxE_-TQ8SkwrRgA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> This is not production system, this is quality system.
> 
> On Sun, Jan 15, 2012 at 4:27 AM, brynn rutherford <
> brynn.rutherford at gmail.com> wrote:
> 
> > Is this a production workitem? Is this one that users have already
> > selected or is this happening as you are testing?
> >
> >
> > On Sat, Jan 14, 2012 at 3:42 AM, Sree S <to2sree at gmail.com> wrote:
> >
> >> Thanks for the prompt reply..
> >>
> >> That doesnt work
> >>
> >>
> >> On Sat, Jan 14, 2012 at 4:07 AM, brynn rutherford <
> >> brynn.rutherford at gmail.com> wrote:
> >>
> >>> Did you try reactivating the workitem from within SWIA by clicking on
> >>> the matchstick? Also you may want to check and make sure you don't have the
> >>> curse of the SWNWIEX screen. I think you can also go into SM22 (I get that
> >>> tcode wrong sometimes) and kill the lock on the SWW table.
> >>>
> >>> On Fri, Jan 13, 2012 at 5:55 PM, Sree S <to2sree at gmail.com> wrote:
> >>>
> >>>>
> >>>> Hi
> >>>> All.
> >>>>
> >>>> I am calling a workflow from a module pool program.
> >>>> the workitem in the workflow is being sent to multiple approvers...
> >>>>
> >>>> When i am trying to write the workflow container with the values i have
> >>>> as per the current selection in the module pool.
> >>>>
> >>>> I am getting an error, that the workitem is locked by user.
> >>>> It says that - Enqueue Error.
> >>>> when i am trying to unlock the workitem using FM ' DEQUEUE_E_WORKITEM'.
> >>>> it doesnt work and nothing happens,
> >>>>
> >>>> I am trying to write the workitem container as I need to complete the
> >>>> workitem with the required values from module pool program and which has to
> >>>> be passed to the rest of the process in the workflow.
> >>>>
> >>>> Can you one guide me in what can be done as an alternate rather the
> >>>> existing FM.
> >>>>
> >>>> Please help me !
> >>>>
> >>>> Thanks,
> >>>> Shankar
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> SAP-WUG mailing list
> >>>> SAP-WUG at mit.edu
> >>>> http://mailman.mit.edu/mailman/listinfo/sap-wug
> >>>>
> >>>>
> >>>
> >>> _______________________________________________
> >>> SAP-WUG mailing list
> >>> SAP-WUG at mit.edu
> >>> http://mailman.mit.edu/mailman/listinfo/sap-wug
> >>>
> >>>
> >>
> >>
> >> --
> >> shankar
> >>
> >> _______________________________________________
> >> SAP-WUG mailing list
> >> SAP-WUG at mit.edu
> >> http://mailman.mit.edu/mailman/listinfo/sap-wug
> >>
> >>
> >
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
> >
> 
> 
> -- 
> shankar
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20120116/ee4ad853/attachment-0001.htm
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 16 Jan 2012 12:46:10 -0000 (GMT)
> From: "Mike Pokraka" <wug at workflowconnections.com>
> Subject: Re: Workitem Locked by user - unlocking not being possible
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
> 	<beeabaf684f46ff043cc7f2b6b69c563.squirrel at g.mail.aaisp.net.uk>
> Content-Type: text/plain;charset=iso-8859-1
> 
> Your approach is flawed on several fronts:
> 1. Simply Unlocking something because it's locked is dangerous. There's a
> reason a process locks something - to keep others away from data that's
> being changed!
> 2. There's a workflow container for passing data into workflows, you
> should not need to write to the container.
> 3. Starting workflows directly is not a preferred option, usually events
> should be used.
> 
> Regards,
> Mike
> 
> 
> On Sat, January 14, 2012 1:55 am, Sree S wrote:
> > Hi
> > All.
> >
> > I am calling a workflow from a module pool program.
> > the workitem in the workflow is being sent to multiple approvers...
> >
> > When i am trying to write the workflow container with the values i have as
> > per the current selection in the module pool.
> >
> > I am getting an error, that the workitem is locked by user.
> > It says that - Enqueue Error.
> > when i am trying to unlock the workitem using FM ' DEQUEUE_E_WORKITEM'. it
> > doesnt work and nothing happens,
> >
> > I am trying to write the workitem container as I need to complete the
> > workitem with the required values from module pool program and which has
> > to
> > be passed to the rest of the process in the workflow.
> >
> > Can you one guide me in what can be done as an alternate rather the
> > existing FM.
> >
> > Please help me !
> >
> > Thanks,
> > Shankar
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
> 
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 16 Jan 2012 16:10:17 +0000
> From: Sree S <to2sree at gmail.com>
> Subject: Re: Workitem Locked by user - unlocking not being possible
> To: "SAP Workflow Users' Group" <sap-wug at MIT.EDU>
> Message-ID:
> 	<CAA_LhgSru=qXib+pxkjQbdmrvBNtgump94ZYDHxxQvRY5nxPAw at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi Mike.
> 
> I hope there is a misconception !
> 
> I am starting a workflow using a creation of an event,
> Until and unless i write the container, how do i pass the value to the
> workflow container.
> I locked it because it was said in one off the forums to lock it as there
> might be an enqueue error problem in the workitem and someone might change
> the data in a later case.
> 
> Thanks,
> shankar
> 
> On Mon, Jan 16, 2012 at 12:46 PM, Mike Pokraka
> <wug at workflowconnections.com>wrote:
> 
> > Your approach is flawed on several fronts:
> > 1. Simply Unlocking something because it's locked is dangerous. There's a
> > reason a process locks something - to keep others away from data that's
> > being changed!
> > 2. There's a workflow container for passing data into workflows, you
> > should not need to write to the container.
> > 3. Starting workflows directly is not a preferred option, usually events
> > should be used.
> >
> > Regards,
> > Mike
> >
> >
> > On Sat, January 14, 2012 1:55 am, Sree S wrote:
> > > Hi
> > > All.
> > >
> > > I am calling a workflow from a module pool program.
> > > the workitem in the workflow is being sent to multiple approvers...
> > >
> > > When i am trying to write the workflow container with the values i have
> > as
> > > per the current selection in the module pool.
> > >
> > > I am getting an error, that the workitem is locked by user.
> > > It says that - Enqueue Error.
> > > when i am trying to unlock the workitem using FM ' DEQUEUE_E_WORKITEM'.
> > it
> > > doesnt work and nothing happens,
> > >
> > > I am trying to write the workitem container as I need to complete the
> > > workitem with the required values from module pool program and which has
> > > to
> > > be passed to the rest of the process in the workflow.
> > >
> > > Can you one guide me in what can be done as an alternate rather the
> > > existing FM.
> > >
> > > Please help me !
> > >
> > > Thanks,
> > > Shankar
> > > _______________________________________________
> > > SAP-WUG mailing list
> > > SAP-WUG at mit.edu
> > > http://mailman.mit.edu/mailman/listinfo/sap-wug
> > >
> >
> >
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
> 
> 
> 
> -- 
> shankar
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20120116/9d82a72e/attachment-0001.htm
> 
> ------------------------------
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 
> 
> End of SAP-WUG Digest, Vol 86, Issue 15
> ***************************************
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20120116/65cdb623/attachment.htm


More information about the SAP-WUG mailing list