<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR>
&nbsp;<BR>
This is an update for any fellow wuggers looking after&nbsp;heavy Workflow-based systems who want to convert the single stream job for Workflow Deadlines (previously&nbsp;RSWWDHEX now RSWDDDHEX_INTERNAL) and/or want to restrict the number of deadlines processed per run. Basically this enables&nbsp;the same kind of parallel processing&nbsp;that you can employ for the Event Queue using SWEQADM settings.<BR>
&nbsp;<BR>
Under 4.6c we managed to achieve both by cloning the old RSWWDHEX program and modifying the select statement and the RFC destination to suit our needs. Under ECC 6.0 the rules have changed of course (as has the program, which&nbsp;is&nbsp;now just a shell to call RSWDDHEX_INTERNAL)&nbsp;so this won't work as we now have to deal with the rabbit warren of classes and polymorphism that is the new Workflow/BPE engine. Anyone else fed up of debugging through CL_SWL* Methods yet by the way? I know I am already...<BR>
&nbsp;<BR>
But hoorah! After a bit of persuaion SAP have seen the light and recgnised that there might be a need for this kind of approach&nbsp;as standard, so they have&nbsp;come up with&nbsp;SAP OSS Note 1025249 :)&nbsp;<BR>
&nbsp;<BR>
This introduces a 'new' RFC destination called WORKFLOW_LOCAL_DEADLINE_100 which can be configured to point to your own server group (so you can control which servers the first deadline step is executed on).&nbsp;Although, to be honest, the actual code change&nbsp;itself is a bit of hack even by SAP's standards; they simply&nbsp;insert the 'DEADLINE_' string into the RFC Destination name on the fly! <BR>
&nbsp;<BR>
Pity they didn't see fit to add this an option in SWU3 though, but hey-ho.<BR>
&nbsp;<BR>
To restrict&nbsp;the selection of deadlines they have agreed&nbsp;to a small mod in class method CL_SWF_RUN_SWWWIDH_QUEUE -&gt;GET_INSTANCE_FOR_TIMESTAMP where it's possible to introduce an UP TO n ROWS statement and influence the value of n as required.&nbsp;We've have done this for ourselves&nbsp;via a mod as&nbsp;no official note will be supplied at present.<BR>
&nbsp;<BR>
Regards,<BR>
&nbsp;<BR>
Mike GT<BR><br /><hr />Everything in one place. <a href='http://www.windowslive.co.uk/get-live' target='_new'>All new Windows Live!</a></body>
</html>