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
https://help.sap.com/saphelp_uiaddon10/helpdata/en/66/a7a5de69b340c4ac857a5c0d95de6c/content.htm
https://help.sap.com/saphelp_uiaddon10/helpdata/en/8b/d342ae2cca4097b13e30dfba335c09/content.htm
all are using the below simple event to clear
$.ajax({ type: "GET", url: "/sap/public/bc/icf/logoff", //Clear SSO cookies: SAP Provided service to do that });
Thanks