Make your own free website on Tripod.com
SAP ABAP Programming, Functional and Basis Components Books


*
*  Displaying the progress bar indicator
*
*  Author by  : SAP Hints and Tips on Configuration and ABAP/4 Programming
*                http://sapr3.tripod.com
*
REPORT ZGUIBAR.

DATA: A LIKE SY-UCOMM.

DO 100 TIMES.
  DO 300 TIMES.
    GET TIME.
  ENDDO.

  A(3) = SY-INDEX.A+3 = '%'.

  CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
       EXPORTING
            PERCENTAGE = SY-INDEX
            TEXT       = A.
ENDDO.

*--- End of Program