<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.53">
<TITLE>RE: Start Condition Problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Thought I would just send an update because I solved this problem.</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I'm not sure if the upgrade caused the problem or the copy of dev but I had to debug the start condition on the workflow to see why it was returning false instread of true.</FONT><FONT FACE="Times New Roman"> </FONT></P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">One of the conditions it was comparing the WBSe's creation date to see if it was after 6.9.2004, even though 30.05.2006 was after 06.09.2004 it was evaluating as false.</FONT><FONT FACE="Times New Roman"> </FONT></P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">In debug I could see that it was comparing '30.05.2006' to '&nbsp;&nbsp; 06.09.2004' there were two leading spaces before the date in the start condition rules value.</FONT><FONT FACE="Times New Roman"> </FONT></P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I think this might have been the problem.</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I deleted this part of the condition and re-created it.</FONT><FONT FACE="Times New Roman"></FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Then it worked.</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Regards</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">David</FONT>
</P>
<BR>

<P><FONT SIZE=1 FACE="Tahoma">_____________________________________________ </FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">From: &nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">Bibby, David&nbsp; </FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Sent:&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">30 May 2006 18:00</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">'sap-wug@mit.edu'</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">Start Condition Problem</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Hi All,</FONT>

<BR><FONT SIZE=2 FACE="Arial">I have a start condition on a workflow that seems to&nbsp; meet all the conditions for it to start the workflow, but in fact doesn't start the workflow.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">In SWEL I can see the check on the event has failed.</FONT>

<BR><FONT SIZE=2 FACE="Arial">This works in our R/3 4.6C system but we are upgrading to ERP2004/ECC5 and this is where I am having the problem.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I am trying to test this using the check FM SWB_CHECK_FB_START_COND_EVAL</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The workflow start condition is based on BUS2054 event MONEYLAUNDERBLOCK</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">For the input parameters I am putting</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">OBJTYPE = BUS2054</FONT>

<BR><FONT SIZE=2 FACE="Arial">OBJKEY = 00008594</FONT>

<BR><FONT SIZE=2 FACE="Arial">EVENT = MONEYLAUNDERBLOCK</FONT>

<BR><FONT SIZE=2 FACE="Arial">RECTYPE = WS90100033</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Event Container</FONT>

<BR><FONT SIZE=2 FACE="Arial">ELEMENT = _EVT_OBJECT</FONT>

<BR><FONT SIZE=2 FACE="Arial">VALUE = 00008594</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">All I get is 'Start condition returns 'FALSE' for object [BO,BUS2054,00008594]'</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Am I testing this right i.e. do I have the correct element name in the Event Container?</FONT>

<BR><FONT SIZE=2 FACE="Arial">Any ideas would be appreciated.</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Many Thanks</FONT>

<BR><FONT SIZE=2 FACE="Arial">David</FONT>
</P>


<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">_______________________________________________ </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy it or disclose its contents to anyone. All messages sent to and from Linklaters may be monitored to ensure compliance with internal policies and to protect our business. Emails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. Anyone who communicates with us by email is taken to accept these risks. </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;"> </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">The contents of any email addressed to our clients are subject to our usual terms of business; anything which does not relate to the official business of the firm is neither given nor endorsed by it. </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;"> </SPAN>
</P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">The registered address of the UK partnership of Linklaters is One Silk Street, London, EC2Y 8HQ. Please refer to http://www.linklaters.com/regulation for important information on the regulatory position of the firm. </SPAN> </P></BODY>
</HTML>