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

Setup Environment for S/4HANA Sales Order API

Create destination and environment variables for action configuration

Overview

🎓 beginner 10 min. SAP Build Process AutomationBeginnerSAP Business Technology Platform

You will learn

  • โœ”How to create destination in SAP BTP Cockpit to connect to backend system
  • โœ”How to add destination based environment variable in business process for action configuration
Archana Shukla A Archana Shukla March 29, 2024
Created by January 16, 2023
Contributors

Prerequisites

Steps

Intro

IMPORTANT: Please refer to sample Sales Order Management (MI06) in the SAP Build Store if you face any issues while following the tutorials. To retrieve the sample refer to step 5 of Run Business Process.

To configure action in business process, you will need to create an environment variable to access the destination that is created in SAP Business Technology Platform. A destination is needed to connect to the S/4HANA system to execute the APIs. The destination-based environment variable will be used to configure the action of the business process.

Step 1 Add destination in SAP Build Process Automation
โ€”

  1. To add the destination in your BTP Cockpit, do the following:

    • Download the S4HANACloud destination file.
    • Go to Connectivity > Destinations in your BTP Cockpit.
    • Click Import Destination and select the downloaded destination file.
    • Update the URL, User and the Password based on your S4HANACloud setup.
    • Save the changed.

    Destination
    Destination

    Note that there is a property sap.processautomation.enabled added to the destination. The destinations which have this property set as true can be discovered and added in SAP Build Process Automation.

  2. Set this destination, created in BTP cockpit, in SAP Build Process Automation. To do so:

    • Open SAP Build development workbench.
    • Click Control Tower > Destinations.

    Destination
    Destination

    • Click New Destination.
    • From Add Destination pop-up, select S4HANACloud destination.
    • Click Add to add a new destination in SAP Build Process Automation.

    Destination
    Destination

    A new destination will be added.

    Destination
    Destination

    This destination will be associated with the environment variable while deploying the business process.

    You have successfully created and configured the destination to be accessed while configuring business process.

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 1
1. Add destination in SAP Build Process Automation

Learn more →