Virtual attributes evaluation and performance

Krishna K Kammaje kkammaje at in.ibm.com
Wed Feb 2 07:29:55 EST 2011


Hi Shai,

What a coincidence, I was just trying to figure out the same issue.

In my case an event triggers a workflow. A BO also gets transferred from 
event to Workflow (through binding). One of the BO's virtual attribute is 
used in WF for condition evaluation. Many a times this condition fails 
(does not work as expected). But when I retrigger the event, workflow 
triggers and behaves as expected. 

I will try using event que.

Thanks
Krishna Kishor Kammaje 
SAP Certified Development Associate - ABAP with Netweaver 7.0
| HRMS LCM Team | Manyata | D3 | 9th Floor | MD3-9F-A113 | Mob: +91 990 
100 0799 | Direct - Xtn: 080 280-62953 |




From:   Shai Eyal <shai.eyal at yahoo.com>
To:     sap-wug <sap-wug at mit.edu>
Date:   02/02/2011 17:04
Subject:        Virtual attributes evaluation and performance
Sent by:        sap-wug-bounces at mit.edu



Hi all,
 
I wanted to ask for you help with the issue in subject. I use virtual 
attribute quite often and it works OK. However I have one client where I 
suspect having performance issues with virtual attributes. Example: Simple 
approval workflow, agent is determined using a rule. Rule container if 
filled from BOR virtual attribute. Often the workflow goes into error for 
"Agent determination failed". I click "Restart after error" and now all 
works well. In addition, the problem only happens in production system. To 
me it feels like sometimes virtual attributes are not calculated 
immediately. This client posts many transactions every day but I believe 
SAP should know to handle it
I would also like to mention that the virtual attribute code is quite 
simple (no select statement or such).
 
Has anyone experienced something like this before? any recommendations? 
BTW, working with event queue handles this properly.
 
Thanks,
 
Regards,
Shai Eyal
SAP Logistics senior consultant
SAP Workflow & BPM specialist
http://www.linkedin.com/in/shaieyal

 
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20110202/7031ebee/attachment.htm


More information about the SAP-WUG mailing list