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 ↗
Logout

Fetch Data from Public API to Your App

Configure your application to fetch records from a public API when a food item is scanned.

Overview

🎓 beginner 15 min. SAP Build AppsBeginnerMobileSAP Business Technology PlatformSAP Build

You will learn

  • How to fetch records from a public API
  • How to configure data variables
Daniel Wroblewski D Daniel Wroblewski November 25, 2024
Created by November 5, 2024
Contributors

Prerequisites

Steps

Step 1 Remove alert component

As you no longer need your application to send an alert, as this was just used as a test, you need to remove this flow function.

  1. Open your app, and go to User Interface tab.

  2. Click the Scan button, then click Add Logic for Button1.

    Show logic for button 1
    Show logic for button 1

    If the logic canvas is already open, you can just click the button.

  3. Select the Alert flow function, and click the X.

    Remove alert component
    Remove alert component

Step 2 Add Get Record component
+
Step 3 Edit binding
+
Step 4 Add data variables
+
Step 5 Store API data in data variable
+

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. Remove alert component 2. Add Get Record component 3. Edit binding 4. Add data variables 5. Store API data in data variable

Learn more →