<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi Zolt,<br>If you want the process to be simultaneous and not sequential then a list of the settlement objects should be used to drive the dynamic parallel process. I use the term object because that is how I would treat each item that is part of the outboarding process. I would create a custom object and each item to be settled would be an instance of that object. You could then put enough information in the object's attributes to determine who the approver should be for that particular object. Since you already have the custom table, creating a custom object over it would quite easy. I don't know all that is in your customer table, but could you add approver information for each item?<br><br>Ed<br><br>BTW, if the process can be or needs to be sequential then just put the list of objects in a loop. Sometimes one thing cannot be approved until something else has been approved.<br><br><br><br><hr id="stopSpelling">Subject: RE: Dynamic branches on a fork<br>Date: Tue, 26 Oct 2010 16:09:46 +0200<br>From: Marton.Zsolt@iqsys.hu<br>To: sap-wug@mit.edu<br>CC: sap-wug-bounces@mit.edu<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxshape
{;}
</style>
<style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass tt
{font-family:'Courier New';}
.ExternalClass span.ecxEmailStyle18
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{;}
@page WordSection1
{size:612.0pt 792.0pt;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}
</style>
<div class="ecxWordSection1">
<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Hi, Thanks</span></p>
<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">We have the custom table, but users requirement is to handle all
the approvements in one process. </span><span style="font-size: 11pt; font-family: Wingdings; color: rgb(31, 73, 125);">L</span><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"></span></p>
<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Thanks anyway.</span></p>
<p class="ecxMsoNormal"><b><span style="font-size: 10pt; font-family: 'Comic Sans MS'; color: gray;" lang="EN-US">Márton Zsolt</span></b><span style="font-size: 10pt; font-family: 'Arial','sans-serif'; color: rgb(31, 73, 125);" lang="EN-US"><br>
<br>
</span><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"></span></p>
<div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US"> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>Krishna K Kammaje<br>
<b>Sent:</b> Tuesday, October 26, 2010 3:57 PM<br>
<b>To:</b> SAP Workflow Users' Group<br>
<b>Cc:</b> SAP Workflow Users' Group; sap-wug-bounces@mit.edu<br>
<b>Subject:</b> RE: Dynamic branches on a fork</span></p>
</div>
<p class="ecxMsoNormal"> </p>
<p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">Hi
Zolt,</span> <br>
<br>
<span style="font-size: 10pt; font-family: 'Arial','sans-serif';">We had a
similar requirement, and this is what we did.</span> <br>
<br>
<span style="font-size: 10pt; font-family: 'Arial','sans-serif';">All the
different processes were maintained in a custom table. </span><br>
<span style="font-size: 10pt; font-family: 'Arial','sans-serif';">An ABAP batch
job was created which will run daily once and trigger different work items for
each suitable process. Business logic was contained in this program.</span> <br>
<br>
<span style="font-size: 10pt; font-family: 'Arial','sans-serif';">Thanks<br>
Krishna Kishor Kammaje <br>
SAP Certified Development Associate - ABAP with Netweaver 7.0<br>
| HRMS LCM Team | Manyata | D3 | 9th Floor | MD3-9F-A113 | Mob: +91 990 100
0799 | Direct - Xtn: 080 280-62953 |<br>
</span><br>
<br>
<br>
<br>
<span style="font-size: 7.5pt; font-family: 'Arial','sans-serif'; color: rgb(95, 95, 95);">From:
</span><span style="font-size: 7.5pt; font-family: 'Arial','sans-serif';">Márton Zsolt <Marton.Zsolt@iqsys.hu></span> <br>
<span style="font-size: 7.5pt; font-family: 'Arial','sans-serif'; color: rgb(95, 95, 95);">To:
</span><span style="font-size: 7.5pt; font-family: 'Arial','sans-serif';">"SAP Workflow Users' Group"
<sap-wug@mit.edu></span> <br>
<span style="font-size: 7.5pt; font-family: 'Arial','sans-serif'; color: rgb(95, 95, 95);">Date:
</span><span style="font-size: 7.5pt; font-family: 'Arial','sans-serif';">26/10/2010 19:21</span> <br>
<span style="font-size: 7.5pt; font-family: 'Arial','sans-serif'; color: rgb(95, 95, 95);">Subject:
</span><span style="font-size: 7.5pt; font-family: 'Arial','sans-serif';">RE: Dynamic branches on a fork</span> <br>
<span style="font-size: 7.5pt; font-family: 'Arial','sans-serif'; color: rgb(95, 95, 95);">Sent
by: </span><span style="font-size: 7.5pt; font-family: 'Arial','sans-serif';">sap-wug-bounces@mit.edu</span> </p>
<div class="ecxMsoNormal" style="text-align: center;" align="center">
<hr style="color: rgb(172, 168, 153);" width="100%" align="center" noshade="noshade" size="2">
</div>
<p class="ecxMsoNormal" style="margin-bottom: 12pt;"><br>
<br>
<br>
<tt><span style="font-size: 10pt;">Hi Koenraad,</span></tt><span style="font-size: 10pt; font-family: 'Courier New';"><br>
<tt>Thanks for reply. The workflow is started wia event and I have several
previous step before settlement. Those steps must be carried out within one
workflow. </tt><br>
<tt>You say to start the parallel processes with events. But how can I
determine dynamically the events? </tt><br>
<tt>My tought was to create a task with parallel processing controlled by a
multiline element (number of items)</tt><br>
<br>
<tt>But any idea is welcome. :)</tt><br>
<tt>Br</tt><br>
<tt>Zsolt</tt><br>
<br>
<tt>-----Original Message-----</tt><br>
<tt>From: sap-wug-bounces@mit.edu [</tt></span><a href="mailto:sap-wug-bounces@mit.edu"><tt><span style="font-size: 10pt;">mailto:sap-wug-bounces@mit.edu</span></tt></a><tt><span style="font-size: 10pt;">] On Behalf Of JANSSENS Koenraad</span></tt><span style="font-size: 10pt; font-family: 'Courier New';"><br>
<tt>Sent: Tuesday, October 26, 2010 3:25 PM</tt><br>
<tt>To: SAP Workflow Users' Group</tt><br>
<tt>Subject: RE: Dynamic branches on a fork</tt><br>
<br>
<tt>Zsolt,</tt><br>
<br>
<tt>Why don't you use events to start various instances of a settlement item
wf?</tt><br>
<br>
<tt>Regards</tt><br>
<br>
<tt>Koenraad</tt><br>
<br>
<tt>>-----Original Message-----</tt><br>
<tt>>From: sap-wug-bounces@mit.edu [</tt></span><a href="mailto:sap-wug-bounces@mit.edu"><tt><span style="font-size: 10pt;">mailto:sap-wug-bounces@mit.edu</span></tt></a><tt><span style="font-size: 10pt;">] On Behalf Of Márton Zsolt</span></tt><span style="font-size: 10pt; font-family: 'Courier New';"><br>
<tt>>Sent: Tuesday, October 26, 2010 3:10 PM</tt><br>
<tt>>To: SAP Workflow Users' Group</tt><br>
<tt>>Subject: Dynamic branches on a fork</tt><br>
<tt>></tt><br>
<tt>>Hi All!</tt><br>
<tt>></tt><br>
<tt>>I have to implement a workflow werkoer settlements when they are
leaving the company. For this we have created an</tt><br>
<tt>>settlement document with header and itmes, where the number of
items can be changed dependig on what kind of</tt><br>
<tt>>settlement process must be carried out (for exemple: give back the
company's assets, entrance card, etc.) Each</tt><br>
<tt>>settlement item must be approved by different person and for this I
need parallel processing.</tt><br>
<tt>>My problem is: need to have parallel processes but will not know the
number of branches until the workflow is run. The</tt><br>
<tt>>number of branches will vary from instance to instance, depending from
the number of items.</tt><br>
<tt>>Does anyone know of a way to have dynamic branches on a fork?</tt><br>
<tt>></tt><br>
<tt>>Thanks in advance,</tt><br>
<tt>>Br</tt><br>
<tt>>Zsolt</tt><br>
<tt>></tt><br>
<tt>>_______________________________________________</tt><br>
<tt>>SAP-WUG mailing list</tt><br>
<tt>>SAP-WUG@mit.edu</tt><br>
<tt>></tt></span><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank"><tt><span style="font-size: 10pt;">http://mailman.mit.edu/mailman/listinfo/sap-wug</span></tt></a><span style="font-size: 10pt; font-family: 'Courier New';"><br>
<br>
<tt>_______________________________________________</tt><br>
<tt>SAP-WUG mailing list</tt><br>
<tt>SAP-WUG@mit.edu</tt><br>
</span><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank"><tt><span style="font-size: 10pt;">http://mailman.mit.edu/mailman/listinfo/sap-wug</span></tt></a><span style="font-size: 10pt; font-family: 'Courier New';"><br>
<br>
<tt>_______________________________________________</tt><br>
<tt>SAP-WUG mailing list</tt><br>
<tt>SAP-WUG@mit.edu</tt><br>
</span><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank"><tt><span style="font-size: 10pt;">http://mailman.mit.edu/mailman/listinfo/sap-wug</span></tt></a></p>
</div>
<br>_______________________________________________
SAP-WUG mailing list
SAP-WUG@mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug                                            </body>
</html>