Quantcast
Channel: SCN : Blog List - All Communities
Viewing all articles
Browse latest Browse all 2548

SAP Web IDE is not getting connected with SAPUI5 ABAP Repository(Reasons & Solutions)

$
0
0

Hello Fiori guys,

 

As you can see title of Blog. I am trying to connect back-end ABAP system to SAP HANA Cloud Platform. Somehow, i was successful yesterday but not able to re-connect today.

So i tried to do it whole once again but unfortunately not getting luck.

 

First of all i want to describe you guys,what i have done so far.

(1)

I have developer account(Trial) on SAP HANA Cloud Platform.

 

(2)

I have downloaded SAP HANA Cloud connector for windows(.msi). I installed it and ran it via http://localhost:8443

 

(3)

I have used user: Administrator/Password:manage

 

(4)

Initially, i have set-up my SAP HANA Cloud Platform Account to HANA Cloud Connector Account Dashboard. Like this...

Capture37.JPG

 

This how,my Local SAP HANA Cloud Connector is connected with my HANA trial Account on SAP HCP.

 

SAP HANA Cloud Connector1.png

 

As a next step:

We need to configure our ABAP (Back-end) system to our local SAP HANA Cloud Connector. So for that i just pressed on Access Control (2nd from Content Menu). So we can add Mapping Virtual to Internal System.Like this...

 

Capture38.JPG

I selected ABAP System as Back-end Type.

 

Capture39.JPG

 

Selected Protocol: HTTP (As per my scenario, i have to choose HTTP)

 

As next step: Connector will ask you for Internal Host and Port number of your ABAP Back-end.

 

Here i have provided my Host and Port also like this.

Capture40.JPG

In next step: Connector will ask you for Virtual Host and Port. As i referred some blogs, you can give any name for this virtual host but be careful to remember

that this virtual host and port number only will be known to SAP HANA Cloud Platform which we see later in this blog. So i have provided this as below...

 

Capture41.JPG

  In next step: connector will ask you for principle type: I have Selected NONE because i am using HTTP protocol,then after it will ask you for optional description about this virtual mapping. You can leave it blank.

 

After providing all the required details, in the end, summary will be presented. Like this...Capture42.JPG

Click on Finish and your ABAP Back-end system will get connected to SAP HANA Cloud Connector. And you will see below screen.

 

SAP HANA Cloud Connector2.png

Upto this step, you have just connected your back-end system to HANA Cloud Connector but to access resources of your back-end system, you will need to do some further steps also.

 

To perform those steps, just select your System and then you will see another table will come up down to your system mapping.Like this...

 

Capture43.JPG

Just press Add button Under Resources Available On xxxxxxxxx:1234

 

I just added /sap/bc/adt in pop-up box, selected Enable checkbox and also selected paths and all Sub-paths checkbox because i want to access all resources under /sap/bc/adt (though,there are no other sub-resources under this path) like this...

 

Capture45.JPG

  Just press on Save and your provided path will be added to Accessible Resource Roots of your Back-end System. If status is green, then believe it your resources are accessible, otherwise check it again.

 

Capture46.JPG

This way, i have added two more resource roots to access because in the end i want to Extend Standard Fiori App.

 

Resource i added (1) /sap/bc/adt, this will configure ABAP Development Tools to SAP Web IDE, this will be starting point for SAPUI5 ABAP Repository

                          (2) /sap/opu/odata, this will deliver OData Services of ABAP Back-end to front-end(SAP Web IDE)

                          (3) /sap/bc/ui5_ui5, i believe it will deliver UI5 BSP Application Framework to Front-end

 

At the end of this task, you should see this in green status otherwise check it out again...

 

Capture47.JPG

Now, Connector task has been completed successfully.

Here on, you will need to go to SAP HANA Cloud Platform Cockpit and Select Services from Left Panel...

 

Europe  Trial    p1941969836trial   Services   SAP HANA Cloud Platform Cockpit1.png

 

Search for Service: SAP HANA Cloud Connector under category: integration


Here you have to just check it, whether it is Enabled or not. If Enabled,then fine, you can perform the next step which is to select Connectivity from Left Panel

 

Check that you have set up back-end system in SAP HANA Cloud Connector is exposed here or not.




Europe  Trial    p1941969836trial   Connectivity   SAP HANA Cloud Platform Cockpit.png


So up to this, we have set up our back-end system to SAP HANA Cloud Cockpit. But wait we have do some more to expose to SAP Web IDE.


Go to Destinations from left Panel.


And Select New Destination...A configuration need to be done here like which protocol this Destination will use, What type Authentication this Destination needs and more...


So i have given inputs like below...


Europe  Trial    p1941969836trial   Destinations   SAP HANA Cloud Platform Cockpit2.png



Make sure, you provide, virtual Host and Port number for the Destination because HANA only recognise virtual host and port those we provided in SAP HANA Cloud Connector and select Proxy type OnPremise


But we need to provide some additional Properties to this Destination also. Just click on New Property.


Here we have to provide,three additional properties.

(1) WebIDESystem: AABL_PRODUCTION

(2) WebIDEEnabled: True

(3) WebIDEUsage: odata_abap,dev_abap,ui5_execute_abap


odata_abap for resources /sap/opu/odata (for the OData functionality of Gateway)

dev_abap for resources /sap/bc/adt (for extensibility scenarios and developing or deploying to SAPUI5 ABAP Repository which means entry point)

ui5_execute_abap for resource roots /sap/bc/ui5_ui5 (for executing SAPUI5 applications from the SAPUI5 ABAP Repository)


If have set-up these things, you can SAVE this destination and press Check Connection to see its working or not properly...


Capture48.JPG


So i think,99% connection is established. ( Why not 100%?)


To answer that, i am taking you guys to SAP Web IDE by going to Subsciptions from Left Panel.

Just click on webide


Then after Application url page will come up for SAP Web IDE. Simply click on Url. So that SAP Web IDE will start loading.


Here i am trying to import an Application from SAPUI5 ABAP Repository which i have connected with ABAP Back-end.

So it should show me the List containing all the UI5 Applications in my Back-end.


SAP Web IDE.png


So first of all, i should feel happy, i have successfully connected with Back-end as my destination is showing up as SAPUI5 ABAP Repository.


But my Back-end suddenly started giving me Error:


Capture49.JPG

Error:Failed to get the applications. Cannot deploy the application. An entry for the UI5 Repository was not found in the ABAP Development Tools Discovery Service. Install the missing software components on your ABAP system and try again. For more information refer to the SAP Web IDE documentation.


Why it started throwing this error? I don't know. Upto yesterday, it found every software components to find UI5 Repository in the ABAP Development Tools Discovery Service and today, some softwares are missing! I tried again and again for 5-6 times. But no luck found.


I invite all the Fiori Experts to look into this.


If anyone can suggest me anything, it would be great. I came to know that /sap/bc/adt is having some problem. But neither we can test it nor it has sub-elements.


Regards,

Pratik Shukla.




Viewing all articles
Browse latest Browse all 2548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>