ABAP Keyword Documentation →  ABAP - Reference →  Program Flow →  Control Structures →  Program Interruption → 

WAIT UP TO  Syntax Diagram

Short Reference

Syntax

WAIT UP TO sec SECONDS.

Effect

This statement interrupts the execution of the program by the number of seconds specified in sec. sec is a numerical expression position of operand type i to which positive numbers (and 0) can be passed. The unit of the number in sec is seconds and the time resolution is one second. After the specified time has passed, the program continues with the statement following WAIT.

Return Codes

This statement always sets sy-subrc to 0.

Notes

Exceptions

Non-Catchable Exceptions