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!