cancel
Showing results for 
Search instead for 
Did you mean: 

Loop or recursion in VC?

Former Member
0 Kudos

Hi all,

is it possible to simulate a "while" loop or a recursion in VC. Obviously VC has no official tools or components for it. So I guess I will need a workaround. But I don't know how.

What e.g. I want to achieve is an independent floating progressbar to simulate progress status.

I thought about using dynamic actions, but I can't get them working. I'm using NW2004s SP9.

Good ideas are appreciated,

Thanks Tobias

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tobias,

this is not possible. You can use a workaround, e.g. you can use a timer, which calls every 5 seconds a function module in ABAP or a webservice, which returns the status of a certain operation, when the operation is finished, then timer should be disabled (guard conditions).

Best Regards,

Marcel

Former Member
0 Kudos

Hi Marcel,

thanks for your idea. I also had this idea but the problem was that the quickest tick is 5 seconds. In my case I need a duration between ticks in milliseconds. Do you know if this is configurable or available in other versions of VC?

Thanks Tobias

Former Member
0 Kudos

Hi Tobias,

you can't change this value. I tried it out and changed the value in the gml file, but without succcess. I also don't know if this is configurable in future versions of VC. I only have limited information about the next VC version.

Best Regards,

Marcel

Former Member
0 Kudos

Probably not. I also think this workaround is a pretty heavy one, it costs a lot of resources with all these roundtrips

Former Member
0 Kudos

Hi again,

thanks for your help. Ok, I see that the timer is not implemented for such a special case.

But what's about dynamic actions? Maybe I could use a recursive action (something like an automatic update action triggered by a condition). Do you know, if dynamic actions work fine? I tried several ways to use them but without any success.

Thanks in advance,

Tobias

Answers (0)