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

Modify a Customer Record in an MDK App

Allow editing of customer details 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 new page for modifying customer details such as name, email and phone number
  • โœ”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 4, 2022
Contributors

Prerequisites

Steps

Intro

MDK
MDK

Step 1 Create a new page for modifying customer data
โ€”

Regardless of whether your application is online or offline, you can allow users to modify data in the application.

For online applications, the changes are saved to the backend immediately.

For offline applications, the changes are stored locally until they are synced using an Upload action.

In this step, you will create a Section page with a Form Cell Section to contain the Form Cell controls. The page will provide only a subset of items available on the Customer Detail page. 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 Customers_Edit and click Finish to complete the page creation process.

    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 Update Customer.

    MDK
    MDK

  4. Now, you will add the fields (like first name, last name, phone & email address) that will be editable 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
    NameFCFirstName
    CaptionFirst Name
    Valueclick the link icon and bind it to FirstName property of the Customer entity

    MDK
    MDK

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

    PropertyValue
    NameFCLastName
    CaptionLast Name
    Valueclick the link icon and bind it to LastName property of the Customer entity

    MDK
    MDK

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

    PropertyValue
    NameFCPhone
    CaptionPhone
    KeyboardTypePhone
    Valueclick the link icon and bind it to PhoneNumber property of the Customer entity

    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
    NameFCEmail
    CaptionEmail
    KeyboardTypeEmail
    Valueclick the link icon and bind it to EmailAddress property of the Customer entity

    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 an email address, for example, it should display the email address keyboard.

Step 2 Add a cancel button on the Edit Customer page
+
Step 3 Store the updated data locally
+
Step 4 Navigate to the Customer Edit 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 a new page for modifying customer data 2. Add a cancel button on the Edit Customer page 3. Store the updated data locally 4. Navigate to the Customer Edit page 5. Deploy the Project 6. Run the Project

Learn more →