cancel
Showing results for 
Search instead for 
Did you mean: 

Kapsel Backend Sessions

óespinar
Participant
0 Kudos

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

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

óespinar
Participant
0 Kudos

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

óespinar
Participant
0 Kudos

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

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

sorry, no much clue on this use case

Accepted Solutions (1)

Accepted Solutions (1)

óespinar
Participant
0 Kudos

Answers (0)