on 10-21-2015 3:54 PM
Hi,
is it possible to load component usages (or at least their data) asynchronous?
The problem is I have somthing like a dashboard displaying different panels with data.
Some data is complex in loading and needs some time so time outs are possible.
So my target is to load the panels (or their data) asynchronous and the user has not to wait until every panel has loaded its data.
I don't find any solution ...
Is this possible?
NW version should not exceed 7.31 if possible.
Thanks and regards,
Dominik
Hi Dominik,
As per my understanding Async call may not be possible straight in WD.
If it would have possible you can use like below
CALL FUNCTION 'ZPP_FM_AS'
STARTING NEW TASK lv_task
DESTINATION IN GROUP lv_logon_group
PERFORMING get_data ON END OF TASK
EXPORTING
lv_start = lv_start
lv_end = lv_end
EXCEPTIONS
communication_failure = 1
system_failure = 2
resource_failure = 3
OTHERS = 4.
But PERFORM can not be used in WD like this.
So in place of PERFORM there is another parameter available METHOD where you can Pass method name of a Class.
This class could be your Assistance Class of WD component with one static method.
Check if this works for you or not ...
If this does not work then you need to follow traditional way for Async call using FRAME or HTML ILAND element.
Thanks-
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I still need a solution for this..
Thank you and kind regards,
Dominik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.