2007 Oct 03 6:23 PM
Hi SAP gurus,
What is the use of the F/M 'SAPGUI_PROGRESS_INDICATOR' and how to use it.
Could you please illustrate with a clear example.
Regards,
Rahul.
2007 Oct 03 6:29 PM
Hi
When the report is running it will indicate the progress of the process as per the text you give to it.It is indicated as a round circle in the status bar.
in the loop of internal table write
PERFORM process_ind
data v_pcent TYPE sy-tabix.
see the sample code
v_pcent = 100 * sy-tabix / v_lines.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = v_pcent
text = 'Processing the Selected Records...'.
Regards
Anji
Thanku all
2007 Oct 03 6:29 PM
Hi
When the report is running it will indicate the progress of the process as per the text you give to it.It is indicated as a round circle in the status bar.
in the loop of internal table write
PERFORM process_ind
data v_pcent TYPE sy-tabix.
see the sample code
v_pcent = 100 * sy-tabix / v_lines.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = v_pcent
text = 'Processing the Selected Records...'.
Regards
Anji
2007 Oct 03 6:30 PM
Hi,
This FM is used to display/show a progress bar on the SAP GUI, and give the user some idea of what is happening.
Please check this sample code.
data: index type i.
do 4 times.
index = sy-index * 25.
call function 'SAPGUI_PROGRESS_INDICATOR'
exporting
percentage = index
text = 'Processing Data'.
wait up to 1 seconds.
enddo.
Also check this thread for another sample codes.
Regards,
Ferry Lianto
2007 Oct 03 6:31 PM
Rahul,
Used to show the current activity and the progress.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
TEXT = text-022. "Reading short documentsAlso check OSS note 732471.
Regards
Aneesh.
2007 Oct 03 6:31 PM
Hello,
Using this function,you can display progress of processing in status bar with message.
DATA: v_text TYPE c LENGTH 5.
do 50 times.
WAIT UP TO '1' SECONDS.
v_text(3) = sy-index.
v_text+3 = '%'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = sy-index
text = v_text.
enddo.
2007 Oct 03 6:42 PM
2007 Oct 03 6:43 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |