<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR>
&nbsp;<BR>
Thanks to Ralf (Goetzinger) and Peter (Amrhein)&nbsp;at SAP we now have an OSS Note 1262519 with a bit more flesh on the bones of the new deadline stuff, and guess what? there's a&nbsp;shiny new SAP Transaction to play with :)<BR>
&nbsp;<BR>
SWF_ADM_SWWWIDH - 'Suspended Deadline Actions'&nbsp;-&nbsp;lists and enables reprocessing of&nbsp;SWWWIDH entries in status '02'<BR><BR>
The Transaction has a 'Reactivate Entry' feature (think 'reprocess') but no 'Ignore' feature, presumably on the assumption that the SWWWIDH entry is only temporary and will be archived/deleted eventually. I can imagine someone asking for a few more statuses and user commands...<BR>
&nbsp;<BR>
The definition of a 'suspended&nbsp;deadline' is also in the note:<BR>
&nbsp;<BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<EM>A deadline action receives the status 'suspended' if the batch job SWWDHEX tried and failed five times to execute the deadline action, and the execution could not be completed due to an exception. Temporary errors such as enqueue errors are not counted towards this limit.</EM><BR></BLOCKQUOTE>
&nbsp;<BR>
Regards,<BR>
&nbsp;<BR>
Mike GT<BR>

<HR id=stopSpelling>
<BR>
Subject: RE: ECC 6 - New SWWWIDH fields including 'Status'<BR>Date: Tue, 21 Oct 2008 10:56:44 -0400<BR>From: mschumacher@teleflexmedical.com<BR>To: sap-wug@mit.edu<BR><BR><BR>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding-right:0px;padding-left:0px;padding-bottom:0px;padding-top:0px;}
.ExternalClass BODY.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>

<DIV dir=ltr align=left><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff>I've got 4 entries with status 2 in production.&nbsp; So it appears to be something else we need to be checking periodically.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff>Two of the entries&nbsp;<SPAN class=EC_542450514-21102008>( 8</SPAN>61554<SPAN class=EC_542450514-21102008> &amp; </SPAN>1281124) show that the WF has status Completed but the tasks have In-Process status</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff>The tasks still open had reached the deadline End By. (requested end)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff>The first warning message on the wf log&nbsp;is&nbsp; </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff>Cancel Work Item -&nbsp; <SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff>Work item 000000861559 locked: Marked for cancellation later</FONT></SPAN></FONT></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff>then the&nbsp;log has group of 2 messages listed 5 times (20 minutes apart)&nbsp;that say:</FONT></SPAN><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff><BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff>Set WIs to Obsolete or Cancel - <FONT face=Arial><FONT color=#0000ff>Work items locked: Marked as Set to obsolete or<SPAN class=EC_542450514-21102008> Cancel</SPAN></FONT></FONT><BR>Cleanup Started</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_542450514-21102008></SPAN><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008>then a final message of:</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008>Callback of work item 000001309482 already executed</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008>I've just executed a manual complete&nbsp;on the tasks and it does complete them.&nbsp; </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008>The&nbsp;logs get warning messages:</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008>Result Processing&nbsp; - Temporary error in result processing of work item 000001309482<BR>&nbsp; FINALIZE - Return message from work item 000001309482 within a closed component</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008>And the entries&nbsp;in the SWWWIDH as status 02 are no longer present.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008>This is leaving one In Process&nbsp;workflow (1050294) listed twice in SWWWIDH&nbsp; one has DE&nbsp;Requested End and the other is LE&nbsp;Latest End on the SWWWIDH entries.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=EC_542450514-21102008></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff>The log for this workflow has no warning messages like the others.&nbsp; It's for a Quality Notification that is still open so I'm&nbsp;not going to touch this one.&nbsp; I'll have to look for those OSS notes to see what they say if anything.&nbsp; It appears the task is showing up in the users inbox to continue execution so time will tell.&nbsp; Thanks for asking the question or I would never have completed the other&nbsp;2&nbsp;tasks.&nbsp;</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<DIV></SPAN><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff>Our SAP_BASIS and SAP_ABA&nbsp;release is 640 and SAP_APPL is 500</FONT></SPAN></DIV>
<DIV><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_542450514-21102008><FONT face=Arial color=#0000ff></FONT></SPAN></DIV>
<DIV align=left>
<P class=EC_MsoNormal align=left><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Regards</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Margaret Schumacher</SPAN></P>
<P class=EC_MsoNormal>
<P class=EC_MsoNormal><FONT face=Arial color=#0000ff></FONT><BR></P>
<BR></DIV>
<DIV class=EC_OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma><B>From:</B> Mike Gambier [mailto:madgambler@hotmail.com] <BR><B>Sent:</B> Tuesday, October 21, 2008 9:03 AM<BR><B>To:</B> SAP Workflow Users' Group<BR><B>Subject:</B> RE: ECC 6 - New SWWWIDH fields including 'Status'<BR></FONT><BR></DIV>
<DIV></DIV>Hi all,<BR>&nbsp;<BR>The official word from SAP on these new SWWWIDH fields will be published as an OSS Note in a few weeks time, so I'm told. As soon as I find anything out I'll pass on the details.<BR>&nbsp;<BR>I'm still curious as to whether anyone else can find SWWWIDH-STATUS values of '2' in their systems yet?<BR>&nbsp;<BR>On a slightly different note I've spotted a slight issue with the new Technical Log, specifically the 'Chronological' view, which is trying to select from SWWWIHEAD using a new field called TOP_NODE_ID via a new index SWWWIHEAD~D.<BR>&nbsp;<BR>In our 4.6c=&gt;ECC 6 test environments the view will just hang (presumably ending in a timeout) because all our 'old' Workflows have a blank value in this field since it was added by the upgrade and not updated during migration or the upgrade process. Interestingly the 'Tree' view works just fine.<BR>&nbsp;<BR>The code at fault appears to be this Class Method:<BR>CL_SWL_PROCESS_LOG-&gt;SELECT_CHRONOLOGIC<BR>...<BR>* new coding<BR>IF me-&gt;read_from_buffer( ) = ga_true.<BR>&nbsp; ...<BR>ELSE.<BR>&nbsp; IF pa_old_logic = ga_true.<BR>&nbsp;&nbsp;&nbsp; ... <BR>&nbsp; ELSE.&nbsp; <BR>&nbsp;&nbsp;&nbsp; SELECT * INTO TABLE at_swwwihead&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;====== <BR>&nbsp;&nbsp;&nbsp; FROM swwwihead&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;====== <BR>&nbsp;&nbsp;&nbsp; WHERE top_wi_id = pa_swwwihead-wi_id. &lt;======<BR>&nbsp;&nbsp;&nbsp; ...<BR>&nbsp; ENDIF.<BR>ENDIF.<BR>* end of note 1049570<BR>On the plus side the new TOP_NODE_ID field is a nice top-down link from Parent entries to Children that should do away with a lot of that recursive searching using the 'old' WI_CHKWI field :)<BR>&nbsp;<BR>Regards,<BR>&nbsp;<BR>Mike GT<BR><BR>
<HR>

<BR>From: madgambler@hotmail.com<BR>To: sap-wug@mit.edu<BR>Subject: ECC 6 - New SWWWIDH fields including 'Status'<BR>Date: Tue, 14 Oct 2008 14:17:30 +0000<BR><BR>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding-right:0px;padding-left:0px;padding-bottom:0px;padding-top:0px;}
.ExternalClass BODY.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>
Hello fellow WUGgers,<BR>&nbsp;<BR>As part of our upgrade testing we've spotted a few new fields on the Workflow Deadlines table SWWWIDH&nbsp;that have crept in without any explanation or warning:<BR>&nbsp;<BR><BR>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial monospaced for SAP'">WI_TIMESTAMP<SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SWW_TSTAMP<SPAN>&nbsp; </SPAN>DEC<SPAN>&nbsp;&nbsp; </SPAN>21<SPAN>&nbsp;&nbsp;&nbsp; </SPAN>7<SPAN>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Workflow: UTC Time Stamp</SPAN><BR>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial monospaced for SAP'">TIMESTAMP<SPAN>&nbsp;&nbsp; </SPAN><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>TIMESTAMPL<SPAN>&nbsp; </SPAN>DEC<SPAN>&nbsp;&nbsp; </SPAN>21<SPAN>&nbsp;&nbsp;&nbsp; </SPAN>7<SPAN>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)</SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial monospaced for SAP'">RETRY_CNT<SPAN>&nbsp;&nbsp; </SPAN><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SWW_RETCNT<SPAN>&nbsp; </SPAN>NUMC<SPAN>&nbsp; </SPAN>2<SPAN>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>0<SPAN>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Retries for Work Items with Temporary Errors</SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial monospaced for SAP'">ALERT_SEND<SPAN>&nbsp; </SPAN><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SWW_ALTSND<SPAN>&nbsp; </SPAN>CHAR<SPAN>&nbsp; </SPAN>1<SPAN>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>0<SPAN>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Workflow: Alert Sent</SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial monospaced for SAP'">RNDNUMBER<SPAN>&nbsp;&nbsp; </SPAN><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SWF_RNDNUM<SPAN>&nbsp; </SPAN>NUMC<SPAN>&nbsp; </SPAN>2<SPAN>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>0<SPAN>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Workflow: Random Number</SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial monospaced for SAP'">STATUS<SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SWW_DEASTA<SPAN>&nbsp; </SPAN>NUMC<SPAN>&nbsp; </SPAN>2<SPAN>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>0<SPAN>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Workflow: Status of SWWWIDH Entry</SPAN></P>&nbsp;<BR>The one that caught my eye was the new 'Status' field, which currently has two possible values 1 (Active) and 2 (Error).<BR>&nbsp;<BR>During some of our test we've noticed the odd '2' value creeping in which seems to mark the deadline for death so that it is completely ignored by the SWWDHEX job.<BR>&nbsp;<BR>Has anyone got any info on what these new fields are used for?<BR>&nbsp;<BR>The 'Random Number' field is also a bit curious. I haven't trawled through SAP's ABAP Classes yet to find out what it's for but it strikes me as some kind of load-balancing or performance tweak, possibly for parallel streaming.<BR>&nbsp;<BR>If anyone knows otherwise can they share their knowledge please? :)<BR>&nbsp;<BR>Regards,<BR>&nbsp;<BR>Mike GT<BR><BR><BR><BR>
<HR>
Win £3000 to spend on whatever you want at Uni! <A href="http://clk.atdmt.com/UKM/go/111354032/direct/01/">Click here to WIN!</A> <BR>
<HR>
For the best free wallpapers from MSN <A href="http://wallpapers.msn.com/?ocid=[B001MSN42A0716B]">Click here!</A><br /><hr />Click here for FREE customisable desktop wallpapers. <a href='http://wallpapers.msn.com/?ocid=[B001MSN42A0716B]' target='_new'>Get them Now!</a></body>
</html>