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

Populate Dropdown with Products

Populate a dropdown field with product data, so that you can provide the user with a choice field.

Overview

🎓 beginner 10 min. SAP BuildBeginnerSAP Business Technology PlatformSAP Build Apps

You will learn

  • โœ”How to create a data source to SAP data
  • โœ”How to make a call to an SAP backend API
  • โœ”How to populate a dropdown list from backend data
Daniel Wroblewski D Daniel Wroblewski April 22, 2025
Created by March 1, 2023
Contributors

Prerequisites

Prerequisites

Steps

Intro

Previously, we created an input box for the user to enter a material ID for the sales order. Now, we want to make a call to an SAP backend, retrieve product data, and populate a dropdown box so the user can choose from a list of products.

Step 1 Create a destination to the CAP service
โ€”

You will use a CAP service that we created for this tutorial, which contains an entity called Products, to population a dropdown box.

Follow the instructions in Step 4 of Set Up Prerequisites for SAP Build CodeJam.

Step 2 Create a data resource
+
Step 3 Create data variable
+
Step 4 Create dropdown for materials
+
Step 5 Run app
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Create a destination to the CAP service 2. Create a data resource 3. Create data variable 4. Create dropdown for materials 5. Run app

Learn more →