Configure SAP Build Process Automation Destinations

Configure destinations for SAP Build Process Automation in your subaccount to connect applications with SAP Build Process Automation. Follow the procedure to configure the destinations manually or use the booster for automatic creation.

Prerequisites

You’ve created a service instance and service key for SAP Build Process Automation. Note down the service key credentials for configuring the destination. For more information, see Create a Service Instance.

Context

You will need the following destinations:
  • sap_process_automation_service: This destination is required for technical scenarios. For example, scenarios where there are no logged-in user details available, specifically in ready-to-use live process content packages such as https://api.sap.com/package/com.sap.content.managesalesorders/ to invoke business rules using the decisions API or by calling workflow APIs.

  • sap_process_automation_service_user_access: This destination is required to connect client applications with principal propagation to SAP Build Process Automation, specifically HTML5 apps served through managed app routers like SAP Build Work Zone and applications built with SAP Build Apps.

You can configure the destinations in either of the following ways:
  • Using the Booster: The SAP Build Process Automation booster execution automatically creates both sap_process_automation_service_user_access and sap_process_automation_service destinations.

    To run the booster, access your global account page in the SAP BTP cockpit, and choose Boosters from the navigation pane. On the SAP Build Process Automation tile, choose Start.

  • Configuring Manually: You can manually configure by creating the destinations based on the created service instance.

    Follow the procedure to configure the destinations manually.

Procedure

  1. Navigate to the SAP BTP subaccount that contains your active SAP Build Process Automation subscription.
  2. Choose Start of the navigation pathConnectivity Next navigation step DestinationsEnd of the navigation path, and then Create Destination.
  3. Choose Blank Template, and enter the following details:
    • For sap_process_automation_service destination:

      Field

      Value

      Name

      sap_process_automation_service

      Type

      HTTP

      Proxy Type

      Internet

      Authentication

      OAuth2ClientCredentials

      URL

      <”endpoints”.”api”>

      Client ID

      <"uaa"."clientid”>

      Client Secret

      <"uaa"."clientsecret”>

      Token Service URL

      <"uaa"."url">/oauth/token

    • For sap_process_automation_service_user_access destination:

      Field

      Value

      Name

      sap_process_automation_service_user_access

      Type

      HTTP

      Proxy Type

      Internet

      Authentication

      OAuth2JWTBearer

      URL

      <”endpoints”.”api”>

      Client ID

      <"uaa"."clientid”>

      Client Secret

      <"uaa"."clientsecret”>

      Token Service URL

      <"uaa"."url">/oauth/token

      You need to configure the following additional attributes for sap_process_automation_service_user_access destination. You can copy the values of these properties from the service key of the service instance.

      Additional Properties for sap_process_automation_service_user_access destination

      Field

      Value

      endpoints

      endpoints (copy the whole JSON structure including ‘{‘ and ‘}’)

      html5-apps-repo

      html5-apps-repo (copy the whole JSON structure including ‘{‘ and ‘}’)

      saasregistryenabled

      saasregistryenabled copied from the service key

      sap.cloud.service

      com.sap.spa.processautomation

      sap.cloud.service.alias

      spa

      HTML5.DynamicDestination

      true

      CEP.EnableCsrfProtection

      true

      AppgyverEnabled

      true

      MobileEnabled

      true

      For more information about how to create an HTTP destination for OAuth 2.0 Authentication (client credentials), see Create HTTP Destinations.

  4. Save your changes.
  5. To check the availability of the destination connection, choose Check Connection.