Skip to Content
0
Former Member
Feb 12, 2008 at 02:05 PM

Runtime of SWB_COND_EVAL

45 Views

Has anybody else realised that this function is doomed regarding runtime?

I just run 20 conditions with a set of 5000 records and it used about 700 seconds... Thats amazing.

By looking into the function-code i realised that it builds recursive the rule and test the record against. Why does the coder not use the generate subroutine pool and build the test on the fly in ABAP and reuse it - rather than build the rule recursive new everytime i call that function?

Addon:

I actually did it - using the tables provided by the workflow - and i got 4sec. for 20rules on 5000 records. Thats the way! Sometimes i think - brain vs. coding - writing an compiler in a language thats allready poor regarding runtime is quite an idea?!? -

Edited by: Rumpf Johannes on Feb 12, 2008 3:08 PM