I have a it_tab internal table with 10 records.
loop at it_tab into wa_tab.
perform progress_indicator.
perform Process_data1.
perform process_data2.
perform process_data3.
endloop
the performs process_data1, data2 ,data3 has so many internal statements
and takes long runtime.
Now I have to show the user a progress indicator on the
screen.
form progress_indicator.
lv_percentage = ( sy-tabix / l_lines ) * 100.
if lv_percentage gt lv_percent or lv_tabix eq 1.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = lv_percentage
text = lv_text.
lv_percent = lv_percentage.
endif.
endform,
I am facing problem that the progress indicator
does not show until the loop ends, it just appears
once , I want to show the indicator continuously
on the screen as long as the loop runs.