Hi Pratima,<br><br>if the BAPI fails due to the lock, in your method, you can create a temporary error.. system will automatically try to execute the step again. You need not inform the user.<br><br>Regards,<br>Sudhir<br>(713) 922-9016<br>
<br><div class="gmail_quote">2008/3/26 Pratima Poojary &lt;<a href="mailto:pratima_poojary@yahoo.com">pratima_poojary@yahoo.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi,<br><br>We have a sales order workflow for exceptional demand.<br>In one of the steps of the workflow,the corresponding task executes in background. <br><br>Sales Order Change BAPI is called within this task.<br>Now the problem is that in case the sales order is locked for execution by some other user, the BAPI call returns a message of type &#39;E&#39;.<br>
Currently we send a mail to the concerned people to indicate that the sales order change has failed. However the users are concerned, since there is no immediate feeback on the errors.<br>Is there any way that the user&#39;s can be informed instantly that an error has occured and also a retry option so that the BAPI call can be reexecuted at a later time.<br>
  <div>&nbsp;</div>  <div>Regards,<br>Pratima Poojary</div></div><p> 



      </p><hr size="1"><div class="WgoR0d">Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs" target="_blank"> Make Yahoo your homepage.</a></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>