on 07-15-2015 4:00 PM
Hi all,
I have a webdynpro component button with a button in it.
On click of the button, a window is called as a popup.
This works perfectly fine when executed for a single user.
But when this component is executed by multiple users at the same time, on click of the button, the component is going for a dump ' Instance of the view '[Window name]' already exists in component'.
Can anybody throw some light on why this issue rises with concurrent users.
Regards,
Vignesh Sunkasi.K
hi,
first check whether any popup instance is still persist. if persist then close that then try to open the same. you can achieve the same using below code.
DATA lo_api TYPE REF TO if_wd_view_controller.
DATA lo_window_ctrl TYPE REF TO if_wd_window_controller.
DATA lo_popup TYPE REF TO if_wd_window.
lo_api = wd_this->wd_get_api( ).
lo_window_ctrl = lo_api->get_embedding_window_ctlr( ).
lo_popup = lo_window_ctlr->get_window( ).
IF lo_popup IS BOUND.
lo_popup->close( ).
ENDIF.
Thanks,
Prasanna CD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create one more window inside this embed the view that you want to show it in popup.
Hope this helps you.
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.