Hello Prasad,<div><br></div><div>For your requirement Use BUS2032 with event created.</div><div>whenever the sales order is created,your workflow will trigger and workitem sent to approval.</div><div><br></div><div>Regards</div>
<div>Raja<br><br><div class="gmail_quote">On Thu, Mar 24, 2011 at 3:35 PM, priyank dev <span dir="ltr"><<a href="mailto:priyank.dev@gmail.com">priyank.dev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
For your requirement , you want to send a single work item (create and change or either of the case).As per my suggestion, use SAP_WAPI FM in user exit SAVE_DOCUMENT and add the condition <div>if Sy-tcode= VA or VA.</div>
<div>
use wapi FM/select query to check weather your WF is in process/under approval.</div><div>write your logic.</div><div>endif.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Mar 24, 2011 at 3:26 PM, <span dir="ltr"><<a href="mailto:venkat.prasad@wipro.com" target="_blank">venkat.prasad@wipro.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Yes. That is what the requirement is. But it should also trigger a Work Item for approval when SO is changed..</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>priyank dev<br>
<b>Sent:</b> Thursday, March 24, 2011 3:20 PM<br><b>To:</b> SAP Workflow Users' Group<br><b>Subject:</b> Re: Duplicate Work Items</span></p></div><div><div></div><div><p class="MsoNormal"> </p><p class="MsoNormal">
Hi,</p><div><p class="MsoNormal" style="margin-bottom:12.0pt"> Please let us know your requirement first.Once the SO is created then it should for approval??..</p><div><p class="MsoNormal">On Thu, Mar 24, 2011 at 3:15 PM, <<a href="mailto:venkat.prasad@wipro.com" target="_blank">venkat.prasad@wipro.com</a>> wrote:</p>
<div><div><p class="MsoNormal">Hello,</p><p class="MsoNormal"> </p><p class="MsoNormal">I have a scenario where when I create a Sales Order, the Work Item will be sent to the approver. But even before the Approver accesses the Work Item, if I've changed the SO, then another Work Item is triggered. Could you please let me know which Work Item would be available for the approver to action on? Would it be both of only one of them? Please let me know. Thanks.</p>
<p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">Regards,</p><p class="MsoNormal">Venkata Phani Prasad K</p><p class="MsoNormal"> </p></div><p><strong><span style="font-size:10.0pt;font-family:"Palatino Linotype","serif";color:green">Please do not print this email unless it is absolutely necessary. </span></strong></p>
<p>The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p>
<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p>
<p><a href="http://www.wipro.com" target="_blank">www.wipro.com</a> </p></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>SAP-WUG mailing list<br><a href="mailto:SAP-WUG@mit.edu" target="_blank">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></p></div><p class="MsoNormal"> </p></div></div></div></div><div><div></div><div><p><strong><span style="font-size:10.0pt;font-family:"Palatino Linotype","serif";color:green"> Please do not print this email unless it is absolutely necessary. </span></strong><span></span></p>
<p> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p>
<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p>
<p>
<a href="http://www.wipro.com" target="_blank">www.wipro.com</a>
</p>
</div></div></div><br>_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu" target="_blank">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></blockquote></div><br></div></div></div>
<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>
<br></blockquote></div><br></div>