cancel
Showing results for 
Search instead for 
Did you mean: 

How to display 'loading' message when Java iview is starting

Former Member
0 Kudos

Hi,

we have some Java custom iviews here which are used by partners to enter SO and Notification into SAP. These java iviews use jco and BAPI to interact with SAP backend. We are using SAp EP 6.0 SP2.

We currently have some iviews which run a BAPI at startup(getting my sales orders), however depending on the backend performance(PORTAL PERFORMANCE IS SUPER) this can take up to 15 seconds. When this iview is started it shows a blank page until the iview is completely rendered on server side and send to the user.

Does anyone know how to add a 'loading data' text or image which is shown directly when the iview is activated and disappears when the iview is rendered on server side?

Thanks

Joachim van Essen

Accepted Solutions (0)

Answers (1)

Answers (1)

darrell_merryweather
Active Contributor
0 Kudos

You could do it like this

1) Have the main iView which connects to the backend system

2) Have another iView, which basically contains the loading image and and an iFrame which contains the iView. The iFrame starts off hidden

On the onload event of the iFrame, make the iframe visible, and hide the loading image

D