<html>
  <head>
    <meta content="text/html; charset=us-ascii"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Dale, <br>
    <br>
    Workflow will not always generate a new version in the Dev
    environment especially if your Dev client is different from test
    client. A new version is supposed to be generated when there are
    active running workflows for the current generation. You will have
    to generate your own version before making changes. Please also see
    OSS -
    <meta http-equiv="content-type" content="text/html;
      charset=us-ascii">
    <a class="urLnkFunction urVt1"
      href="https://service.sap.com/sap/support/notes/125400"
      title="Right mouse click to add this SAP Note to your browser
      favorites" alt="Right mouse click to add this SAP Note to your
      browser favorites"><span id="header_data" ct="TextView"
        class="urTxtH1">Note 125400 - Modifying a productive Workflow</span></a>
    for additional information.<br>
    <br>
    Regards,<br>
    Ramki<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 5/16/13 9:38 AM, Dale Brown wrote:<br>
    </div>
    <blockquote
      cite="mid:1311B5D8F69C1E4A9FD4F302EC6A0314E783F6@ex-mbg-05.win.duke.edu"
      type="cite">
      <pre wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a> [<a class="moz-txt-link-freetext" href="mailto:sap-wug-bounces@mit.edu">mailto:sap-wug-bounces@mit.edu</a>] On Behalf Of <a class="moz-txt-link-abbreviated" href="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</a>
Sent: Thursday, May 16, 2013 8:54 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>
Subject: SAP-WUG Digest, Vol 102, Issue 11

Send SAP-WUG mailing list submissions to
        <a class="moz-txt-link-abbreviated" href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>

To subscribe or unsubscribe via the World Wide Web, visit
        <a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>
or, via email, send a message with subject or body 'help' to
        <a class="moz-txt-link-abbreviated" href="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</a>

You can reach the person managing the list at
        <a class="moz-txt-link-abbreviated" href="mailto:sap-wug-owner@mit.edu">sap-wug-owner@mit.edu</a>

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 <a class="moz-txt-link-rfc2396E" href="mailto:rbakker@gmail.com">&lt;rbakker@gmail.com&gt;</a>
Subject: Re: Workflow Goes To Error Status
To: "SAP Workflow Users' Group" <a class="moz-txt-link-rfc2396E" href="mailto:sap-wug@mit.edu">&lt;sap-wug@mit.edu&gt;</a>
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:CAGSLasT9qmkuhTA7g1hBNDXH97g2MkoO3RKwOOnznKqEvA2UoQ@mail.gmail.com">&lt;CAGSLasT9qmkuhTA7g1hBNDXH97g2MkoO3RKwOOnznKqEvA2UoQ@mail.gmail.com&gt;</a>
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 <a class="moz-txt-link-rfc2396E" href="mailto:dale.brown@duke.edu">&lt;dale.brown@duke.edu&gt;</a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap=""> 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
<a class="moz-txt-link-abbreviated" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>


</pre>
      </blockquote>
      <pre wrap="">-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-freetext" href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20130516/8da67ac1/attachment-0001.htm">http://mailman.mit.edu/pipermail/sap-wug/attachments/20130516/8da67ac1/attachment-0001.htm</a>

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

Message: 2
Date: Thu, 16 May 2013 14:17:17 +0200
From: stephane <a class="moz-txt-link-rfc2396E" href="mailto:s.bailleul@free.fr">&lt;s.bailleul@free.fr&gt;</a>
Subject: Workflow Goes To Error Status (Dale Brown)
To: <a class="moz-txt-link-abbreviated" href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:1368706638.29000.4.camel@aris.Bailleul">&lt;1368706638.29000.4.camel@aris.Bailleul&gt;</a>
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, <a class="moz-txt-link-abbreviated" href="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</a> a ?crit :

</pre>
      <blockquote type="cite">
        <pre wrap="">Send SAP-WUG mailing list submissions to
        <a class="moz-txt-link-abbreviated" href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>

To subscribe or unsubscribe via the World Wide Web, visit
        <a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>
or, via email, send a message with subject or body 'help' to
        <a class="moz-txt-link-abbreviated" href="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</a>

You can reach the person managing the list at
        <a class="moz-txt-link-abbreviated" href="mailto:sap-wug-owner@mit.edu">sap-wug-owner@mit.edu</a>

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 <a class="moz-txt-link-rfc2396E" href="mailto:dale.brown@duke.edu">&lt;dale.brown@duke.edu&gt;</a>
Subject: Workflow Goes To Error Status
To: <a class="moz-txt-link-rfc2396E" href="mailto:sap-wug@mit.edu">"sap-wug@mit.edu"</a> <a class="moz-txt-link-rfc2396E" href="mailto:sap-wug@mit.edu">&lt;sap-wug@mit.edu&gt;</a>
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:1311B5D8F69C1E4A9FD4F302EC6A0314E7206E@ex-mbg-05.win.duke.edu">&lt;1311B5D8F69C1E4A9FD4F302EC6A0314E7206E@ex-mbg-05.win.duke.edu&gt;</a>
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: 
<a class="moz-txt-link-freetext" href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20130515/80457cb1">http://mailman.mit.edu/pipermail/sap-wug/attachments/20130515/80457cb1</a>
/attachment-0001.htm

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

_______________________________________________
SAP-WUG mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>


End of SAP-WUG Digest, Vol 102, Issue 10
****************************************
</pre>
      </blockquote>
      <pre wrap="">-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-freetext" href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20130516/546ff980/attachment-0001.htm">http://mailman.mit.edu/pipermail/sap-wug/attachments/20130516/546ff980/attachment-0001.htm</a>

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

Message: 3
Date: Thu, 16 May 2013 14:20:46 +0200
From: stephane <a class="moz-txt-link-rfc2396E" href="mailto:s.bailleul@free.fr">&lt;s.bailleul@free.fr&gt;</a>
Subject: Workflow locked when receiving event
To: <a class="moz-txt-link-abbreviated" href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:1368706846.29000.7.camel@aris.Bailleul">&lt;1368706846.29000.7.camel@aris.Bailleul&gt;</a>
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: <a class="moz-txt-link-freetext" href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20130516/71a6fde3/attachment-0001.htm">http://mailman.mit.edu/pipermail/sap-wug/attachments/20130516/71a6fde3/attachment-0001.htm</a>

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

Message: 4
Date: Tue, 14 May 2013 06:59:49 +0200
From: joshi maddela <a class="moz-txt-link-rfc2396E" href="mailto:joshi.maddela@gmail.com">&lt;joshi.maddela@gmail.com&gt;</a>
Subject: Re: Determining user id linked to a partner function
To: "SAP Workflow Users' Group" <a class="moz-txt-link-rfc2396E" href="mailto:sap-wug@mit.edu">&lt;sap-wug@mit.edu&gt;</a>
Cc: Joshi Maddela <a class="moz-txt-link-rfc2396E" href="mailto:joshi.maddela@steinmuller.bilfinger.com">&lt;joshi.maddela@steinmuller.bilfinger.com&gt;</a>
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:CAC_F61ThS-oxyJWqZiVEp=ZFeLZ=u1D2gwQcx+Ph00LSceezKA@mail.gmail.com">&lt;CAC_F61ThS-oxyJWqZiVEp=ZFeLZ=u1D2gwQcx+Ph00LSceezKA@mail.gmail.com&gt;</a>
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 &lt; <a class="moz-txt-link-abbreviated" href="mailto:braubenheimer@telkomsa.net">braubenheimer@telkomsa.net</a>&gt; wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>

</pre>
      </blockquote>
      <pre wrap="">-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-freetext" href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20130514/12f82aad/attachment.htm">http://mailman.mit.edu/pipermail/sap-wug/attachments/20130514/12f82aad/attachment.htm</a>

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

_______________________________________________
SAP-WUG mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>


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

_______________________________________________
SAP-WUG mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>