<!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">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=287153222-22022005><FONT face=Arial
color=#0000ff size=2>Hi Miguel, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=287153222-22022005><FONT face=Arial
color=#0000ff size=2>In order to evaluate your start condition based on your
"ApprovalRequired" attribute workflow has to instantiate your object and that
attribute - so of course it is running your code. Have you
remembered to catch the exceptions of the function module, so you can ignore the
rate convert in systems where the exchange rate is not
maintained?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=287153222-22022005><FONT face=Arial
color=#0000ff size=2>Jocelyn </FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<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>Adao-Cruz,
Miguel<BR><B>Sent:</B> Wednesday,23 February 2005 3:21 AM<BR><B>To:</B>
SAP-WUG@mit.edu<BR><B>Subject:</B> Start conditions error<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial color=#000000 size=2>Hello workflowers,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Strange problem:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I created an attribute callef "ApprovalRequired",
char 1.</FONT></DIV>
<DIV><FONT face=Arial size=2>In the code I use the function: </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>CALL FUNCTION
'CONVERT_TO_LOCAL_CURRENCY'
<BR>
EXPORTING <BR>
FOREIGN_AMOUNT =
W_FOREIGN_AMOUNT <BR>
FOREIGN_CURRENCY =
w_foreign_currency <BR>
LOCAL_CURRENCY =
'GBP'
<BR>
RATE
=
0
<BR>
TYPE_OF_RATE
=
'M'
<BR>
READ_TCURR
=
'X'
<BR></DIV>
<DIV>Everything works fine here.</DIV>
<DIV>Then I create start condition in my DEV environment based on this
attribute (<FONT face=Arial size=2>ApprovalRequired = X)</FONT>, and I got the
following error message: "Enter rate / GBP rate type M for
22.02.2005 in the system settings".</DIV>
<DIV> </DIV>
<DIV>It looks there is a check done to see if
'CONVERT_TO_LOCAL_CURRENCY' is used in the attributes used in the condition
definition and that SAP checks that all the exchange rates are
maintained!!!</DIV>
<DIV>But in DEV we don't need to maintain all the exchange rates!</DIV>
<DIV> </DIV>
<DIV>Did someone had the same problem?</DIV>
<DIV>Any advice, please!</DIV>
<DIV> </DIV>
<DIV>Cheers</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Miguel</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<TABLE>
<TBODY>
<TR>
<TD bgColor=#ffffff><FONT color=#000000>This message contains
information that may be privileged or confidential and is the property
of the Capgemini Group. It is intended only for the person to whom it is
addressed. If you are not the intended recipient, you are not authorized
to read, print, retain, copy, disseminate, distribute, or use this
message or any part thereof. If you receive this message in error,
please notify the sender immediately and delete all copies of this
message.<BR><BR></FONT></TD></TR></TBODY></TABLE></BLOCKQUOTE></BODY></HTML>