Hi,<div><br></div><div>when you are using a custom button(Proceed with changes ) then why cant you use Customized button for Cancel as well, which will serve the same purpose<br><br><div class="gmail_quote">On Fri, Mar 2, 2012 at 10:09 AM, Srinivas Reddy <span dir="ltr">&lt;<a href="mailto:ootasrinivasreddy@gmail.com">ootasrinivasreddy@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Experts,<br>
<br>
I am facing a strange issue with the secodary method, After execution<br>
in the user decision step. The requirement is as follows.<br>
<br>
The user will a  receive workitem with 2 buttons. 1) Proceed with<br>
changes and 2) Cancel button. Note: Cancel button is SAP default.<br>
<br>
Case 1) When the user executes the workitem in SBWP and decideds to<br>
make changes, he will click on Proceed with changes button and  the<br>
workflow wil show the relevant document on the CV02N screen. He can<br>
make changes and save the document and the subsequent steps in the<br>
workflow will trigger.<br>
Case 2)  If the user is not willing to make any changes at the<br>
moment.He will click on CANCEL button and the workitem should stay in<br>
his inbox.<br>
<br>
For the case 1 I have  assigned  EDIT method from the DRAW standard<br>
business object as a secondary method choosing AFTER EXECUTION. This<br>
case is working fine.<br>
<br>
The problem is with the case 2. If the user clicks on Cancel button<br>
still the CV02N screen is displaying and then if the user clicks on<br>
back button the workitem is comming back to his inbox. I guess in both<br>
the cases the EDIT method assigned as AFTER EXECUTION is triggering.<br>
How to bypass the EDIT method triggering when the user click&#39;s on<br>
Cancel button.<br>
<br>
Kindly help me in fixing this issue.<br>
<br>
Thanks and Regards<br>
Srini..<br>
SAP Technical Consultant<br>
<a href="tel:%2B919963307464" value="+919963307464">+919963307464</a><br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>shankar<br>
</div>