Hi Jocelyn,<br>&nbsp; I tried to get the parent of the current workitem from table SWWWIHEAD(Field TOP WI ID) using the current work item id, but the problem is already there are some attachments available in the workflow container when the workflow is started, in this case how to check the current instance. Please advice.<br>
<br><div class="gmail_quote">2008/7/4 Dart, Jocelyn &lt;<a href="mailto:jocelyn.dart@sap.com">jocelyn.dart@sap.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>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Just check _ATTACH_OBJECTS container element&nbsp;to the 
workflow using SAP_WAPI_CONTAINER_READ against the workflow&#39;s work item (i.e. 
parent of the current work item)</font></span></div>
<div>&nbsp;</div>
<p><span lang="en-us"><font face="Arial" size="1">Regards,</font></span> <br><span lang="en-us"><b><font color="#000080" face="Arial" size="1">Jocelyn 
Dart</font></b></span> <br><span lang="en-us"><font color="#808080" face="Arial" size="1">Senior Consultant</font></span> <br><span lang="en-us"><b><font color="#808080" face="Arial" size="1">SAP Australia Pty Ltd.</font></b></span> <br>
<span lang="en-us"><font color="#808080" face="Arial" size="1">Level 1/168 Walker 
St.</font></span> <br><span lang="en-us"><font color="#808080" face="Arial" size="1">North Sydney </font></span><br><span lang="en-us"><font color="#808080" face="Arial" size="1">NSW, 2060</font></span> <br><span lang="en-us"><font color="#808080" face="Arial" size="1">Australia</font></span> <br>
<span lang="en-us"><font color="#808080" face="Arial" size="1">T&nbsp;&nbsp; +61 412 390 
267</font></span> <br><span lang="en-us"><font color="#808080" face="Arial" size="1">M&nbsp;&nbsp; + 61 412 390 267</font></span> <br><span lang="en-us"><font color="#808080" face="Arial" size="1">E&nbsp;&nbsp; <a href="mailto:jocelyn.dart@sap.com" target="_blank">jocelyn.dart@sap.com</a></font></span> 
<br><span lang="en-us"><font color="#808080" face="Arial" size="1"><a href="http://www.sap.com/" target="_blank">http://www.sap.com</a></font></span> </p>
<p><span lang="en-au"><font color="#ff0000" face="Times New Roman" size="1">The 
information contained in or attached to this electronic transmission is 
confidential and may be legally privileged. It is intended only for the person 
or entity to which it is addressed. If you are not the intended recipient, you 
are hereby notified that any distribution, copying, review, retransmission, 
dissemination or other use of this electronic transmission or the information 
contained in it is strictly prohibited. If you have received this electronic 
transmission in error, please immediately contact the sender to arrange for the 
return of the original documents. </font></span></p>
<p><span lang="en-au"><font color="#ff0000" face="Times New Roman" size="1">Electronic 
transmission cannot be guaranteed to be secure and accordingly, the sender does 
not accept liability for any such data corruption, interception, unauthorized 
amendment, viruses, delays or the consequences thereof.</font></span></p>
<p><span lang="en-au"><font color="#ff0000" face="Times New Roman" size="1">Any views 
expressed in this electronic transmission are those of the individual sender, 
except where the message states otherwise and the sender is authorized to state 
them to be the views of SAP AG or any of its subsidiaries. SAP AG, its 
subsidiaries, and their directors, officers and employees make no representation 
nor accept any liability for the accuracy or completeness of the views or 
information contained herein. Please be aware that the furnishing of any pricing 
information/ business proposal herein is indicative only, is subject to change 
and shall not be construed as an offer or as constituting a binding agreement on 
the part of SAP AG or any of its subsidiaries to enter into any relationship, 
unless otherwise expressly stated. </font></span></p>
<div>&nbsp;</div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <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>Ibrahim 
Khan<br><b>Sent:</b> Friday, 04 July 2008 12:16 PM<br><b>To:</b> SAP Workflow 
Users&#39; Group<br><b>Subject:</b> Re: SBWP vs UWL<br></font><br></div><div><div></div><div class="Wj3C7c">
<div></div>Hi Ramki,<br>&nbsp; Thanks for your reply. Can you please tell me how 
to perform this check inside a method, is there any table where i can check for 
the entry.<br><br>Regards,<br>Ibrahim Khan<br><br>
<div class="gmail_quote">2008/7/3 Ramki Maley &lt;<a href="mailto:workflow99@aol.com" target="_blank">workflow99@aol.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 text="#000000" bgcolor="#ffffff">Ibrahim,<br><br>One way would be to 
  check if a note has already been attached (from UWL) before the pop up for 
  SBWP but that might break the Advance with dialog 
  chain.<br><br>Cheers,<br>Ramki Maley.<br><br>Ibrahim Khan wrote: 
  <blockquote type="cite">
    <div>Hi Friends,<br>I am sending a work item for approval. If 
    the approver selects reject button then a pop up should appear for him to 
    enter the reason for rejections, this can be achieved through advance with 
    dialog option if we are using SBWP, but in case of UWL this option is not 
    available, so i am planning to use the user decision handler. In this case 
    if the user login into sap then the dialog step after the user decision 
    step(for getting the rejection reason&#39;s) should be used, but if the user 
    uses UWL the user decision handler should be used and this dialog step 
    should be skipped or else again a work item will be sent to the user for 
    entering the rejection reasons. How to control this. </div><pre><hr size="4" width="90%">
_______________________________________________
SAP-WUG mailing list
<a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>
  </pre></blockquote></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>