SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Enable Multi-User Mode for MDK Application

Set up the mobile development kit client to enable the multi-user mode (one device, multiple users with secure access).

Overview

🎓 advanced 35 min. Mobile Development Kit ClientAdvancedIosAndroidMobileSAP Business Technology PlatformSAP Mobile ServicesSAP Build CodeSAP BuildSAP Business Application Studio

You will learn

  • โœ”How to define an event on user switching
  • โœ”How to configure multi-user settings in mobile service admin UI
  • โœ”How to create an offline enabled MDK application that supports multiple users on the same device
Jitendra Kansal J Jitendra Kansal June 14, 2026
Created by February 13, 2024
Contributors

Prerequisites

Prerequisites

Play Store QR Code
Android
App Store QR Code
iOS
  • Download the latest version of mobile development kit SDK if you want to enable multi-user mode in MDK custom client either from the SAP community trial download or SAP Software Center if you are a SAP Mobile Services customer. This is required you to build a branded client.

Steps

Intro

You may clone an existing metadata project from the MDK Tutorial GitHub repository and start directly with step 3 in this tutorial.


Multiple user mode is designed for enterprise scenarios where, for example, an employee uses a shared device during their shift. They may go offline while working in the field and return the device at the end of their shift. The next day, the employee might use a different device, while the device used previously could be assigned to another user. This is why it is called multiple user mode. In offline scenarios, multiple user mode ensures that the initial user’s data, stored offline, is synchronized with the server before the second user logs in. This process preserves the previous user’s changes to the data.

MDK
MDK
MDK
MDK

Step 1 Create a New Project Using SAP Build
โ€”

This step includes creating a mobile project in SAP Build Lobby.

  1. In the SAP Build Lobby, click Create > Create to start the creation process.

    MDK
    MDK

  2. Click the Application tile and choose Next.

    MDK
    MDK

  3. Select the Mobile category and choose Next.

    MDK
    MDK

  4. Select the Mobile Application to develop your mobile project in SAP Business Application Studio and choose Next.

    MDK
    MDK

  5. Enter the project name multiuserapp (used for this tutorial) , add a description (optional), and click Review.

    MDK
    MDK

    SAP Build recommends the dev space it deems most suitable, and it will automatically create a new one for you if you don’t already have one. If you have other dev spaces of the Mobile Application type, you can select between them. If you want to create a different dev space, go to the Dev Space Manager. See Working in the Dev Space Manager.

  6. Review the inputs under the Summary tab. If everything looks correct, click Create to proceed with creating your project.

    MDK
    MDK

  7. Your project is being created in the Project table of the lobby. The creation of the project may take a few moments. After the project has been created successfully, click the project to open it.

    MDK
    MDK

  8. The project opens in SAP Business Application Studio.

    MDK
    MDK

    When you open the SAP Business Application Studio for the first time, a consent window may appear asking for permission to track your usage. Please review and provide your consent accordingly before proceeding.

    MDK
    MDK

Step 2 Configure the Project Using Storyboard
+
Step 3 Define an event when user switches
+
Step 4 Deploy the Project
+
Step 5 Enable multi-user mode in SAP Mobile Services
+
Step 6 Configure Security trust
+
Step 7 Test metadata configuration
+
Step 8 Create Your MDK Client (required only for branded clients)
+
Step 9 Run the MDK Client
+
Step 10 Test a multi-user scenario
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 10
1. Create a New Project Using SAP Build 2. Configure the Project Using Storyboard 3. Define an event when user switches 4. Deploy the Project 5. Enable multi-user mode in SAP Mobile Services 6. Configure Security trust 7. Test metadata configuration 8. Create Your MDK Client (required only for branded clients) 9. Run the MDK Client 10. Test a multi-user scenario

Learn more →