‎2009 Sep 23 7:02 AM
Hi Experts,
I Want Progress Bar Indicator when I Execute my Tcode. i know function module 'SAPGUI_PROGRESS_INDICATOR'
but i don't know how to use function module and where is write it in program.
please give me suggistions and any example.
Thanks.
‎2009 Sep 23 7:08 AM
Hi,
Use this example coding,
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.
WRITE: / 'Complete'.Regrds,
Nikhil.
‎2009 Sep 23 7:21 AM
Hi Ramayya,
USe this.
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.
Regards,
Vijay
‎2009 Sep 23 7:24 AM
Hi Ramayya,
Check this standard program GLOS_DOWNLOAD_HTML. Just go to SE38 and execute without giving anything on selection-screen. Progress indicator has been used.
Thanks
Venkat.O
‎2009 Sep 23 8:00 AM
Hi use as follows in a loop .
CONCATENATE 'Record being processed -> ' text INTO text .
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = sy-index
text = text.
This will work out.
Thanks
Supriya
‎2009 Oct 27 7:52 AM