6 Replies Latest reply: Jul 6, 2011 4:50 PM by Harald Schwenger RSS

How to do wait without "Wait up to..." ??

Harald Schwenger
Currently Being Moderated

Hi experts,

the issue is a WAIT step, which is required after the execution of an RFC function call. The call to the external server requires some clean-up on that machine, for which i want to wait for let's say 10 seconds in the calling ABAP program. All this happens in a loop for typically some 10000+ repetitions.

First i have created a 'wait up to x seconds' ABAP line. After checking the keyword documentation of WAIT UP TO i am not sure if this may have too much impact on the database, because every execution of this WAIT will cause a Roll-In / Roll-Out and a DB commit action.

Are there any nice bits of coding you could make available here???

Many thanks in advance, i appreciate your helpful advice!

Cheers, Harry

Actions