<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE id=owaTempEditStyle></STYLE>

<STYLE title=owaParaStyle>P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>

<META content="MSHTML 6.00.6000.17093" name=GENERATOR></HEAD>
<BODY ocsi="x">
<DIV dir=ltr align=left><FONT><SPAN class=817382017-30062011><FONT><FONT 
face="MS Sans Serif"><FONT color=#800000><FONT size=3>I use a different FM. 
</FONT></FONT></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT><SPAN class=817382017-30062011><FONT><FONT 
face="MS Sans Serif"><FONT color=#800000><FONT 
size=3></FONT></FONT></FONT></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT><SPAN class=817382017-30062011><FONT><FONT 
face="MS Sans Serif" color=#000080>call function 
'SWE_EVENT_CREATE'</FONT></FONT></DIV>
<P dir=ltr align=left><FONT face="MS Sans Serif"><FONT color=#000080><SPAN 
class=817382017-30062011>&nbsp; </SPAN>exporting</FONT></FONT></P>
<P dir=ltr align=left><FONT face="MS Sans Serif"><FONT color=#000080><SPAN 
class=817382017-30062011>&nbsp;&nbsp;&nbsp; </SPAN>objtype = 
c_objtype</FONT></FONT></P>
<P dir=ltr align=left><FONT face="MS Sans Serif"><FONT color=#000080><SPAN 
class=817382017-30062011>&nbsp;&nbsp;&nbsp; </SPAN>objkey = 
w_objkey</FONT></FONT></P>
<P dir=ltr align=left><FONT face="MS Sans Serif"><FONT color=#000080><SPAN 
class=817382017-30062011>&nbsp;&nbsp;&nbsp; </SPAN>event = 
c_event</FONT></FONT></P>
<P dir=ltr align=left><FONT face="MS Sans Serif"><FONT color=#000080><SPAN 
class=817382017-30062011>&nbsp; </SPAN>importing</FONT></FONT></P>
<P dir=ltr align=left><FONT face="MS Sans Serif"><FONT color=#000080><SPAN 
class=817382017-30062011>&nbsp;&nbsp;&nbsp; </SPAN>event_id = 
w_event_id</FONT></FONT></P>
<P dir=ltr align=left><FONT face="MS Sans Serif"><FONT color=#000080><SPAN 
class=817382017-30062011>&nbsp;&nbsp;&nbsp; </SPAN>tables</FONT></FONT></P>
<P dir=ltr align=left><FONT face="MS Sans Serif"><FONT color=#000080><SPAN 
class=817382017-30062011>&nbsp;&nbsp;&nbsp; </SPAN>event_container = 
wf_container</FONT></FONT></P>
<P dir=ltr align=left><FONT face="MS Sans Serif"><FONT color=#000080><SPAN 
class=817382017-30062011>&nbsp;&nbsp;</SPAN>exceptions</FONT></FONT></P>
<P dir=ltr align=left><FONT face="MS Sans Serif"><FONT color=#000080><SPAN 
class=817382017-30062011>&nbsp;&nbsp;&nbsp; </SPAN>objtype_not_found = 
1</FONT></FONT></P>
<P dir=ltr align=left><FONT face="MS Sans Serif"><FONT color=#000080><SPAN 
class=817382017-30062011>&nbsp;&nbsp;&nbsp; </SPAN>others = 2.</FONT></FONT></P>
<P dir=ltr align=left><FONT face="MS Sans Serif" color=#000080></FONT>&nbsp;</P>
<P dir=ltr align=left><FONT face="MS Sans Serif" color=#000080>commit 
work.</FONT></P>
<DIV></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=817382017-30062011><FONT face="MS Sans Serif" color=#800000 
size=3>A commit work statement following raising the event my help 
too.</FONT></SPAN></DIV>
<DIV><SPAN class=817382017-30062011><FONT face="MS Sans Serif" 
color=#000080></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=817382017-30062011><FONT face="MS Sans Serif" 
color=#000080></FONT></SPAN>&nbsp;</DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of 
</B>david.s.dittmer@accenture.com<BR><B>Sent:</B> Thursday, June 30, 2011 1:01 
PM<BR><B>To:</B> sap-wug@mit.edu<BR><B>Subject:</B> Workflow does not 
start<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV 
style="FONT-SIZE: 13px; COLOR: #000000; DIRECTION: ltr; FONT-FAMILY: Tahoma">
<DIV></DIV>
<DIV dir=ltr><FONT face=Tahoma color=#000000 size=2>Hello experts,</FONT></DIV>
<DIV dir=ltr><FONT face=tahoma size=2>I am trying to trigger a workflow from a 
totally customized procedure which saves into a custom table. The workflow must 
trigger when the object is saved. I have set up a business object with 
events/attributes and methods and when manually triggering the event using 
transaction SWUE the event is triggered. However when the object is saved the 
event is not triggered automatically. When I debugged the&nbsp;code the 
transaction to create the event&nbsp;<!--StartFragment --> 
<STYLE type=text/css>SPAN {
        FONT-SIZE: 10pt; BACKGROUND: #ffffff; COLOR: #000000; FONT-FAMILY: "Courier New"
}
</STYLE>
<SPAN>SWW_WI_CREATE_VIA_EVENT_IBF</SPAN>&nbsp; is not found. At the risk of 
stating the obvious should FM&nbsp;<!--StartFragment --> 
<STYLE type=text/css>SPAN {
        FONT-SIZE: 10pt; BACKGROUND: #ffffff; COLOR: #000000; FONT-FAMILY: "Courier New"
}
</STYLE>
<SPAN>SWW_WI_CREATE_VIA_EVENT_IBF</SPAN>&nbsp; not be inserted in to the save 
procedure of the customized transaction or is there another way of triggering 
this event perhaps by expanding the attributes of the business 
object?</FONT></DIV>
<DIV dir=ltr><FONT face=tahoma size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=tahoma size=2>Any thoughts on this issue.</FONT></DIV>
<DIV dir=ltr><FONT face=tahoma size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=tahoma size=2>Thanks</FONT></DIV>
<DIV dir=ltr><FONT face=tahoma size=2>David Dittmer</FONT></DIV></DIV><BR>
<HR>
<FONT face=Arial color=gray size=2>This message is for the designated recipient 
only and may contain privileged, proprietary, or otherwise private information. 
If you have received it in error, please notify the sender immediately and 
delete the original. Any other use of the email by you is 
prohibited.<BR></FONT>
<P><pre wrap>---------------------------------------------------------
This e-mail transmission may contain information that is 
proprietary, privileged and/or confidential and is
intended exclusively for the person(s) to whom it is
addressed. Any use, copying, retention or disclosure by
any person other than the intended recipient or the
intended recipient's designees is strictly prohibited. If
you are not the intended recipient or their designee,
please notify the sender immediately by return e-mail and
delete all copies.
---------------------------------------------------------
</pre></P></BODY></HTML>