Just a tip, make sure you have backed out of all WF related transactions before calling SWU_OBUF - especially SWO1. The transactions can hold on to things which somehow invalidate the buffer refresh. Backing out the object to the main screen of SWO1 is not enough, you must leave the transaction.
<br><br>May not even be an issue anymore, but it certainly used to be.<br><br>Have fun,<br>Mark<br><br>On 8/20/07, <b class="gmail_sendername">Sample, Rick</b> <<a href="mailto:Rick.Sample@gbe.com">Rick.Sample@gbe.com</a>
> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div vlink="blue" link="blue" lang="EN-US">
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>I am still working on how to get the exceptions from
BEFORE / AFTER methods </span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>to pass back to the task. I think I have a
solution.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>While I am working on that issue, I am having
EXTREME issues with </span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>getting the code sync'd up from the methods. I do the
obvious SWU_OBUF but </span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>that is not refreshing all every time.
</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>Anyone else that use before / after methods have
buffer issues?</span></font></div><span class="q">
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span>
<p><font size="2">Rick Sample<br>SAP Business Workflow Developer<br>Graybar,
Inc.<br></font></p></span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"><span></span></font> </div><br>
</span><div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sap-wug-bounces@mit.edu</a>
[mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Sample,
Rick<br><b>Sent:</b> Friday, August 17, 2007 9:04 AM<br><b>To:</b> SAP Workflow
Users' Group<br><b>Subject:</b> Task with AFTER method
question<br></font><br></div><div><span class="e" id="q_114851e288f27fa7_3">
<div></div>
<div><span><font color="#0000ff" face="Arial">I have a task
with a bor-method as a secondary method. </font></span></div>
<div><span><font color="#0000ff" face="Arial">After MUCH
fuss with the buffers I almost got what I want. </font></span></div>
<div><span><font color="#0000ff" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" face="Arial">In a the task
when you use an object-method that has Exceptions </font></span></div>
<div><span><font color="#0000ff" face="Arial">you can see
these exceptions in the Outcomes and take </font></span></div>
<div><span><font color="#0000ff" face="Arial">action. i.e.
not a before / after method.</font></span></div>
<div><span><font color="#0000ff" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" face="Arial">I removed the
method from the main task, put in a void BG method,
(testing)</font></span></div>
<div><span><font color="#0000ff" face="Arial">then moved
that same method to a secondary method. </font></span></div>
<div><span><font color="#0000ff" face="Arial">I do not get
these exceptions added to the Outcomes when </font></span></div>
<div><span><font color="#0000ff" face="Arial">in a
secondary method.</font></span><span><font color="#0000ff" face="Arial"> </font></span></div>
<div><span><font color="#0000ff" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" face="Arial">Any ideas how
to handle exceptions from a secondary method?</font></span></div>
<div><span><font color="#0000ff" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" face="Arial">
<p><font size="2">Rick Sample<br>SAP Business Workflow Developer<br>Graybar,
Inc.<br></font></p></font></span></div></span></div></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>