Maintain the Destination to the External Server

The SAP Cloud Platform Workflow APIs are called using REST. Each connected service instance of SAP Cloud Platform Workflow needs an RFC destination to an external server (type "G").

Procedure

  1. Access the Implementation Guide by choosing Start of the navigation pathTools Next navigation step Customizing Next navigation step IMG Next navigation step Execute ProjectEnd of the navigation path. Then choose the Display SAP Reference IMG button. Alternatively, enter transaction code SPRO.
  2. In the Implementation Guide, choose Start of the navigation pathApplication Server Next navigation step Business Management Next navigation step SAP Cloud Platform Integration Next navigation step SAP Cloud Platform Workflow IntegrationEnd of the navigation path. Then choose the activity icon for Maintain Destination to External Server. Alternatively, enter transaction code SM59.
  3. To create a destination, choose Create.
    1. In the Create Destination window that open, enter the following data:

      Field

      Data

      Destination

      Enter enter a name for the RFC destination. The name is predefined.

      Connection Type

      Select G HTTP connection to external server.

    2. Choose Continue.
    3. In the Description 1 field, enter text, for example, the ID of the connected SAP Cloud Platform subaccount.
    4. Choose Enter.
    5. On the Technical Settings tab, enter the correct target system settings:

      Field

      Data

      Host

      Hostname of the API URL of the workflow service, available from $.endpoints.workflow_rest_url of the service key in the SAP Cloud Platform cockpit, If no dedicated port is mentioned, use port 443.

      For more information, see Determine Service Configuration Parameters.

      Port

      Port of the API URL of the workflow service, available from $.endpoints.workflow_rest_url of the service key in the SAP Cloud Platform cockpit, If no dedicated port is mentioned, use port 443

      Path Prefix

      /workflow-service

    6. On the Logon & Security tab, select the following.

      In the Logon section, select Do not use a user and Do not send logon ticket.

      In the Security Options section, set SSL to active and choose the PSE (Cert. List) that contains the SSL certificate offered by your SAP Cloud Platform system.

    7. Save your changes.
  4. To test the connection, choose Connection Test.
  5. If you are facing SSL handshake issues between your SAP backend system and your SAP Cloud Platform subaccount, proceed as follows to configure a trust between both systems:
    1. In a web browser, for example, Google Chrome, enter the hostname and port of the API URL of the workflow service, available from $.endpoints.workflow_rest_url of the service key in the SAP Cloud Platform Cockpit. If no dedicated port is mentioned, use port 443.
    2. When using Google Chrome, choose the lock symbol in the browser.
    3. Choose Certificate.
    4. In the new window, choose the Details tab, then export the certificate to a file in Base-64 format.
    5. On the Certification Path tab, double-click a certificate one level higher.
    6. Repeat the steps d) and e) until you reach the root certificate.
    7. Start transaction STRUST.

      For more information, see STRUST Configuration.

    8. From the tree on the left, choose the PSE that you have configured above in the step for Security Options.
    9. For all certificates that you have exported from the browser, choose Import Certificate to import the downloaded certificate, and then choose Add to Certificate List.
    10. Save your changes.