Configure Cloud Connector from Cloud Foundry to on-premise

0
7652

Dear SAPLearners, the goal of this post is to configure Cloud Connector from Cloud Foundry to on-premise

✋ Prerequisites

Before you start, make sure you have

  • Created a Cloud Foundry trial account on SAP Cloud Platform.
  • Cloud Connector is installed and initial setup is complete.

📚 Step-by-Step Procedure

➡️ SAP Cloud Connector Configurations

1. Firstly, login to SAP Cloud Connector http://localhost:8443.

2. Choose Connector and click on Add Subaccount button.

Cloud Connector Setup to SCP Cloud Foundry Environment Step1

3. On Add Subaccount window, add following details

RegionYour Subaccount API Endpoint region
SubaccountSubaccount ID
Display NameDescription of your choice
Login E-MailSCP Cloud Foundry login email
PasswordSCP Cloud Foundry login password
Cloud Connector Setup to SCP Cloud Foundry Environment Step2

4. Click on Save and after couple of seconds you will see the connection is successful to Cloud Foundry subaccount.

Cloud Connector Setup to SCP Cloud Foundry Environment Step16

5. After that, navigate to Cloud To On-Premise section and click on + icon to add on-premise ABAP system mapping details.

Cloud Connector Setup to SCP Cloud Foundry Environment Step3

Follow the steps as shown below

6. Back-end Type as ABAP System.

Cloud Connector Setup to SCP Cloud Foundry Environment Step4

7. Protocol as HTTP.

Cloud Connector Setup to SCP Cloud Foundry Environment Step5

8. Provide your on-premise ABAP system host and port details as Internal Host and Internal Port.

Cloud Connector Setup to SCP Cloud Foundry Environment Step6

9. The wizard will copy the previous Internal Host and Internal Port to virtual Host and Virtual Port, you can change the virtual name or continue with the same. But it is recommended to change.

Cloud Connector Setup to SCP Cloud Foundry Environment Step7

10. Principal Type as None.

Cloud Connector Setup to SCP Cloud Foundry Environment Step8

11. Host in Request Header as Use Virtual Host.

Cloud Connector Setup to SCP Cloud Foundry Environment Step9

12. Enter Description of your choice.

Cloud Connector Setup to SCP Cloud Foundry Environment Step10

13. Finally click Finish to complete the on-premise system mapping in Cloud Connector.

Cloud Connector Setup to SCP Cloud Foundry Environment Step11

14. Once system is added, check if the system is reachable by clicking on Check availability button on Actions.

Cloud Connector Setup to SCP Cloud Foundry Environment Step12

15. Most importantly is to add the resources, Click on + icon.

Cloud Connector Setup to SCP Cloud Foundry Environment Step13

16. SAP Cloud Connector configurations are completed now. 👏

➡️ New Destination in SCP Cloud Foundry

17. Now log-in to SAP Cloud Platform Cloud Foundry trial environment.

18. Navigate to Subaccount, choose Destination and then click on New Destination.

Cloud Connector Setup to SCP Cloud Foundry Environment Step15

19. Provide destination configuration details like below

NameDestination name
TypeHTTP
URLVirtual Host and Virtual Port
Proxy TypeOnPremise
AuthenticationBasicAuthentication
UserOn-premise ABAP system user name
PasswordOn-premise ABAP system password
Addition Properties
HTML5.DynamicDestination (you will not find in drop-down, but you areallowed to enter )true
HTML5.Timeout (you will not find in drop-down, but you are allowed to enter )60000
sap-clientOn-premise ABAP system client
WebIDEEnabledtrue
WebIDEUsageodata_abap, dev_abap
Cloud Connector Setup to SCP Cloud Foundry Environment Step14

20. At the end, click on Check Connection to test the destination, if you see below error.

Failure reason: “Could not check at the moment. Please try again later” . Your destination will still works. Its a known issue with Trail account.

You can actually test the destination by creating an application in SAP Business Application Studio.

Cloud Connector Setup to SCP Cloud Foundry Environment Step17

Conclusion

Congrats!! you have learnt the steps to configure Cloud Connector from Cloud Foundry to on-premise.

FAQs

Failure reason: “Could not check at the moment. Please try again later”

This destination error in Cloud Foundry trial environment is a know issues, you can skip this error and go head with development.

No Cloud Connector option in SCP Cloud Foundry Trial like in NEO.

Feature Set B cloud accounts does not offer Cloud Connector view yet. But connectivity will still work fine.

Continue Learning