ABAP Keyword Documentation → ABAP − Short Reference
WAIT - Short Reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
WAIT {UP TO t SECONDS}
| {FOR [ASYNCHRONOUS TASKS UNTIL log_exp [UP TO t SECONDS]]
[MESSAGING CHANNELS UNTIL log_exp [UP TO t SECONDS]]}.
Effect
Interrupts the execution of a program.
Additions
-
UP TO t SECONDS
Interrupts the execution of a program for (a maximum of)t
seconds. -
FOR ASYNCHRONOUS TASKS UNTIL log_exp
Interrupts the execution of a program until the logical expressionlog_exp
after a callback routine of an asynchronous RFC is true. -
FOR MESSAGING CHANNELS UNTIL log_exp
Interrupts the execution of a program until the logical expressionlog_exp
after a receiving a message from ABAP Messaging Channels is true.