<div>Hi Tony, </div>
<div>&nbsp;</div>
<div>Let me check if I&#39;ve understood you correctly. I create a new BOR object which has a default method which executes the enhancement. I bind in this object so it appears as a link in the work item. Then the user can click on it to execute the enhancement if needed? </div>

<div>&nbsp;</div>
<div>Could I do that with an OO class - can you just bind an OO instance in to a work item so it appears as a link?</div>
<div>&nbsp;</div>
<div>I think this approach would work, although it seems a shame to create a new object/class just for the purpose. </div>
<div>&nbsp;</div>
<div>Thanks, </div>
<div>Gavin<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 17/09/2008, <b class="gmail_sendername">Read, Tony</b> &lt;<a href="mailto:Tony.Read@woodside.com.au">Tony.Read@woodside.com.au</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Can you not call the enhancement via a method and instantiate the class and pass that to the work item like a BOR attachment.</font></span></div>

<div>&nbsp;</div>
<p><span lang="en-au"><font face="Arial" size="2">Regards </font></span><br><span lang="en-au"><b><font face="Arial" size="2">Anthony Read</font></b></span> </p>
<p><span lang="en-au"><b><font face="Arial" size="2">SAP ABAP Consultant</font></b></span> <br><b><span lang="pt"><font face="Arial" color="#000000">Woodside SAP Services</font></span><span lang="en-au"></span></b> <br><span lang="en-au"><font face="Arial" color="#008000" size="2">Tel&nbsp;&nbsp;&nbsp;&nbsp; +61 (08) 9348 4428</font></span> <br>
<span lang="en-au"><font face="Arial" color="#008000" size="2">Fax&nbsp;&nbsp;&nbsp; +61 (08) 9348 5387</font></span> <br><span lang="en-au"><font face="Arial" color="#ff0000" size="2"><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Anthony.read@woodside.com.au" target="_blank">Anthony.read@woodside.com.au</a></font></span> </p>

<div>&nbsp;</div><br>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Gavin Mooney<br>
<b>Sent:</b> Wednesday, 17 September 2008 1:00 PM<br><b>To:</b> SAP Workflow Users&#39; Group<br><b>Subject:</b> Work item to call an enhancement<br></font><br>&nbsp;</div>
<div><span class="e" id="q_11c6ebf656fc381d_1">
<div></div>
<div>Hi everyone, </div>
<div>&nbsp;</div>
<div>I have a requirement for a work item. It needs to have a link to a couple of BOR objects (that&#39;s fine - we can just bind them in) and also a link to a custom enhancement. The users may not&nbsp;need to use all of these links, but they have to have the option should they need to. To call the enhancement we could use the method on the work item task but the problem is that if we did it this way then the enhancement would be called any time the user executes the work item, and many users seem to execute work items without realising it by double clicking to display them (rather than selecting the work item from the list and clicking display). </div>

<div>&nbsp;</div>
<div>Is there an easy way around this? We could make the work item a decision task where if the user wants to call the enhancement they select that option and the workflow calls the enhancement in the subsequent step. The problem with that is if the user clicks to execute the enhancement and then wants to go back to view the objects that we&#39;re binding in. It just all seems to get a bit messy. </div>

<div>&nbsp;</div>
<div>Hope I&#39;m missing something obvious!</div>
<div>Thanks, </div>
<div>Gavin</div></span></div><pre>NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
</pre></div><br>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div><br>