SAP|SAP ABAP WAIT 小数秒

DATA: l_time_stamp TYPE timestampl, l_intervalTYPE f, l_new_timeTYPE timestampl. l_interval = '.2'. GET TIME STAMP FIELD l_time_stamp. WRITE: / l_time_stamp. l_new_time = l_time_stamp + l_interval. DO. GET TIME STAMP FIELD l_time_stamp. IF l_time_stamp >= l_new_time. EXIT. ENDIF. ENDDO. WRITE: / l_time_stamp. WRITE: / 'waited for 200 millisecond'.

    推荐阅读