<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Why not test the critical value in a check function and loop until value it populated?&nbsp; When populated exit the function.<br><br><hr id="stopSpelling">Date: Wed, 2 Feb 2011 03:29:22 -0800<br>From: shai.eyal@yahoo.com<br>Subject: Virtual attributes evaluation and performance<br>To: sap-wug@mit.edu<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML"><style>
.ExternalClass DIV
{;}

</style><div style="font-family: tahoma,new york,times,serif; font-size: 10pt; color: rgb(0, 0, 255);"><div></div>
<div>Hi all,</div>
<div>&nbsp;</div>
<div>I wanted to ask for you help with the issue in subject.&nbsp;I use&nbsp;virtual attribute quite often and it works OK. However I have&nbsp;one client where I suspect having performance issues with virtual attributes. Example: Simple approval workflow, agent is determined using a rule. Rule container&nbsp;if filled from BOR virtual attribute. Often the workflow&nbsp;goes into error for "Agent determination failed". I click "Restart after error" and now all works well. In addition,&nbsp;the&nbsp;problem only happens in production system. To me it&nbsp;feels like&nbsp;sometimes virtual attributes are not calculated immediately. This client posts many transactions every day but I believe SAP should know to handle it</div>
<div>I would also like to mention that the virtual attribute code is quite simple (no select statement or such).</div>
<div>&nbsp;</div>
<div>Has anyone experienced something like this&nbsp;before? any recommendations? BTW, working with event queue handles this properly.</div>
<div>&nbsp;</div>
<div>Thanks,<br>&nbsp;</div>
<font color="#00007f" face="verdana, helvetica, sans-serif" size="2"><strong>Regards,<br>Shai Eyal</strong></font><BR>
<font color="#000080" face="Verdana" size="2"><strong>SAP Logistics senior consultant<br>SAP Workflow &amp; BPM specialist</strong></font><BR>
<font color="#000080" face="Verdana" size="2"><strong><a href="http://www.linkedin.com/in/shaieyal" rel="nofollow" target="_blank">http://www.linkedin.com/in/shaieyal</a><br></strong></font><BR>
<br>&nbsp;<BR>
<div></div></div><br><br>_______________________________________________
SAP-WUG mailing list
SAP-WUG@mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug                                               </body>
</html>