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

Create a Customer Record in an MDK App

Allow the user to create a customer record in an MDK app.

Overview

🎓 beginner 25 min. Mobile Development Kit ClientBeginnerIosAndroidMobileSAP Business Technology PlatformSAP Mobile ServicesSAP Build CodeSAP BuildSAP Business Application Studio

You will learn

  • โœ”How to create a customer record
  • โœ”How to store changes locally on Mobile app and sync these changes with backend
Jitendra Kansal J Jitendra Kansal July 9, 2026
Created by October 11, 2022
Contributors

Prerequisites

Prerequisites

Steps

Intro

If you didn’t follow the prerequisite then You may clone an existing metadata project from the MDK Tutorial GitHub repository to start with this tutorial.


MDK
MDK

Step 1 Create new page for new customer record
โ€”

In this step, you will create a Section page with a Form Cell Section to contain the Form Cell controls. You will add the fields that will be editable by the end-user.

  1. Right-click the Pages folder | MDK: New Page | Section | Next.

    MDK
    MDK

  2. In the Base Information step, enter the page Name as Customers_Create and click Finish to complete the page creation wizard.

    MDK
    MDK

  3. Once the page opens in the page editor, click on the white area to select it’s Action Bar, and set the Caption to Create Customer.

    MDK
    MDK

  4. Now, you will add the fields (like first name, last name, phone, email address & date of birth) for creating a new customer record by the end-user. In the Layout Editor, expand the Static Container group. Drag and drop Form Cell section onto the Page area.

    MDK
    MDK

    Form Cell section is used to contain Form Cell controls in a section page.

  5. You will now add Form Cell controls in the Form Cell section. Expand the Form Cell Controls group, drag and drop a Simple Property onto the Page area.

    MDK
    MDK

  6. Drag and drop three additional Simple Property controls onto the page so you have four total controls.

    MDK
    MDK

  7. Select the first Simple Property control and provide the below information:

    PropertyValue
    NameFCCreateFirstName
    CaptionFirst Name
    PlaceHolderEnter Value

    MDK
    MDK

  8. Select the second Simple Property control and provide the below information:

    PropertyValue
    NameFCCreateLastName
    CaptionLast Name
    PlaceHolderEnter Value

    MDK
    MDK

  9. Select the third Simple Property control and provide the below information:

    PropertyValue
    NameFCCreatePhone
    CaptionPhone
    KeyboardTypePhone
    PlaceHolderEnter Value

    MDK
    MDK

    To streamline data entry, the keyboard displayed when editing a SimplePropertyFormCell should be appropriate for the type of content in the field. If your app asks for number, for example, it should display the phone keyboard.

  10. Select the last Simple Property control and provide the below information:

    PropertyValue
    NameFCCreateEmail
    CaptionEmail
    KeyboardTypeEmail
    PlaceHolderEnter Value

    MDK
    MDK

    KeyboardType streamlines the data entry. When entering an email address, it would display the email address keyboard in mobile clients.

  11. Drag and drop a Date Picker control onto the page area for date of birth parameter.

    MDK
    MDK

    Provide the below information:

    PropertyValue
    NameFCCreateDOB
    CaptionDOB
Step 2 Add a cancel button on the Create Customer page
+
Step 3 Store the created data locally
+
Step 4 Navigate to the Customer Create page
+
Step 5 Deploy the Project
+
Step 6 Run the Project
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 6
1. Create new page for new customer record 2. Add a cancel button on the Create Customer page 3. Store the created data locally 4. Navigate to the Customer Create page 5. Deploy the Project 6. Run the Project

Learn more →