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 August 13, 2026
Created by February 15, 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.

Sign-In Screen Switch Or Add User
Sign-In Screen Switch Or Add User
Add New User Icon Highlighted
Add New User Icon Highlighted

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.

    SAP Build Lobby Create Button
    SAP Build Lobby Create Button

  2. Click the Application tile and choose Next.

    Application Tile Selection
    Application Tile Selection

  3. Select the Mobile category and choose Next.

    Mobile Category Selection
    Mobile Category Selection

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

    Mobile Application Option Selected
    Mobile Application Option Selected

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

    Project Name And Description Entry
    Project Name And Description Entry

    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.

    Project Summary Review Screen
    Project Summary Review Screen

  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.

    Project Created In Build Lobby
    Project Created In Build Lobby

  8. The project opens in SAP Business Application Studio.

    SAP BAS Workspace Opened
    SAP BAS Workspace Opened

    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.

    SAP BAS Usage Consent Window
    SAP BAS Usage Consent Window

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
Next