Skip to Content
Former Member
Feb 07, 2016 at 06:27 AM

SAPUI5 Logout of SAP GW using standard service


HI Friends

I am trying to see if there is any standard GW OData Service to logout the SAPUI5 session and establish the session when we login again?

I have an issue while I am using SAP Portal to launch GW sapui5 application. And as we are still using SAPEP 7.0, I am launching the SAPUI5 app as a new window. When user closes the SAPUI5 tab/window and logout of SAPEP, again login with another user id , the old session is retained in the SAPUI5 app.

I need a way to logout the SAP GW user when SAPEP is loggedout.

refering the old thread but not sure if this works for SAP GW and SAP EP.

Logout from SAPUI5 / XSJS page | SCN

all are using the below simple event to clear

           type: "GET", 
           url: "/sap/public/bc/icf/logoff",  //Clear SSO cookies: SAP Provided service to do that