[52883] in SAPr3-news

home help back first fref pref prev next nref lref last post

Re: understanding SAPGUI_PROGRESS_INDICATOR

daemon@ATHENA.MIT.EDU (Volker Wegert)
Tue Jan 4 12:30:45 2005

To: sapr3-news@mit.edu
Date: Tue, 04 Jan 2005 18:15:03 +0100
From: Volker Wegert <mail@volker-wegert.de>
Message-ID: <871xd1qfoo.fsf@sinclair.volker-wegert.de>

Hi,

peximies@suomi24.fi (PeterFI) writes:
> 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.

As the progress indicator doesn't know anything about your process, you'll
have to calculate the percentage for yourself. Shouldn't be too hard...


> 2. Recources. If my program takes 9 minutes to complete and I want to
> use this indicator, does it effect exe time?

Depends on how often you call it. Each time the module is called, the new
information has to be sent back to the frontend - so you can effectively kill
performance if you're updating, say, 1,000,000 records and call the module for
every single record.

BTW, if you process takes 9 minutes, you really should use batch processing.

  Volker

-- 
* Volker Wegert * http://www.volker-wegert.de/contact *
* "Vergib Deinen Feinden, aber vergiss niemals ihre Namen." (John F.
* Kennedy)  
* 

home help back first fref pref prev next nref lref last post