Skip to Content

Kapsel Backend Sessions

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

Add comment
10|10000 characters needed characters exceeded

  • 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

  • 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

  • sorry, no much clue on this use case

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 18, 2017 at 08:50 AM
    Add comment
    10|10000 characters needed characters exceeded