<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=326001213-26072005><FONT face=Arial size=2>I have never been 
bothered by a stranger problem I think. A workflow solution has to be developed 
for approval of access to buildings, which uses a custom infotype in HR. Anyway, 
the code for the infotype calls&nbsp;a function I have written, and in my 
function I have a call to SAP_WAPI_CREATE_EVENT. </FONT></SPAN></DIV>
<DIV><SPAN class=326001213-26072005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=326001213-26072005><FONT face=Arial size=2>Everything is fine 
in development, the function is called, SAP_WAPI_CREATE_EVENT is called and 
returns successfully (at least one receiver found), the event log displays the 
entry and the workflow starts.</FONT></SPAN></DIV>
<DIV><SPAN class=326001213-26072005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=326001213-26072005><FONT face=Arial size=2>In Quality Assurance 
the function is called, SAP_WAPI_CREATE_EVENT is called and returns successfully 
(at least one receiver found), and the event log displays ... nothing, nada, 
nix. Naturally the workflow does not start.</FONT></SPAN></DIV>
<DIV><SPAN class=326001213-26072005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=326001213-26072005><FONT face=Arial size=2>Using SWUE to create 
the event in QA works like a charm. The event log displays the entry and the 
workflow starts.</FONT></SPAN></DIV>
<DIV><SPAN class=326001213-26072005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=326001213-26072005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=326001213-26072005><FONT face=Arial size=2>I've been trying to 
figure out what the problem is and making minor changes in the code. Nothing has 
helped so far, and it is a bad idea to change code which works (it works in the 
development system at least). I have tried both with and without commit_work, 
and it makes no difference that I am able to observe.</FONT></SPAN></DIV>
<DIV align=left><FONT face=Arial size=2>-- </FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Kjetil Kilhavn, Statoil KTJ IT 
BKS</FONT></DIV>
<DIV>&nbsp;</DIV><p></p><p><font size=1>-------------------------------------------------------------------<br>The information contained in this message may be CONFIDENTIAL and is<br>intended for the addressee only. Any unauthorised use, dissemination of the<br>information or copying of this message is prohibited. If you are not the<br>addressee, please notify the sender immediately by return e-mail and delete<br>this message.<br>Thank you.</font size></BODY></HTML>