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
552

Hi Experts,

I Have One Tcode, When I Execute my Tcode Then I Want Progress Bar Idicator.

I Know The Function Module 'SAPGUI_PROGRESS_INDICATOR' but I Don't Know How to Use It.

Please Give Me Suggistions or Example For Progress Bar Indicator.

Thanks.

1 ACCEPTED SOLUTION
Read only

thomas_vogt
Advisor
Advisor
0 Likes
509

Moved thread to ABAP Development » ABAP, General since it has nothing to do with DB2.

Regards,

Thomas

3 REPLIES 3
Read only

thomas_vogt
Advisor
Advisor
0 Likes
510

Moved thread to ABAP Development » ABAP, General since it has nothing to do with DB2.

Regards,

Thomas

Read only

Former Member
0 Likes
509

ok

Read only

Former Member
0 Likes
509

Hi,

take this as an example:


  DATA: max_records     TYPE i VALUE 10000,
        act_records     TYPE i,
        percentage      TYPE p,
        percentage_text TYPE string,
        message         TYPE string.

  DO 10000 TIMES.
    act_records = sy-index.

    percentage      = act_records / max_records * 100.
    percentage_text = percentage.

    CONCATENATE percentage_text '% processed' INTO message.

    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
      EXPORTING
        percentage = percentage
        text       = message.

  ENDDO.

Regards

Markus

Edited by: Markus Stange on Nov 13, 2009 10:58 AM