*&---------------------------------------------------------------------*
*&      Form  PROGRESS_INDICATOR
*&---------------------------------------------------------------------*
FORM progress_indicator USING  p_text.

** Monitors Progress of Report of Run in Foreground
  IF sy-batch NE 'X'.
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
      EXPORTING
        text = p_text.
  ENDIF.

ENDFORM.                               " PROGRESS_INDICATOR
 
Serkan AKKAVAK
Computer Engineer
serkurumsal@yandex.com