REPORT Z_PROGRESS_BAR_DISPLAY.
DATA: progress_txt TYPE c LENGTH 5.
DO 100 TIMES.
"Every progress will wait until 0.50 seconds
WAIT UP TO '0.50' SECONDS.
progress_txt(3) = sy-index.
progress_txt+3 = '%'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = sy-index
text = progress_txt.
ENDDO.
Post a Comment