cancel
Showing results for 
Search instead for 
Did you mean: 

FPM Application Logout with redirect

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Dhivya
Active Participant
0 Kudos

Hi Philipp,

We can redirect using SICF services.

1.  Open the corresponding service in SICF.

2.  Go to 'Error Pages'

3.  Go to 'Logoff Page'

4.  Select 'Redirect to URL' option.

Regards,

Dhivya

Former Member
0 Kudos

Hi Dhivya,

thanks for your help.

Is there a Method I can call to open the Logoff Page?

Best regards

Philipp