<div>Hi Yifat,</div>
<div>&nbsp;</div>
<div>There are a number of ways to perform this agent determination.</div>
<div>The simplest option is to&nbsp;create a &quot;Role&quot; by &quot;Responsibility&quot; through PFAC.</div>
<div>Identify how you would determine the relevant VP for each work item (eg. through company code, org unit, etc) and use this as your &quot;Container Element&quot; in the Role.</div>
<div>Under &quot;Responsibilities&quot;, create a &quot;Responsibility&quot; and enter the value (single value, range or multiple vlaues) for the container (or containers) specified.</div>
<div>Now assign the VP (via responsibility,&nbsp;user ID,&nbsp;personnel number, etc)&nbsp;to that responsibility.</div>
<div>Now you can create other &quot;Responsibilities&quot; for the&nbsp;other 2 VP&#39;s.</div>
<div>&nbsp;</div>
<div>Another option is to create an &quot;Attribute&quot; in your business object to&nbsp;determine the VP according&nbsp;to the&nbsp;logic&nbsp;you specify. This requires good ABAP knowledge, but some good&nbsp;FM&#39;s to use&nbsp;are RH_GET_ACTORS,&nbsp;RH_GET_STRUCTURE. The agent will be instantiated immediately when the Workflow is triggered (if you created this attribute under the the Key Business Object of course).
</div>
<div>&nbsp;</div>
<div>Play around with those two ideas for the meantime and see how you go.</div>
<div>&nbsp;</div>
<div>Hope that helps.</div>
<div>Tom</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>
<hr>
 <pre>Hello!
I created a WS with my own organizational plan.
In my organizational plan, i have 3 human resources vice presidents.
I need to send the WI to the relevant VP.
What is the best way to determine it?

regards
yifat

Yifat Bar
Sap developer IBM
mail-:   <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">yifatb at il.ibm.com</a>

</pre></div>