Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

problem in Progress Bar Indicator

Former Member
0 Likes
810

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.

5 REPLIES 5
Read only

Former Member
0 Likes
686

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.

Read only

Former Member
0 Likes
686

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

Read only

venkat_o
Active Contributor
0 Likes
686

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

Read only

Former Member
0 Likes
686

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

Read only

Former Member
0 Likes
686

ok