Workflow Goes To Error Status

Dale Brown dale.brown at duke.edu
Thu May 16 09:38:14 EDT 2013


Stephane - Thanks for the explanation.  From a going forward practice for future workflows, will try and make sure to check to see if we have a new version when we make these types of changes to the workflow. This workflow is rather new and is still in a pilot stage. 
Question - For a new version of a workflow, does one manually generate the version versus the system doing it for you?   I was looking at some of our workflows from years prior and do see different versions on some, but do not recall going through the manual process of generating a new version.  I guess I thought the system automatically made the newer version and that is why it never crossed my mind to check for version as being the issue.  Thank you again for bringing that to my attention.

Rick - The answer is 'No' to your question.   Also, there were no binding changes between the main and sub. The version was the same before and after the change.   Thanks for the questions.  

Dale Brown
Duke University
OIT Application and Database Services
(919) 684-5341


-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of sap-wug-request at mit.edu
Sent: Thursday, May 16, 2013 8:54 AM
To: sap-wug at mit.edu
Subject: SAP-WUG Digest, Vol 102, Issue 11

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: Workflow Goes To Error Status (Rick Bakker)
   2. Workflow Goes To Error Status (Dale Brown) (stephane)
   3. Workflow locked when receiving event (stephane)
   4. Re: Determining user id linked to a partner function
      (joshi maddela)


----------------------------------------------------------------------

Message: 1
Date: Thu, 16 May 2013 08:16:00 +1000
From: Rick Bakker <rbakker at gmail.com>
Subject: Re: Workflow Goes To Error Status
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<CAGSLasT9qmkuhTA7g1hBNDXH97g2MkoO3RKwOOnznKqEvA2UoQ at mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"

Hi Dale,

Not that this is any help but could you tell me if a new version of the workflow template was generated before the change was made?
You can see that by the _Wf_Version in the top-level container of the old and new workflow instances.

I assume no changes were made to the binding to/from the sub-workflow from the main workflow?

regards
Rick Bakker


On Thu, May 16, 2013 at 12:14 AM, Dale Brown <dale.brown at duke.edu> wrote:

>  We have a main workflow that has several steps, and one of those 
> steps calls a sub-workflow. ****
>
> We made a change to the main workflow where we moved a branch of steps 
> from one  place in the main onto another branch in the main. ****
>
> The change was not directly after the sub-workflow step in the main, 
> but later on in the workflow process. ****
>
> The issue we are running into, is that any workflow that was already 
> in process via waiting for user decision action in the 
> sub-workflow,****
>
> will now go into an error status when the  user does the action , 
> which is done via using UWL.  ****
>
> It seems like the remaining sub-workflow steps run fine, but the flow 
> will not continue back into the main. ****
>
> *The error status message in red on the main workflow is (3 lines) : *
>
> "Status change from COMPLETED to READY is not allowed/possible."****
>
> "Error at point of synchronization (work item *[it lists the next work 
> item number that you cannot see in the log]* EXECUTE)?****
>
> ?Work item *[it lists  the main workflow item number]* : Object 
> FLOWITEM method EXECUTE cannot be executed?****
>
> ** **
>
> Any newly created workflows work fine. ****
>
> ** **
>
> We tried swu_obuf, etc.  ****
>
> Would release status on a workflow template or standard task matter at 
> all?  Currently we have them at ?not defined? instead of ?released? 
> .****
>
> Is there anything in XML code that could cause this ?****
>
> ** **
>
> We are on Release 720****
>
> ** **
>
> Dale Brown****
>
> Duke University****
>
> OIT Application and Database Services****
>
> (919) 684-5341****
>
> ** **
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20130516/8da67ac1/attachment-0001.htm

------------------------------

Message: 2
Date: Thu, 16 May 2013 14:17:17 +0200
From: stephane <s.bailleul at free.fr>
Subject: Workflow Goes To Error Status (Dale Brown)
To: sap-wug at mit.edu
Message-ID: <1368706638.29000.4.camel at aris.Bailleul>
Content-Type: text/plain; charset="utf-8"

Hi Dale, 

This is standard behavior, what you did in your workflow template is a change without changing the workflow version.
You should have changed the workflow version, then all the old workflow (started before the change) could have continue with the old definition.
However as you have not changed the version, it believe the definition started is still valid but 'can not find it' meaning you are in trouble... 

For the production my advice would be to stop the workflow started before and trigger the event that will trigger the new workflow.
When changing a workflow definition already in production you shall change the version.

Best regards
Stephane



Le mercredi 15 mai 2013 ? 12:51 -0400, sap-wug-request at mit.edu a ?crit :

> 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. Workflow Goes To Error Status (Dale Brown)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 15 May 2013 14:14:11 +0000
> From: Dale Brown <dale.brown at duke.edu>
> Subject: Workflow Goes To Error Status
> To: "sap-wug at mit.edu" <sap-wug at mit.edu>
> Message-ID:
> 	<1311B5D8F69C1E4A9FD4F302EC6A0314E7206E at ex-mbg-05.win.duke.edu>
> Content-Type: text/plain; charset="us-ascii"
> 
> We have a main workflow that has several steps, and one of those steps calls a sub-workflow.
> 
> We made a change to the main workflow where we moved a branch of steps from one  place in the main onto another branch in the main.
> 
> The change was not directly after the sub-workflow step in the main, but later on in the workflow process.
> 
> The issue we are running into, is that any workflow that was already 
> in process via waiting for user decision action in the sub-workflow,
> 
> will now go into an error status when the  user does the action , which is done via using UWL.
> 
> It seems like the remaining sub-workflow steps run fine, but the flow will not continue back into the main.
> 
> The error status message in red on the main workflow is (3 lines) :
> 
> "Status change from COMPLETED to READY is not allowed/possible."
> 
> "Error at point of synchronization (work item [it lists the next work item number that you cannot see in the log] EXECUTE)"
> 
> "Work item [it lists  the main workflow item number] : Object FLOWITEM method EXECUTE cannot be executed"
> 
> 
> 
> Any newly created workflows work fine.
> 
> 
> 
> We tried swu_obuf, etc.
> 
> Would release status on a workflow template or standard task matter at all?  Currently we have them at "not defined" instead of "released" .
> 
> Is there anything in XML code that could cause this ?
> 
> 
> 
> We are on Release 720
> 
> 
> 
> Dale Brown
> 
> Duke University
> 
> OIT Application and Database Services
> 
> (919) 684-5341
> 
> 
> -------------- next part -------------- An HTML attachment was 
> scrubbed...
> URL: 
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20130515/80457cb1
> /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 102, Issue 10
> ****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20130516/546ff980/attachment-0001.htm

------------------------------

Message: 3
Date: Thu, 16 May 2013 14:20:46 +0200
From: stephane <s.bailleul at free.fr>
Subject: Workflow locked when receiving event
To: sap-wug at mit.edu
Message-ID: <1368706846.29000.7.camel at aris.Bailleul>
Content-Type: text/plain; charset="utf-8"

Hi Claus, 

You should try the event queue, transaction SWETYPV will allow you to use the event queue for your workflow and transaction SWEQADM to monitor and also set up the job for queue

Cheers
Stephane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20130516/71a6fde3/attachment-0001.htm

------------------------------

Message: 4
Date: Tue, 14 May 2013 06:59:49 +0200
From: joshi maddela <joshi.maddela at gmail.com>
Subject: Re: Determining user id linked to a partner function
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Cc: Joshi Maddela <joshi.maddela at steinmuller.bilfinger.com>
Message-ID:
	<CAC_F61ThS-oxyJWqZiVEp=ZFeLZ=u1D2gwQcx+Ph00LSceezKA at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi Brenda,

(I spoke to Martin yesterday). The partner number which we see as a project manager is actually created as a sales employee.
This is linked to HR data. Some times this employee may or may not have SAP user id. But when we filled the HR info type 0105 which carries sap user id with user details, Then we could see this in table PA0105.
Thanks to every one.

Joshi

On Mon, May 13, 2013 at 10:02 AM, Brenda Raubenheimer < braubenheimer at telkomsa.net> wrote:

> Hi.
>
> We need to get the user id linked to the project manager. We have 
> established that the project manager is in table IHPA where PARVW = 'ZT'.
> However, the entry in our system has no ADRNR field filled in. Does 
> anyone know how to determine the user linked to this partner? When we 
> use transaction CG20N and display the partners, a name is shown, so 
> there has to be a way to get this. I really don't want to have to 
> debug the transaction so I'm hoping someone out there can help.
>
> Regards,
> Brenda.
>
> Sent from my iPhone
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20130514/12f82aad/attachment.htm

------------------------------

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


End of SAP-WUG Digest, Vol 102, Issue 11
****************************************



More information about the SAP-WUG mailing list