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

9 - Create Action to Get Data from SAP S/4HANA Cloud

Create an action project to retrieve SAP S/4HANA Cloud data and call the action from your business process, as part of the SAP Build CodeJam.

Overview

🎓 beginner 30 min. SAP BuildBeginnerSAP Build AppsSAP Build Process Automation

You will learn

  • How to create destination to SAP S/4HANA Cloud demo APIs on SAP Business Accelerator Hub
  • How to create and publish an action project
  • How to consume an action from a process
Rekha DR R Rekha DR December 4, 2025
Created by December 12, 2024
Contributors

Prerequisites

Prerequisites

Steps

Step 1 Create destination for SAP S/4HANA Cloud

In order to access the demo SAP S/4HANA Cloud business partner API on the SAP Business Accelerator Hub, you need to create a destination.

  1. Go to the SAP Business Accelerator Hub and log in (or create a free account)

    SAP Business Accelerator Hub
    SAP Business Accelerator Hub

    On the top-right, click your avatar, and then click Settings.

    Settings
    Settings

    Click Show API Key.

    Show API Key
    Show API Key

    Save the key for later.

    Save API Key
    Save API Key

    The last time we tested, the Copy Key and Close button did not work, so you may have to select the key and copy it manually.

  2. Download the destination definition.

    Click S4HANA-Hub-Public, and then click the download button.

    Download
    Download

  3. In the SAP BTP cockpit, click Connectivity > Destinations.

    Open destinations
    Open destinations

  4. Click Import Destination, and then select the S4HANA-Hub-Public file you downloaded.

    New destination
    New destination

    The draft destination will be filled in except for your API key.

    Add destination
    Add destination

    Enter the key (you saved earlier from the SAP Business Accelerator Hub).

    Click Save.

If you click Check Connection, you will get a 401 response code. This is OK, and you have successfully created the destination.

To learn more about the SAP Business Accelerator Hub and how to set up destinations for any API, watch this video from Daniel Wroblewski.

Step 2 Enable destination in processes
+
Step 3 Create action project
+
Step 4 Configure action project
+
Step 5 Release and publish action
+
Step 6 Add action to process
+
Step 7 Modify app to send business partner
+
Step 8 Test 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 8
1. Create destination for SAP S/4HANA Cloud 2. Enable destination in processes 3. Create action project 4. Configure action project 5. Release and publish action 6. Add action to process 7. Modify app to send business partner 8. Test app

Learn more →