Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 

Logoff / Logout of a BSP


For many of you who struggled with session management on your custom BSP Applications look no further. Thanks to the Fiori landscape we now have a simple approach to killing the SAP session without having to go to the trouble of manually killing session cookies!

 

Steps


Activation

Activate the following ICF node



 

Link

Create a hyperlink in your custom application to hit this server node:

<a href="https://blogs.sap.com/sap/public/bc/icf/logoff">Logout</a>

 

Conclusion

When you hit the logoff link in your application you will see the following:



 

For extra brownie points

If you are like me and dread seeing screens like the on shown above then you might want to create a redirect to a more application specific page, do the following.

 

Redirect

1. Create an external Alias and point it to the Logoff ICF node.

2. In the error pages create a redirect to your custom logoff page, (Note: this page must be hosted somewhere public unless you are going to redirect back to your applications login screen)



 

Thanks and happy development.
1 Comment
Labels in this area