2008 Jul 03 3:22 PM
Hi everybody,
I want to use the ProgressIndicator UI Element on one of my Views. But when setting a new percent value during my calculation this does not lead to a refresh of the indicator on the screen, hence I can only see the 0% and 100% state after finishing the calculation but nothin in between. Is there an elegant way to refresh the view or is the only way to trigger the inbound plug after each calculation step ?
Thanks for any hints & best regards,
Michael
2008 Jul 03 3:35 PM
Hello.
You must increment the percentage like:
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
text = 'Searching data ...'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = '0.25'
text = 'Calculating ...'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = '0.50'
text = 'Preparing output ...'.
Until it get's value 1.
However, if it's too fast you cannot see!
Regards.
Valter Oliveira.
2008 Jul 03 3:52 PM
Hi Valter,
From what I see, this Function Module you mentioned is only working for Dynpros and not for WebDynpros. In my case the Percentage value of the Progress Indicator is bound to the Context of my WebDynpro view and I want to trigger a refresh after I changed this value.
Thanks anyway!
Best regards,
Michael