<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV></DIV>
<DIV>Dear Kathy,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please make sure to fill <U>all</U> SWCONT structure fields as follows:</DIV>
<UL>
<LI>ELEMENT - your element name, use uppercase!</LI>
<LI>TAB_INDEX - 00001, 00002, ... if you're&nbsp;transfer a table element then you should have same index several times.</LI>
<LI>ELEMLENGTH - according to the data dictionary.</LI>
<LI>TYPE&nbsp;- according to the data dictionary. </LI>
<LI>VALUE - your element value.</LI></UL>
<P>I assume you did but make sure to append the data to the internal table you use.</P>
<P>If it's still does not work please copy the source code to txt file and attach it.</P>
<P>&nbsp;</P>
<P>I can assure you that is suppose to work - I've done that several times and it went well.</P>
<P>Good luck.</P>
<DIV><BR>&nbsp;</DIV>
<P><FONT face="verdana, helvetica, sans-serif" color=#00007f size=2><STRONG>Regards,<BR>Shai Eyal</STRONG></FONT></P>
<P><FONT face=Verdana color=#000080 size=2><STRONG>SAP Logistics senior consultant<BR>SAP Workflow specialist</STRONG></FONT></P>
<P><FONT face=Verdana color=#000080 size=2><STRONG><A href="http://www.linkedin.com/in/shaieyal" target=_blank rel=nofollow>http://www.linkedin.com/in/shaieyal</A><BR>Mobile: 972-52-5816633</STRONG></FONT></P>
<DIV>------------------------------<BR><BR>Message: 2<BR>Date: Wed, 7 Jan 2009 10:47:51 -0600<BR>From: "Penhall, Kathy" &lt;<A href="mailto:kpenhall@hydro.mb.ca" ymailto="mailto:kpenhall@hydro.mb.ca">kpenhall@hydro.mb.ca</A>&gt;<BR>Subject: SAP_WAPI_CREATE_EVENT and Workflow binding<BR>To: &lt;<A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>&gt;<BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp; &lt;<A href="mailto:CAD3E86E65D76C47BD61434EDFD7D10F01A12889@MHMAIL02.hydro.mb.ca" ymailto="mailto:CAD3E86E65D76C47BD61434EDFD7D10F01A12889@MHMAIL02.hydro.mb.ca">CAD3E86E65D76C47BD61434EDFD7D10F01A12889@MHMAIL02.hydro.mb.ca</A>&gt;<BR>Content-Type: text/plain; charset="us-ascii"<BR><BR>Hello Workflow folks,<BR><BR>We are having a similar problem as Srinivas Oota recently posted here.<BR>We are attempting to code an event to kick off a workflow and the<BR>container doesn't seem to be passed to the workflow from the function<BR>call.&nbsp;
 Originally we just attempted to copy the SAP logic in<BR>LHRTEM00NETF53 to generate the event PDRELA_025.MOVED where approriate,<BR>by copying the code used when PDRELA_025.MOVEREQUESTED is generated,<BR>which uses function SWE_EVENT_CREATE.&nbsp; However when we did this, our<BR>moved event was not being generated, despite the fact that this same<BR>code still works for the moverequested event.<BR><BR>So as Jocelyn suggested, we changed our code to use function<BR>SAP_WAPI_CREATE_EVENT and have populated the container with the data<BR>required by the workflow.&nbsp; The event is now generated, but the values in<BR>the container don't appear to have been passed to the workflow even<BR>though the return code from the function is 0 and the only message<BR>generated by the function call is "Event created - at least one receiver<BR>found".&nbsp; &nbsp; I confirmed the fields were not populated by running<BR>SAP_WAPI_READ_CONTAINER as suggested and found the
 two container<BR>elements I defined and populated for the event function call are in the<BR>container, but not populated as I would have expected them to be.<BR><BR>Any suggestions on what we might be missing?<BR><BR><BR>Kathy Penhall <BR>HR Applications<BR>SAP Support Services <BR>693 Taylor Avenue<BR>(tel)204-477-7197 <BR><BR><BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20090107/40f0c1c1/attachment-0001.htm" target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20090107/40f0c1c1/attachment-0001.htm</A><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR><A href="mailto:SAP-WUG@mit.edu" ymailto="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>End of SAP-WUG Digest, Vol 50, Issue 4<BR>**************************************<BR></DIV></div><br>
      <hr size=1> <a href="http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/"> Get your new Email address! </a> <br>
Grab the Email name you&#39;ve always wanted before someone else does!</body></html>