17
Jul
ABAP Program Showing a progress bar in SAP
Posted by Admin, under ABAP, Function Modules, Sample CodeThis process is very easy but a lot of programmers don’t know how to do it. You just have to call the ABAP Function Module ‘ SAPGUI_PROGRESS_INDICATOR ‘ , at the appropriate points.
![]()
It can be implemented as :
REPORT zdany_progress_bar.
DATA: percentage_text TYPE c LENGTH 5.
DO 100 TIMES.
WAIT UP TO ’0.5′ SECONDS.
percentage_text(3) = sy-index.
percentage_text+3 = ‘%’.
CALL FUNCTION ‘SAPGUI_PROGRESS_INDICATOR’
EXPORTING
percentage = sy-index
text = percentage_text.
ENDDO.
Related posts:

Twitter
Facebook
LinkedIn
Digg
Orkut
Stumble Upon
Post a Comment