on 09-21-2012 8:26 AM
Hello,
I am calling exit plug in timed trigger action
like below
lo_w_main->fire_exit_plg(
url = 'zwda/close.htm' ).
I uploaded html page close.htm in mime objects.
Now if I test my web dynpro application, after specified time the close.htm is called but if I run WD application by hosting it from Portal iView, close.htm always results in page not found error.
Help me know how to solve this.
Thanks,
Ahmed
Why not call a pop-up window instead of a URL? Also, in order to open a URL, you can do it without firing a plug. Instantiate a window object and call the create_external_window method.
Basically, you write something like - you might need to modify the code a little bit to get it working:
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_external_window( url = '...' ).
lo_window->open( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ali,
Get the PCD path from Portal team, and call that Link instead of
'zwda/close.htm' . It will work.
Regard's,
Shivesh Ranjan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shivesh,
Not sure if I understood your solution.Basically my application is a web dynpro abap application. And in web dynpro abap when timed trigger is called, i want to fire exit plug on window and show html page stating session timeout. The html page is loaded as MIME object in my web dynpro abap component. Further I have Dev, Q and production separate ABAP and Portal system.
Please help me know if I can still achieve?
regards,
Ahmed
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.