<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>SAP_WAPI_CREATE_EVENT and Workflow binding</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3429" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=037410019-07012009><FONT face=Arial 
color=#0000ff size=2>have you&nbsp;confirmed the binding between the event 
container and the workflow?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=037410019-07012009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=037410019-07012009><IMG 
src="cid:037410019@07012009-27BA"></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=037410019-07012009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV align=left>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" align=left><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Regards<?xml:namespace prefix = o ns 
= "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Margaret 
Schumacher<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Teleflex</SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sr. SAP Analyst - 
ABAP</SPAN><o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Phone 919-361-3945</SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"><A 
href="mailto:mschumacher@teleflexmedical.com">mschumacher@teleflexmedical.com</A> 
<o:p></o:p></SPAN></P></DIV>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Penhall, Kathy 
[mailto:kpenhall@hydro.mb.ca] <BR><B>Sent:</B> Wednesday, January 07, 2009 11:48 
AM<BR><B>To:</B> sap-wug@mit.edu<BR><B>Subject:</B> SAP_WAPI_CREATE_EVENT and 
Workflow binding<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hello Workflow folks,</FONT> </P>
<P><FONT face=Arial size=2>We are having a similar problem as Srinivas Oota 
recently posted here.&nbsp; We are attempting to code an event to kick off a 
workflow and the container doesn't seem to be passed to the workflow from the 
function call.&nbsp; Originally we just attempted to copy the SAP logic in 
LHRTEM00NETF53 to generate the event PDRELA_025.MOVED where approriate, by 
copying the code used when PDRELA_025.MOVEREQUESTED is generated, which uses 
function SWE_EVENT_CREATE.&nbsp; However when we did this, our moved event was 
not being generated, despite the fact that this same code still works for the 
moverequested event.</FONT></P>
<P><FONT face=Arial size=2>So as Jocelyn suggested, we changed our code to use 
function SAP_WAPI_CREATE_EVENT and have populated the container with the data 
required by the workflow.&nbsp; The event is now generated, but the values in 
the container don't appear to have been passed to the workflow even though the 
return code from the function is 0 and the only message generated by the 
function call is "Event created - at least one receiver 
found".&nbsp;&nbsp;&nbsp; I confirmed the fields were not populated by running 
SAP_WAPI_READ_CONTAINER as suggested and found the two container elements I 
defined and populated for the event function call are in the container, but not 
populated as I would have expected them to be.</FONT></P>
<P><FONT face=Arial size=2>Any suggestions on what we might be missing?</FONT> 
</P><BR>
<P><B><I><FONT face="Monotype Corsiva" color=#800080 size=4>Kathy 
Penhall</FONT></I></B><I></I><FONT face=Arial color=#000000 
size=1><BR></FONT><FONT face=Arial size=1>HR Applications<BR>SAP Support 
Services</FONT><FONT face="Times New Roman" size=1><BR></FONT><FONT face=Arial 
size=1>693 Taylor Avenue<BR>(tel)204-477-7197<BR></FONT></P></BODY></HTML>