Skip to Content
0
Former Member
Jul 25, 2016 at 01:07 PM

FPM Application Logout with redirect

288 Views

Hello,

I'm developing a Floorplan OIF Application. The application is running standalone and not in a portal.

Now I want to add an logout functionality which redirects the user to an intranet page after the logout.

I found the 2 Methods which seems to provide the requested functionality but none of them works like expected

wdr_task=>server->logoff(
   EXPORTING
     redirect_url              =     'http://google.com'
).

This method performs only the logout but not the redirect




wdr_task=>client_window->client->send_redirect(
   EXPORTING
        redirect_url    = 'http://google.com'
        logoff          = abap_true
).

It seems like this method is not compatible with WebDynpro. After the execution the html page is corrupted I see []]]> ]]> at the beginning of the page and after this escaping symbols I see the last open page as plain text without any functionality.

Can someone give me a tip how to implement the logout with an additional redirect.

Thanks and best regards

Philipp