Hi Eddie,<br><br>As per the user requirement, once the user clicks on 'Proceed with changes' button, right away CV02N screen with the relevant document should appear. NOT another entry in the SBWP. But incase if I create an activity and call the DRAW.EDIT method after the user decision step I doubt that the new task will create new entry in SBWP and the user need to open it from SBWP again. Correct me if I am wrong??<br>
<br>Thanks and Regards,<br>Srini...<br><br><div class="gmail_quote">On Fri, Mar 2, 2012 at 5:37 PM, Morris, Eddie <span dir="ltr"><<a href="mailto:eddie.morris@sap.com">eddie.morris@sap.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Srini,<br>
<br>
You should not use the secondary method for editing. The man purpose of the secondary method is to display something so the user can make a more informed decision with the user decision step.<br>
<br>
Put the DRAW.EDIT method in an activity step after the user decision step in the branch for case 1 and remove the secondary method.<br>
<br>
Regards,<br>
Eddie<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a>] On Behalf Of Srinivas Reddy<br>
Sent: 02 March 2012 10:09<br>
To: SAP Workflow Users' Group<br>
Subject: Issue with secondary method after execution<br>
<br>
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'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>
</div></div><div class="HOEnZb"><div class="h5">_______________________________________________<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>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards<br>Srini..<br>SAP Technical Consultant<br>+919963307464<br><br>