0% found this document useful (0 votes)
370 views1 page

Sapgui Progress Indicator

This report displays a progress indicator in SAP GUI by calling the SAPGUI_PROGRESS_INDICATOR function. It uses a loop that increments a counter variable, calculates the percentage complete, and calls the function to display the progress up to 100%. The progress indicator is updated each time through the loop as the counter variable is incremented over the total number of iterations.

Uploaded by

aloxanh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
370 views1 page

Sapgui Progress Indicator

This report displays a progress indicator in SAP GUI by calling the SAPGUI_PROGRESS_INDICATOR function. It uses a loop that increments a counter variable, calculates the percentage complete, and calls the function to display the progress up to 100%. The progress indicator is updated each time through the loop as the counter variable is incremented over the total number of iterations.

Uploaded by

aloxanh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

*&---------------------------------------------------------------------*

*& Report YSAPGUI_PROGRESS_INDICATOR


*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT

ysapgui_progress_indicator.

data : lv_i TYPE i,


lv_per(4) TYPE c,
lv_total TYPE i VALUE 1000.
data : test TYPE string.
PARAMETERS: p_i TYPE i .
START-OF-SELECTION.

DO lv_total TIMES.
WAIT UP TO 1 SECONDS .
lv_i = lv_i + 1.
lv_per = lv_i * 100 / lv_total.
CONCATENATE lv_per '%' INTO test.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE
= lv_per
TEXT
= test
.
ENDDO.

You might also like