I have a BSP Iframe inside which I am calling a webdynpro application ('zwdc_re_replenishment'). The requirement is that this WD application should be reloaded whenever a timeout occurs. Currently, when there is a timeout, an error is shown.
In order to achieve this, for this WD Application , I have a SICF node to which I have attached a customized Errorpage via the option 'Redirect URL'.
Whenever the WD application undergoes a timeout error, my custom error page is called which is named as errorpage.htm. On this page in the 'OnInitialization event', I try to call the WD application URL again (via the following code) which should reload the application. But instead I get a blank page.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'zwdc_re_replenishment'
IMPORTING
out_absolute_url = lv_def_url.
response->redirect( url = lv_def_url
permanently = 1 ).
Just as a note I have already tried out the following methods as well but nothing works 😔
*navigation->exit( lv_def_url ).
*navigation->call_application( lv_def_url ).
Is this because my WD application is inside a BSP Iframe and therefore reloading it manually does not work ?
Please help! 😔
Thanks.
Sukanya