Setup Environment for S/4HANA Business Partner API
Create destination in BTP cockpit and set it in SAP Build Process Automation
Overview
You will learn
- to add destination in SAP BTP Cockpit to connect to backend system
- to set destination in SAP Build Process Automation
Prerequisites
Steps
Intro
IMPORTANT: Please refer to sample Sales Order Management (MI07) in the SAP Build Store if you face any issues while following the tutorials. To retrieve the sample refer to step 3 of Deploy and Test the Project.
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.
To add the destination in your BTP Cockpit, do the following:
- Download the S4 Business Partner 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 changes.

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.
Now that your destination is created in SAP BTP cockpit, you may set it in SAP Build Process Automation. To do so:
- Open SAP Build development workbench.
- Click Control Tower > Destinations.

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

Destination A new destination will be added.

Destination This destination will then 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.