<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=946015818-26072006><FONT face=Arial color=#0000ff size=2>Hi 
Mark, just got back to this.&nbsp; You hit it right on the head.&nbsp; There are 
two instances of the custom event('Reviewed'); one of type 'workitem' and one of 
type 'eventitem'.&nbsp; The type 'eventitem' is the waiting version of the event 
and sure enough it has the right workitem id but the wrong key. I'm confused as 
to why it has the correct receiver key but yet the wrong object key.&nbsp; It's 
almost as if it stored that last key used.&nbsp; So how would I go about 
properly preparing the waiting event.</FONT></SPAN></DIV>
<DIV><SPAN class=946015818-26072006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=946015818-26072006><FONT face=Arial color=#0000ff size=2>Thanks 
much, you've been very helpful.</FONT></SPAN></DIV>
<DIV><SPAN class=946015818-26072006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=946015818-26072006><FONT face=Arial color=#0000ff 
size=2>Kevin</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of 
  </B>Mark Pyc<BR><B>Sent:</B> Wednesday, July 26, 2006 7:29 AM<BR><B>To:</B> 
  SAP Workflow Users' Group<BR><B>Subject:</B> Re: Receiver not entered 
  error<BR><BR></FONT></DIV>
  <DIV>G'day Kevin,</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>If the event raised is 01 and the wait for event is expecting 00 then 
  they won't match up. You can see which instance the wait for event is 
  expecting either in Extras &gt; Instance Linkage from the Wait Workitem, or 
  from txn SWEINST. </DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV>If the object key can change you need to ensure that&nbsp;any 
  existing&nbsp;wait event is still logically correct.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Have fun,</DIV>
  <DIV>Mark<BR><BR>&nbsp;</DIV>
  <DIV><SPAN class=gmail_quote>On 7/26/06, <B class=gmail_sendername>May, 
  Kevin</B> &lt;<A 
  href="mailto:KMay@petro-canada.ca">KMay@petro-canada.ca</A>&gt; wrote:</SPAN> 
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
    <DIV>
    <DIV>
    <DIV>
    <DIV>
    <DIV>
    <P><FONT face=Arial size=2>Hi folks, I've got a bizarre sort of 
    problem.&nbsp; I've got a workflow that seems to be error free end to end 
    when I use the diagnostic tool.&nbsp; In practice it works fine as well 
    however in one instance I get an error I cannot understand.&nbsp; The 
    workflow has a 'wait for event activity', the event it is waiting for is a 
    custom event from a custom BOR.&nbsp; The key of the BOR are two char 
    fields, one 20 chars long the other 2 chars.&nbsp; In the second key 
    represents an iterative entry for example '00' and then '01'.&nbsp; 
    </FONT></P>
    <P><FONT face=Arial size=2>The user typically will create a document with a 
    key i.e. 'Some text' &amp; '00' and then submit it to workflow.&nbsp; This 
    works wonderfully and the various steps and conditions of the workflow 
    execute without error.&nbsp; However when the user makes a revision to the 
    document resulting with a new key i.e. 'Some text'&nbsp; &amp; '01' and 
    triggers the workflow,&nbsp; when the event is raised from the custom BOR it 
    goes into error with 'Receiver not entered'.&nbsp; The workflow stalls at 
    the 'wait for event' step in the workflow.&nbsp; I used the workflow trace 
    and all the containers appear to be loaded correctly, the workitem is 
    sitting with the correct agent.&nbsp; I really don't understand why when the 
    event is raised for 'Some text' &amp; '00' it works fine however when it is 
    'Some text' &amp; '01' it has the receiver not entered error.&nbsp; Any help 
    offered will be appreciated. </FONT></P>
    <P><FONT face=Arial size=2>Kevin </FONT></P></DIV>
    <DIV>&nbsp;</DIV>
    <DIV align=center>
    <HR>
    </DIV>
    <DIV>&nbsp;&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>This email communication is intended as a 
    private communication for the sole use of the primary addressee and those 
    individuals listed for copies in the original message. The information 
    contained in this email is private and confidential and If you are not an 
    intended recipient you are hereby notified that copying, forwarding or other 
    dissemination or distribution of this communication by any means is 
    prohibited.&nbsp; If you are not specifically authorized to receive this 
    email and if you believe that you received it in error please notify the 
    original sender immediately.&nbsp; We honour similar requests relating to 
    the privacy of email communications. </FONT></DIV>
    <DIV style="FONT-SIZE: 9pt; FONT-FAMILY: Courier New">
    <P>&nbsp;</P>
    <P><FONT face=Arial size=2>Cette communication par courrier électronique est 
    une communication privée à l'usage exclusif du destinataire principal ainsi 
    que des personnes dont les noms figurent en copie.&nbsp; Les renseignements 
    contenus dans ce courriel sont confidentiels et si vous n'êtes pas le 
    destinataire prévu, vous êtes avisé, par les présentes que toute 
    reproduction, transfert ou autre forme de diffusion de cette communication 
    par quelque moyen que ce soit est interdite.&nbsp; Si vous n'êtes pas 
    spécifiquement autorisé à recevoir ce courriel ou si vous croyez l'avoir 
    reçu par erreur, veuillez en aviser l'expéditeur original 
    immédiatement.&nbsp; Nous respectons les demandes similaires qui touchent la 
    confidentialité des communications par courrier électronique. 
    </FONT></P></DIV></DIV></DIV></DIV></DIV><BR>_______________________________________________<BR>SAP-WUG 
    mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
    href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu </A><BR><A 
    onclick="return top.js.OpenExtLink(window,event,this)" 
    href="http://mailman.mit.edu/mailman/listinfo/sap-wug" 
    target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>