[52885] in SAPr3-news
Re: understanding SAPGUI_PROGRESS_INDICATOR
daemon@ATHENA.MIT.EDU (ABAP-Entwickler)
Tue Jan 4 16:22:13 2005
To: sapr3-news@mit.edu
Date: Tue, 4 Jan 2005 22:25:36 +0100
From: "ABAP-Entwickler" <nospam_entwickler@versanet.de>
Message-ID: <41db08d7@olaf.komtel.net>
"PeterFI" <peximies@suomi24.fi> schrieb im Newsbeitrag
news:51908f36.0501032234.4ca6d230@posting.google.com...
> Hello everybody,
>
> couple questions about SAPGUI_PROGRESS_INDICATOR.
>
> 1. Percentage. What is the meaning of this. Examples i´v seen always
> uses somehow calculated values for this. I found no explanation of
> this.
Percentage is a optional parameter between 0 and 100. if this value is not
equal to zero, the sapgui displays a watch (or a bar in elder guis) which is
filled up to the given percent.
> 2. Recources. If my program takes 9 minutes to complete and I want to
> use this indicator, does it effect exe time?
For displaying the progress indicator on the gui, the application have to
communicate with the sapgui via network. this costs a lot (!) of time.
You'll see it, when you try the same programm one time with function call,
and another time without the function call.
Normally I use a small subroutine, which calls the function module only
after several loops. This can be done i.e. by estimating the time since the
last call.
Greetings, Torsten.