Skip to Content
0

Kapsel Backend Sessions

Jul 14, 2017 at 09:17 AM

117

avatar image

Hi,

We have developed a Kapsel application (SAP Cloud Platform with Mobile Service for Development and Operations, SAP WebIDE, HAT) using SAP Business ByDesign as Backend.

After App login using the Kapsel Logon Manager Plugin, we have a form with UserID and Password in order to login into SAP Business ByDesign with a specific ByD User (not the backend user used in Destinations).

(more information here. https://blogs.sap.com/2017/03/13/how-to-login-to-an-sap-business-bydesign-system-with-javascript/)

The problem is we can not logout from ByD.

I was wondering if there is a way to manage the Mobile Service for Development and Operations sessions in order to reset the current connection and login with another ByD user.

Regards,

Óscar Espinar Lázaro

10 |10000 characters needed characters left characters exceeded

Hello OScar,

First, please correct me if i understood your case wrongly.

user A logs in the app (registration) and you can see its entry in HCPms, with that same user you are able to login to SAP Business ByDesign.

Now you want user B to login to same SAP Business ByDesign in same app and same device?

Or you are looking for something else?

Regards,

JK

0

Hi JK,

Thanks for your reply.

This is my scenario:

- UserS is used to login into HCPms (defined in HCP) with Kapsel Logon Plugin.

- UserA (ByDesign User) is used by Backend Destinations.

- UserB (in my own form view) is used to login to ByDesgn.

I would like delete only the UserB session in order another user can use de App with his/her ByDesign account.

Thanks and regards,

Óscar

0

Hello,

I can use the doDeleteRegistration function in Kapsel Logon plugin

if(!window.sap_webide_FacadePreview){
   var _devLogon = new myapp.mycomp.com.dev.devlogon();
   if( _devLogon !== null){
      _devLogon.doDeleteRegistration();
  }
}

But this method delete all sessions and the App has to be started again (including entering data in Kapsel Logon Screen).

Any idea to delete only ByD login session?

Thanks,

Óscar

0

sorry, no much clue on this use case

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Óscar Espinar Lázaro Jul 18, 2017 at 08:50 AM
0
Share
10 |10000 characters needed characters left characters exceeded