<div>We also had the scenario Mike G describes in his last paragraph, where an object transported but did not activate correctly. What happened then was every time the workflow was selected via PFTC it started to generate more versions as it struggled to resolve a missing object attribute, but never gave us a meaningfull message.
</div>
<div>SAP fixed this for us be generating the object again in the receiving system.</div>
<div>&nbsp;</div>
<div>Mike<br>&nbsp;</div>
<div><span class="gmail_quote">On 27/12/06, <b class="gmail_sendername">Mike Gambier</b> &lt;<a href="mailto:madgambler@hotmail.com">madgambler@hotmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Amit,<br><br>In some very rare circumstances the transport of your WF defintiion can<br>fail, leaving none of your versions active. Hope this hasn&#39;t happened to
<br>you, but it can be fixed if you know the tables to &#39;adjust&#39; if it has.<br><br>In my experience it is worth everybody keeping a close eye on the following<br>tables and make sure your WF versions are consistent from time to time:
<br><br>HRS1205 (current active version)<br><br>SWDSHEADER (all versions of the WF definition, active or inactive) - note<br>that version &#39;9999&#39; is always the latest &#39;Transport&#39; version of the<br>definition and should have generated a &#39;new&#39; version with a lower number if
<br>it has been activated properly.<br><br>In theory, the most recent active version (but not the &#39;9999&#39; Transport<br>version) listed in SWDSHEADER _should_ match up to the current active<br>version listed in HRS1205. If these two tables disagree you have a version
<br>issue that will need to be fixed.<br><br>We run a program to compare these tables and flag up any WF definitions that<br>are inconsistent after major releases and fixes. It can adjust the tables if<br>need be ; )<br><br>
WF activation isn&#39;t always immediate by the way. Indeed, in some of our test<br>systems we have WF definitions that have never been activated and so are<br>still sitting there in there 9999 versions waiting to be activated. The
<br>activation code can sometimes encounter problems activating the right<br>version in target systems that are future-dated where the most recent active<br>version in the target system appears to be &#39;younger&#39; than the transport
<br>version. SAP came back on that one and said they didn&#39;t support this kind of<br>situation so we had to resort to table updates post-transport to keep things<br>in line.<br><br>In many cases WF activiation needs a triggering event to be raised or
<br>someone to check the WF using SWQUD/SWDD to kick off the &#39;activate new<br>version&#39; subroutines to convert version 9999 into a proper version.<br>Sometimes just by executing these transactions on your WF definitions is
<br>enough to retrigger the &#39;generate active version&#39; code and finish the job if<br>the transport hung up halfway through. Sometimes it isn&#39;t enough though,<br>often because something&#39;s up with the WF definition&#39;s syntax.
<br><br>SWDD can also help if there&#39;s a dodgy dialog Task complaining about agent<br>determination errors. These can also hold up WF activation.<br><br>Sometimes for General Tasks we find that the table entry from HRP1217 can
<br>sometimes go astray too. If that happens try selecting the Agent Assignment<br>menu option inside the task and choose the attributes button to select the<br>&#39;General Task&#39; radio button in your target system. Even if the system is
<br>&#39;locked&#39; for edit&#39; this will still create the HRP1217 entry, which is a<br>handy trick : )<br><br>Of course Business Object changes can also cause issues. Make sure any<br>objects that have been changed to support the new WF version also syntax
<br>check. Generate them from SWO1 if you can just to be sure. Then drop the WF<br>buffers using SWU_OBUF before trying SWUD or SWDD again.<br><br>MGT<br><br>&gt;From: &quot;Mike Pokraka&quot; &lt;<a href="mailto:asap@workflowconnections.com">
asap@workflowconnections.com</a>&gt;<br>&gt;Reply-To: &quot;SAP Workflow Users&#39; Group&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>&gt;To: &quot;SAP Workflow Users&#39; Group&quot; &lt;<a href="mailto:sap-wug@mit.edu">
sap-wug@mit.edu</a>&gt;<br>&gt;Subject: Re: Version problem after workflow transport<br>&gt;Date: Wed, 27 Dec 2006 10:21:09 -0000 (UTC)<br>&gt;<br>&gt;Hi Amit,<br>&gt;This recently came up on SDN<br>&gt;<a href="https://forums.sdn.sap.com/click.jspa?searchID=535469&amp;messageID=2315432">
https://forums.sdn.sap.com/click.jspa?searchID=535469&amp;messageID=2315432</a><br>&gt;<br>&gt;Basically do a consistency check using SWUD.<br>&gt;Cheers,<br>&gt;Mike<br>&gt;<br>&gt;<br>&gt;On Mon, December 25, 2006 11:52 am, amit wrote:
<br>&gt; &gt; Dear All,<br>&gt; &gt;<br>&gt; &gt; We have just transported all our ESS related workflows to the Testing<br>&gt; &gt; system<br>&gt; &gt; and are facing a highly peculiar problem .<br>&gt; &gt;<br>&gt; &gt; During first transport, the workflows had an error saying : Workflow
<br>&gt; &gt; definition &#39;WS91000015&#39; not in version &#39;0001&#39;.<br>&gt; &gt; Therefore we retransported the workflows and these workflows were<br>&gt;opening<br>&gt; &gt; fine. However, the versions of these workflow keep on increasing !!
<br>&gt; &gt; some of the workflows have generated atleast 50 versions now and i dont<br>&gt; &gt; know<br>&gt; &gt; why this is happening !!<br>&gt; &gt;&nbsp;&nbsp;The workflow versions of all workflows except one are increasing .
<br>&gt; &gt; we are on ECC5.0 WAS 6.4 .<br>&gt; &gt;<br>&gt; &gt; Could somebody please help me understand and correct why this is<br>&gt; &gt; happening,<br>&gt; &gt; as this is one problem ive never encountered??<br>&gt; &gt;
<br>&gt; &gt;&nbsp;&nbsp;Thanks and Regards,<br>&gt; &gt; Amit Erande<br>&gt; &gt; _______________________________________________<br>&gt; &gt; SAP-WUG mailing list<br>&gt; &gt; <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
&gt; &gt; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;--<br>&gt;Mike Pokraka<br>&gt;Senior Consultant<br>&gt;Workflow Connections
<br>&gt;Mobile: +44(0)7786 910855<br>&gt;<br>&gt;_______________________________________________<br>&gt;SAP-WUG mailing list<br>&gt;<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>&gt;<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br>_________________________________________________________________<br>Get FREE Web site and company branded e-mail from Microsoft Office Live<br><a href="http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/">
http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/</a><br><br>_______________________________________________<br>SAP-WUG mailing list<br><a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br></blockquote></div><br>