Skip to Content
Technical Articles
Author's profile photo Daniel Van Leeuwen

Appendix I: SAP Cloud Connector

Previous   Home   Next

This tool enables the SAP Cloud Platform which is hosted on the internet to access URL’s that are internal to your corporate network. The following example demonstrates how it can be installed and used in a Fiori Client application by making a webpage hosted on my laptop at http:\\127.0.0.1:8080\sapui5\hello.html accessible to the Fiori Client that has registered with the SAP Cloud Platform server. Another common use would be to make an OData service that is only accessible in an internal network accessible to the SAP Cloud Platform server.

See also the Cloud Connector tutorial at SAP Cloud Platform Cloud Connector setup for secure on-premise connectivity and the documenation SAP Cloud Platform Cloud Connector.

  • Download and unzip from SAP Cloud Connector — Windows (Portable) to
    C:\SAP\CC
  • Run C:\SAP\CC\go.bat
  • Open your browser to https://127.0.0.1:8443
    The user name is Administrator and the initial password is manage.
  • Specify the connection options.
    The proxy host and port are only necessary if you require a proxy on your internal network.
    The subaccount can be seen on the following screen.
  • Under Cloud To On-Premise, create a mapping.

  • Next, configure the resources that are accessible for the mapping.
  • Now configure an application in the SAP Cloud Platform to make use of the cloud connector mapping. The proxy type of OnPremise indicates the Cloud Connector is being used.
  • Here are the contents of a page on my laptop being hosted from a webserver (SMP server, content at C:\SAP\MobilePlatform3\Server\webapps\sapui5\hello.html).
    <html>
        <head>
            <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
        </head>
        <h1>Hello World</h1>
    </html>

    Here is the Fiori Client opening the same page using the URL

    https://hcpms-i8XXXXtrial.hanatrial.ondemand.com/com.sap.fiori2?fioriURLIsSMP=true&appID=com.sap.fiori2

    Note that it is proxied through the SAP Cloud Platform so that I no longer need to be connected to my work’s internal network to access the page.

Previous   Home   Next

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Carlos Perdomo
      Carlos Perdomo

      Hello,

      I did all these steps but i have an Error "400 Bad HTTP request"