SAP

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

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 August 21, 2026
Created on November 4, 2022
Contributors

More from Jitendra Kansal

See all 34 tutorials by Jitendra Kansal →

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.


Customer Record Creation Tutorial Overview
Customer Record Creation Tutorial Overview

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.

    New Section Page Creation Wizard
    New Section Page Creation Wizard

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

    Customers Create Page Name Entry
    Customers Create Page Name Entry

  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.

    Action Bar Caption Set To Create Customer
    Action Bar Caption Set To Create Customer

  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.

    Form Cell Section Drag And Drop
    Form Cell Section Drag And Drop

    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.

    Simple Property Control Drag And Drop
    Simple Property Control Drag And Drop

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

    Four Simple Property Controls On Page
    Four Simple Property Controls On Page

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

    PropertyValue
    NameFCCreateFirstName
    CaptionFirst Name
    PlaceHolderEnter Value

    First Name Simple Property Control Settings
    First Name Simple Property Control Settings

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

    PropertyValue
    NameFCCreateLastName
    CaptionLast Name
    PlaceHolderEnter Value

    Last Name Simple Property Control Settings
    Last Name Simple Property Control Settings

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

    PropertyValue
    NameFCCreatePhone
    CaptionPhone
    KeyboardTypePhone
    PlaceHolderEnter Value

    Phone Simple Property Control Settings
    Phone Simple Property Control Settings

    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

    Email Simple Property Control Settings
    Email Simple Property Control Settings

    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.

    Date Picker Control Added To Page
    Date Picker Control Added To Page

    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
Next