cancel
Showing results for 
Search instead for 
Did you mean: 

Progressbar in the WDDOINIT

Former Member
0 Kudos

Hi!

At my WDA application's start I have to collect a lot of data, which takes some time. Now only the cursor is morphing into a hourglass, so I would like to display some additional progress bar. However I don't know is it possible to display the progressbar component in the first view's WDDOINIT method somehow?

Thank you

Tamá

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You can't perform your processing in the WDDOINIT and display a progress bar. Nothing will render until the WDDOINIT is finished. In gernal you can't do any long processing and track the process within one of the standard WD Events like WDDOINIT. Any processing within the Web Dynpro Phase Model will hold up the rendering.

You need to either submit your long processing to the background as a job or start it via RFC into another work process. You then need some way to monitor the progress from your WD Component (like counting the # of records processed via database SQL). Only then can you keep the UI updated with the progress.