Set Up the Destination

Create a destination for SAP S/4HANA integration that simplifies API access, authentication, and networking. It allows services to focus on consuming the API and performing business logic without worrying about implementation.

Prerequisites

Before you generate the destination to your SAP S/4HANA system, you need to get familiar with the public RESTful APIs that are documented in the SAP Business Accelerator Hub:

Context

After registering the Cloud Connector, the next step is to create a destination. A destination serves as a means for services to access an API by handling the authentication and networking aspects. It is critical for any integration scenario whether it is SAP S/4HANA or SAP S/4HANA Cloud. By configuring a destination, you can simplify the process of accessing APIs by abstracting the underlying technical details. The destination takes care of handling authentication, network communication, and other necessary configurations.

Procedure

  1. Activate the relevant API using the corresponding communication arrangement. You also need to establish the desired method of authentication, which could be one of the following:
    • BasicAuthentication

    • NoAuthentication

    • OAuth2ClientCredentials

    • OAuth2JWTBearer

    • OAuthPassword

    • OAuth2RefreshToken

    • OAuth2SAMLBearerAssertion

    • OAuth2UserTokenExchange

    • PrincipalPropagation

    • SAMLAssertion

  2. The information about the method of authentication can be used to generate a destination inside the cockpit of the SAP BTP subaccount. For more information about how to establish a destination for SAP Build Process Automation, see Managing Destinations for the Action Project.
  3. Once you have created the destination, you need to add it to the SAP Build Process Automation tenant by adding it inside the control tower of the SAP Build lobby. For more information about how to add the destination to the SAP Build Process Automation tenant, see Managing Destinations.
    Here is an example destination based on API specifications, which is retrieved from the SAP Business Accelerator Hub:

    The example is based on the use case of integrating SAP Build Process Automation to business partner master data of an SAP S/4HANA system, to retrieve and process business partner data. For more information, see Extend and Integrate Your SAP S/4HANA Processes with SAP Build Process Automation.

  4. Enter the following details for the destination configuration:

    For the public edition:

    Destination Configuration

    Field

    Value

    Name

    Enter a name for the destination that you want to create.

    Type

    Keep the default value HTTP.

    Description

    Enter a meaningful description.

    URL

    https:// {host}:{port}//s4hanacloud/sap/opu/odata/sap/API_BUSINESS_PARTNER/

    Proxy Type

    Keep the default value Internet.

    Authentication

    Select the authentication type that you need for the connection. For a list of available authentication methods, see step 1.

    Additional Properties

    Field

    Value

    sap.applicationdevelopment.actions.enabled

    true

    sap.processautomation.enabled

    true

    Use default JDK truststore

    checked

    For the private edition:

    Destination Configuration

    Field

    Value

    Name

    Enter a name for the destination that you want to create.

    Type

    Keep the default value HTTP.

    Description

    Enter a meaningful description.

    URL

    https://{host}:{port}/sap/opu/odata/sap/API_BUSINESS_PARTNER

    Proxy Type

    Keep the default value On-Premise.

    Authentication

    Select the authentication type that you need for the connection. For a list of available authentication methods, see step 1.

    Additional Properties

    Field

    Value

    sap.applicationdevelopment.actions.enabled

    true

    sap.processautomation.enabled

    true

    Use default JDK truststore

    checked

Results

You have established the destination.

Next Steps

Go to Check Connection to see if your back-end system can be reached.