cancel
Showing results for 
Search instead for 
Did you mean: 

using wdr_task=>client_window->client->send_close_window( ).

Former Member
0 Kudos

Hi Guys,

              I am using FPM GAF component.

To close or leave the FPM application I am using wdr_task=>client_window->client->send_close_window( ).

But its showing the window is closing message, but still I can see the the view is scroll down.

Here is the screen shot.

I tried

lo_fpm->raise_event_by_id( 'FPM_CLOSE' ).

But its closing the portal page n browser.

Any way to fix this issue..?

Thanks

Sam


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sam,

FPM_CLOSE event is supposed to close the browser window.

If you do not want this to happen, a better way would be to redirect the user i.e. navigate the user to the home page of the portal based on their role.

Former Member
0 Kudos

Hi Kushboo,

                    Thanks.

Any idea how this can be done ?

Thanks

Sam

Former Member
0 Kudos

Hi Sam,

To do this, you first have to ask your portal integration team the path for the home page of the portal. Its not a normal URL. Its a PCD path that you would require.

After that you can use the NAVIGATE_ABSOLUTE or NAVIGATE_RELATIVE method of IF_WD_PORTAL_INTEGRATION interface.

Below is a sample code.

  data: l_portal_manager type ref to if_wd_portal_integration,
         l_api type ref to if_wd_component.

   l_api = wd_this->wd_get_api( ).
   l_portal_manager = l_api->get_portal_manager( ).

   l_portal_manager->navigate_absolute(
   navigation_target = <target_page>
   navigation_mode = if_wd_portal_integration=>co_show_inplace
   history_mode = if_wd_portal_integration=>co_no_duplicates
   ).

Check the signature of this method for more help.

Thanks,

Khushboo.