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

How to Display Program Progress on status bar

Former Member
0 Likes
5,149

Hi,

How to Display Program Progress in status bar like standard report. After executing the report , i want to know the program me execution on status bar.

Regards,

Chandu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,126

Hi ,

You can check the program status using this coding:

PERFORM PROGRESS_INDICATOR.

FORM PROGRESS_INDICATOR.

  DATA text(74).
  DATA text1(34).
  DATA text2(20).

  text1 = 'List preparing' .
  text2 =  '---PLEASE WAIT.'.

  CONCATENATE text1 text2 INTO text.

 CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
    EXPORTING
      text   = text
    EXCEPTIONS
      OTHERS = 1.

ENDFORM.

Regrds,

Nikhil.

4 REPLIES 4
Read only

Former Member
0 Likes
2,127

Hi ,

You can check the program status using this coding:

PERFORM PROGRESS_INDICATOR.

FORM PROGRESS_INDICATOR.

  DATA text(74).
  DATA text1(34).
  DATA text2(20).

  text1 = 'List preparing' .
  text2 =  '---PLEASE WAIT.'.

  CONCATENATE text1 text2 INTO text.

 CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
    EXPORTING
      text   = text
    EXCEPTIONS
      OTHERS = 1.

ENDFORM.

Regrds,

Nikhil.

Read only

Former Member
0 Likes
2,126

Try using MESSAGE statement with TYPE 'S'. This would help you displaying messages in the status bar

Read only

former_member209217
Active Contributor
0 Likes
2,126

Hi,

Use this FM SAPGUI_PROGRESS_INDICATOR

Read only

Former Member
0 Likes
2,126

You can use the followinf FMs

1 RH_DISPLAY_PROGRESS_INDICATOR This FM will display the process indicator in status line.

2 SAPGUI_PROGRESS_INDICATOR This FM will display the process indicator in current window