Quantcast
Channel: SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 789

Set up your SAP Web IDE on HANA Cloud Part 2

$
0
0

In this and the next Blogs I will show you how you can set up your SAP Web IDE on Hana Cloud. I cut this in 5 parts:

 

 

part 1

  • Opening SAP Web IDE for the first time
  • Entering the Git User Settings
part 2this part
  • Installing and configuring the HANA Cloud Connector
part 3
  • Connecting to the remote system
part 4
  • Test the SAP Web IDE
part 5
  • Deploy your application to the ABAP Repository
  • Test your application at the ABAP system

 

SAP Web IDE is ready, but we cannot connect to remote systems yet. In this part we will do the job. You need to configure the HANA Cloud Connector in order to connect the destinations, which you are going to define then, with the required systems.

 

 

 

Installing HANA Cloud Connector


At first, check the prerequisites o the HANA Cloud Connector!


Download the HANA Cloud connector from the link. If its possible use the plain version, not the Developer version.

13.png

For windows you have also an installer package (the one with the .msi extension). If you use it, you can skip the next step.

 

Once downloaded, unzip the connector and move the resulting folder in a suitable place on your local machine.


Go ins ide the extracted connector.

14.png

 

Run the file go.sh (or go.bat in case of Windows OS)

 

When the Connector is started you should see the “osgi>” prompt

15.png

Should you need to close the connector, you can simply type “close” in this console and the connector will be closed

 

Configuring the HANA Cloud Connector


Open browser and go to the link https://localhost:8443.

 

If you get the following error, click on Advanced. This error comes because you don’t have yet any valid certificate for this localhost server

16.png

 

Click on Proceed to localhost (unsafe)

17.png

 

Enter these credentials and click on Login

  • User Name: Administrator
  • Password: manage


Choose Master as the installation type since this is your first time you are installing the product and this is the only SAP HANA Cloud Connector in your system. Click on Apply

19.png

 

The first time you log in, you need to change the password. Do it and click on Save

20.png

 

Provide the following initial configuration and click on Apply. Proxy information is only needed if you are in a network that requires a proxy, like for example the SAP network.

ParameterValue
Landscape Hosthanatrial.ondemand.com
Account Name<your account name on the landscape host>. It can be found on the top left corner of your SAP HANA Cloud Cockpit
User Name<your user name on the landscape host> of SCN
Password<your password> of SCN *
HTTPS Proxy Hostonly if required (for SAP users is “proxy”)
HTTPS Proxy Portonly if required (for SAP users is “8080”)


*If you don’t know your SCN password, hereyou can reset it!

21.PNG


The landscape is configured. Now we need to add some mappings with the real systems. Click on Access Control

22.png

 

Click on Add… in the Mapping Virtual to Internal System section.

23.png


Enter the following information and click on Save.

What you are doing in this step is to assign to a real backend system a virtual name. In this way you can decouple the SAP Web IDE from the backend infrastructure. You can also create a virtual port, which of course can be different from the real one. In this case you will be using the same port. Let’s use as virtual server name “gm6.virtual” on the port 44333; this will be linked to the physical system GM6 with the URL https://ldcigm6.wdf.sap.corp:44333

NOTE: Please be aware that the server used in this document (GM6) is just an example, thus you may not have granted access to it.

 

ParameterValue
Virtual Hostgm6.virtual
Virtual Port44333
Internal Hostldcigm6.wdf.sap.corp
Internal Port44333
ProtocolHTTPS
Back-end TypeABAP System

24.png


Now you need to add all the resources related to the usages you want to have in your SAP Web IDE. These resources are the paths to be concatenated with the server URL in order to have the complete paths to the resources. For example, if you want to configure your SAP Web IDE to consume the OData service at the address https://ldcigm6.wdf.sap.corp:44333/sap/opu/odata and extend some SAP Fiori applications at the address https://ldcigm6.wdf.sap.corp:44333/sap/bc/adt, you just need to add the common part (the server name and the port) in the system mapping and all the different paths in the table of the accessible resources.

 

This is the list of the available resources that you can add as of today:

UsagePathDescription
odata_abap/sap/opu/odatafor the OData functionality of Gateway
odata_genfor generic OData functionality (service URL must be provided manually
in the New Project wizard)
ui5_execute_abap/sap/bc/ui5_ui5for executing SAPUI5 applications from the SAPUI5 ABAP Repository
dev_abap/sap/bc/adtfor extensibility scenarios and developing or deploying to SAPUI5 ABAP
Repository
bsp_execute_abap/sap/bc/bspFor fact sheets
odata_xs/sap/hbaFor HANA XS Odata services
plugin_repository/plugins/pluginrepository

for exposing external plugin repositories

 

In this case let’s add just the following resources: /sap/opu/odata, /sap/bc/adt and /sap/bc/ui5_ui5, because for that server we want to use OData services, extend applications and also execute some SAPUI5 applications.

 

So click on Add… in the Resources section

25.png

Add the first resource and click on Save

 

ParameterValue
URL Path/sap/opu/odata
Access PolicyPath and all sub-paths

26.png

 

Do the same for /sap/bc/adt and for /sap/bc/ui5_ui5 and click on Save

27.png28.png


At the end you should have this configuration

29.png

 

Your SAP HANA Cloud connector has been properly configured. The status is green and it’s connected

30.png

 

You have successfully installed and configured your SAP HANA Cloud Connector.

 

In the next part we will connect to a remote system.

 

 

More Web IDE stuff published by Technology RIG

 

 

See you

Claudi


Viewing all articles
Browse latest Browse all 789

Trending Articles