SAP Cloud SDK for JavaScript - v4.1.1
    Preparing search index...

    Function getDestinationFromServiceBinding

    • Tries to build a destination from a service binding with the given name. Throws an error if no services are bound at all, no service with the given name can be found, or the service type is not supported. The last error can be circumvent by using the second parameter to provide a custom function that transforms a service binding to a destination.

      Parameters

      Returns Promise<Destination>

      A destination.

      Copyright Ⓒ 2025 SAP SE or an SAP affiliate company. All rights reserved.