<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-GB;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Srini,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Make sure &#8220;Advance with dialog&#8221; option is set on the DRAW.EDIT step so the work item will open automatically (As long as the user is a responsible agent of the work item).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Eddie<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>Srinivas Reddy<br><b>Sent:</b> 02 March 2012 13:05<br><b>To:</b> SAP Workflow Users' Group<br><b>Subject:</b> Re: Issue with secondary method after execution<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>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...<o:p></o:p></p><div><p class=MsoNormal>On Fri, Mar 2, 2012 at 5:37 PM, Morris, Eddie &lt;<a href="mailto:eddie.morris@sap.com">eddie.morris@sap.com</a>&gt; wrote:<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><div><div><p class=MsoNormal><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 &nbsp;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 &nbsp;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) &nbsp;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 &nbsp;assigned &nbsp;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">+919963307464</a><o:p></o:p></p></div></div><div><div><p class=MsoNormal>_______________________________________________<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><o:p></o:p></p></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br><br clear=all><br>-- <br>Thanks and Regards<br>Srini..<br>SAP Technical Consultant<br>+919963307464<o:p></o:p></p></div></body></html>