REPORT ZABAP_PAUSE
PARAMETERS: P_TIME TYPE I.
WRITE: / 'DELAY IN SECONDS:', P_TIME.
* Get the Run time.
GET TIME.
WRITE: / 'START TIME:', SY-UZEIT.
* Pause execution for P_TIME seconds.
CALL FUNCTION 'RZL_SLEEP'
EXPORTING
SECONDS = P_TIME
EXCEPTIONS
ARGUMENT_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
WRITE:/ 'ERROR WITH SLEEP
FUNCTION'.
ENDIF.
GET TIME.
WRITE: / 'END TIME:', SY-UZEIT.
Requires Free Membership to View
When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.
Hannah Smalltree, Editorial DirectorThis was first published in April 2005
Join the conversationComment
Share
Comments
Results
Contribute to the conversation