Fortschrittsanzeige bei Programmausführung

Aus SAP Wiki ツ
 PARAMETERS: p_times1 TYPE i DEFAULT 15.
 
 DO p_times1 TIMES.
   cl_progress_indicator=>progress_indicate( i_text               = |Fortschritt { sy-index } / { p_times1 }|
                                             i_processed          = sy-index     " Wert
                                             i_total              = p_times1     " Maximum
                                             i_output_immediately = abap_true ). " true -> sofort, false -> aller 10s  darstellen
 ENDDO.