cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in Calling static URL from EXIT Plug on WDA from Portal iView

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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( ).

Shivesh
Advisor
Advisor
0 Kudos

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.

Former Member
0 Kudos

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

Shivesh
Advisor
Advisor
0 Kudos

HI Ahmed,

    If its a PCD path, it will be same in all the Server(Almost in all server). That, HTML page, u r talking is also published in Portal?

Regard's,

Shivesh Ranjan.