<div><font color="#3333ff">Hi Albina,</font></div>
<div><font color="#3333ff">Thanks for that quick response. That&nbsp;should be a good idea. But i read in some of the old archives of WUG that substitution overrides the concept of possible agents itself. i.e a person can execute the workitem even if he is not a possible agent as he exceutes the workitem under the original user's access(below link for your reference). In such a case will he be restricted from executing the workitem by making him as an excluded agent?
</font></div>
<div><font color="#3333ff"></font>&nbsp;</div>
<div><a href="http://mailman.mit.edu/pipermail/sap-wug/2003-August/010241.html"><font color="#3333ff">http://mailman.mit.edu/pipermail/sap-wug/2003-August/010241.html</font></a></div>
<div><font color="#3333ff"></font>&nbsp;</div>
<div><font color="#3333ff">&nbsp;I have been googling around for this and found a function module - <span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Trebuchet MS'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">
RH_SUBSTITUTION_MAINTAIN which is used to maintain substitutes.&nbsp;Any idea on usage of&nbsp;this function module? Will it be possible to customize this function module and use it for my requirements?</span></font></div>
<p>&nbsp;</p>
<table class="" id="mm" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="au" style="COLOR: #00681c">
<div><span id="_user_albinafernando@gmail.com">Albina Fernando</span>&nbsp; </div>
<td width="100%">
<table class="rc" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div><font color="#00681c">&lt;<a href="mailto:albinafernando@gmail.com">albinafernando@gmail.com</a>&gt; </font>to <span id="_upro_sap-wug@mit.edu">sap-wug</span></div></td></tr></tbody></table>
<td>&nbsp;<span class="lk s" id="so">More options</span> 
<td align="right">&nbsp;&nbsp;<span id="_date_Mon Sep 18 2006_11:22 AM">11:22 am (22 minutes ago)</span></td></td></td></td></tr></tbody></table>
<div class="mb cb">
<div id="mb_0"><span></span>
<div>
<div>hi Prasanth,</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;<span class="st" id="st" name="st">In</span> a Workitem or <span class="st" id="st" name="st">in</span> a particular task , we have the option of Excluded agents. You can exclude the agents that you don't want to view/execute the Workitem. You will need to create a Container element and populate it with the list of agents who are not authorized to view/execute the work item and then pass this Container element 
<span class="st" id="st" name="st">in</span> the Place where it says Excluded agents. </div>
<div>&nbsp; Through the Maintain Substitute option <span class="st" id="st" name="st">in</span> <span class="st" id="st" name="st">SBWP</span>, you won't be able to do that.</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Albina<br>&nbsp;</div></div></div></div>